Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002662/0.002667, allocations: 347.8 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.527/3.527, allocations: 341.5 MB / 358.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003655/0.003655, allocations: 213.2 kB / 397.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4866/0.4866, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004599, allocations: 12 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08843/0.08892, allocations: 48.71 MB / 0.6068 GB, free: 4.613 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.4964/0.5854, allocations: 110.5 MB / 0.7147 GB, free: 1.934 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07257/0.658, allocations: 23.14 MB / 0.7373 GB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02538/0.6834, allocations: 0.5454 MB / 0.7378 GB, free: 10.33 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02049/0.704, allocations: 5.568 MB / 0.7433 GB, free: 4.738 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06299/0.767, allocations: 18.76 MB / 0.7616 GB, free: 1.898 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3981/1.165, allocations: 2.02 MB / 0.7636 GB, free: 8.805 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1327/1.298, allocations: 47.79 MB / 0.8102 GB, free: 1.664 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05964/1.358, allocations: 22.3 MB / 0.832 GB, free: 2.344 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01116/1.369, allocations: 3.558 MB / 0.8355 GB, free: 16 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0173/1.386, allocations: 5.96 MB / 0.8413 GB, free: 11.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004108/1.39, allocations: 480 kB / 0.8418 GB, free: 11.35 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009528/1.4, allocations: 1.481 MB / 0.8432 GB, free: 10.1 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01291/1.413, allocations: 5.635 MB / 0.8487 GB, free: 5.98 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007189/1.42, allocations: 2.598 MB / 0.8513 GB, free: 5.145 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03314/1.453, allocations: 19.75 MB / 0.8706 GB, free: 4.043 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.454, allocations: 0 / 0.8706 GB, free: 4.043 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.106e-06/1.454, allocations: 4 kB / 0.8706 GB, free: 4.039 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008695/1.454, allocations: 0 / 0.8706 GB, free: 4.039 MB / 458.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.04873/1.503, allocations: 12.7 MB / 0.883 GB, free: 8.395 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/1.503, allocations: 8.031 kB / 0.883 GB, free: 8.387 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0938/1.597, allocations: 5.965 MB / 0.8888 GB, free: 2.656 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03965/1.637, allocations: 8.735 MB / 0.8973 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001542/1.638, allocations: 0.8806 MB / 0.8982 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01053/1.649, allocations: 1.527 MB / 0.8997 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1176/1.767, allocations: 32.12 MB / 0.931 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007196/1.767, allocations: 115.8 kB / 0.9311 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00547/1.773, allocations: 0.5269 MB / 0.9317 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0175/1.79, allocations: 4.343 MB / 0.9359 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9272/2.718, allocations: 26.69 MB / 0.962 GB, free: 200.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2023/2.92, allocations: 111 MB / 1.07 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08548/3.006, allocations: 12.76 MB / 1.083 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0199/3.026, allocations: 6.187 MB / 1.089 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008978/3.035, allocations: 4.821 MB / 1.094 GB, free: 94.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/3.035, allocations: 85.5 kB / 1.094 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=435): time 1.76e-05/3.035, allocations: 0.5469 kB / 1.094 GB, free: 94.75 MB / 0.5105 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!