Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002652/0.002652, allocations: 369.3 kB / 15.96 MB, free: 6.199 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 4.019/4.019, allocations: 388.9 MB / 405.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005267/0.005267, allocations: 224.2 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6141/0.6141, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006405/0.0006411, allocations: 9.031 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.1003, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.4132/0.5135, allocations: 72.56 MB / 0.751 GB, free: 8.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04586/0.5594, allocations: 15.17 MB / 0.7658 GB, free: 14.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01869/0.5782, allocations: 365 kB / 0.7661 GB, free: 14.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01545/0.5937, allocations: 3.537 MB / 0.7696 GB, free: 11.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04534/0.6391, allocations: 12.36 MB / 0.7816 GB, free: 1.562 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007302/0.6464, allocations: 1.154 MB / 0.7828 GB, free: 420 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1162/0.7627, allocations: 52.09 MB / 0.8336 GB, free: 12.24 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01581/0.7786, allocations: 7.074 MB / 0.8405 GB, free: 5.098 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005283/0.7839, allocations: 2.036 MB / 0.8425 GB, free: 3.055 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007034/0.791, allocations: 2.933 MB / 0.8454 GB, free: 116 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001413/0.7925, allocations: 184 kB / 0.8456 GB, free: 15.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/0.7964, allocations: 0.8857 MB / 0.8464 GB, free: 15.05 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004602/0.8011, allocations: 2.482 MB / 0.8489 GB, free: 12.56 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002439/0.8036, allocations: 1.061 MB / 0.8499 GB, free: 11.49 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.8159, allocations: 7.119 MB / 0.8568 GB, free: 4.352 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.816, allocations: 3.984 kB / 0.8568 GB, free: 4.348 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.816, allocations: 0 / 0.8568 GB, free: 4.348 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003021/0.8163, allocations: 0 / 0.8568 GB, free: 4.348 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.02746/0.8438, allocations: 6.588 MB / 0.8633 GB, free: 13.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.8439, allocations: 8.031 kB / 0.8633 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02525/0.8691, allocations: 2.325 MB / 0.8656 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02131/0.8905, allocations: 5.615 MB / 0.871 GB, free: 5.652 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005108/0.8911, allocations: 317.3 kB / 0.8713 GB, free: 5.336 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/0.8934, allocations: 415.6 kB / 0.8717 GB, free: 4.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04157/0.935, allocations: 11.4 MB / 0.8829 GB, free: 8.961 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003623/0.9355, allocations: 63.45 kB / 0.8829 GB, free: 8.898 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001748/0.9372, allocations: 179.9 kB / 0.8831 GB, free: 8.723 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003625/0.9409, allocations: 1.491 MB / 0.8846 GB, free: 7.227 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0381/0.979, allocations: 9.825 MB / 0.8942 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4282/1.407, allocations: 45.3 MB / 0.9384 GB, free: 149.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03951/1.447, allocations: 8.2 MB / 0.9464 GB, free: 147.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01038/1.457, allocations: 5.36 MB / 0.9516 GB, free: 144.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03256/1.49, allocations: 13.3 MB / 0.9646 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/1.49, allocations: 68.03 kB / 0.9647 GB, free: 133.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=283): time 6.923e-06/1.49, allocations: 0 / 0.9647 GB, free: 133.4 MB / 490.7 MB Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -2! There are 2 unassigned equations and 0 potential states. Error: Internal error - IndexReduction.selectDummyDerivatives2new failed! Error: Internal error - IndexReduction.processComps4New failed! Error: Internal error - IndexReduction.dynamicStateSelectionWork failed!