When I load an XML file with o_solimp defined and then directly call mj_saveXML to save the model to another file, the o_solimp becomes s_solimp, which doesn't seem to be accepted by the parser. This looks like a typo in the code?
That was a bug indeed, thanks for catching it. It is now fixed in the internal code base. The fix all appear in the next release.