Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004154/0.00416, allocations: 367.5 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.957/3.957, allocations: 388.9 MB / 405.6 MB, free: 47.88 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003612/0.003611, allocations: 232.6 kB / 451 MB, free: 2.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.786/0.786, allocations: 80.01 MB / 0.5627 GB, free: 5.996 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004779, allocations: 8 kB / 0.6265 GB, free: 4.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1181, allocations: 54.89 MB / 0.6801 GB, free: 13.53 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.4758/0.5939, allocations: 110.6 MB / 0.7881 GB, free: 7.645 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.07391/0.6679, allocations: 23.17 MB / 0.8107 GB, free: 2.219 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02922/0.6972, allocations: 0.5416 MB / 0.8112 GB, free: 1.676 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02233/0.7196, allocations: 5.56 MB / 0.8167 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06839/0.788, allocations: 18.78 MB / 0.835 GB, free: 9.234 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01273/0.8008, allocations: 1.999 MB / 0.837 GB, free: 7.234 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.5087/1.31, allocations: 47.78 MB / 0.8836 GB, free: 38.1 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05278/1.362, allocations: 22.31 MB / 0.9054 GB, free: 36.75 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009599/1.372, allocations: 3.55 MB / 0.9089 GB, free: 36.75 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01329/1.385, allocations: 5.963 MB / 0.9147 GB, free: 36.73 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004181/1.39, allocations: 473.1 kB / 0.9152 GB, free: 36.73 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/1.401, allocations: 1.503 MB / 0.9166 GB, free: 36.72 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01259/1.414, allocations: 5.629 MB / 0.9221 GB, free: 36.72 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006274/1.42, allocations: 2.603 MB / 0.9247 GB, free: 36.69 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0284/1.449, allocations: 19.76 MB / 0.944 GB, free: 21.55 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/1.449, allocations: 0 / 0.944 GB, free: 21.55 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.377e-06/1.449, allocations: 1.641 kB / 0.944 GB, free: 21.55 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009258/1.45, allocations: 0 / 0.944 GB, free: 21.55 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.05907/1.509, allocations: 12.7 MB / 0.9564 GB, free: 9.906 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/1.509, allocations: 8.031 kB / 0.9564 GB, free: 9.898 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08654/1.596, allocations: 6.071 MB / 0.9623 GB, free: 4.074 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03025/1.626, allocations: 8.758 MB / 0.9708 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00128/1.627, allocations: 0.889 MB / 0.9717 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008396/1.636, allocations: 1.516 MB / 0.9732 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1286/1.764, allocations: 32.12 MB / 1.005 GB, free: 4.312 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001029/1.765, allocations: 108.7 kB / 1.005 GB, free: 4.254 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006988/1.772, allocations: 0.5401 MB / 1.005 GB, free: 4.105 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01749/1.79, allocations: 4.356 MB / 1.009 GB, free: 0.5898 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1032/1.893, allocations: 26.69 MB / 1.036 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9633/2.856, allocations: 111.1 MB / 1.144 GB, free: 140.6 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07047/2.927, allocations: 12.77 MB / 1.156 GB, free: 139.9 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01485/2.942, allocations: 6.185 MB / 1.162 GB, free: 138.9 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006485/2.948, allocations: 4.826 MB / 1.167 GB, free: 134.8 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/2.949, allocations: 77.05 kB / 1.167 GB, free: 134.7 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=435): time 8.906e-06/2.949, allocations: 3.906 kB / 1.167 GB, free: 134.7 MB / 0.5574 GB Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -10! There are 19 unassigned equations and 9 potential states. Error: Internal error - IndexReduction.selectDummyDerivatives2new failed! Error: Internal error - IndexReduction.processComps4New failed! Error: Internal error - IndexReduction.dynamicStateSelectionWork failed!