Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") 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_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 109.9 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 185.9 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2104/0.2104, allocations: 44.2 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3691, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01882/0.388, allocations: 16.84 MB / 0.536 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.4033, allocations: 5.464 MB / 0.5414 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004815/0.4081, allocations: 135.1 kB / 0.5415 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009736/0.4179, allocations: 4.67 MB / 0.5461 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007907/0.4259, allocations: 2.526 MB / 0.5485 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003778/0.4297, allocations: 1.311 MB / 0.5498 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01324/0.443, allocations: 8.403 MB / 0.558 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008177/0.4512, allocations: 5.521 MB / 0.5634 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005403/0.4566, allocations: 2.59 MB / 0.5659 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005701/0.4624, allocations: 3.206 MB / 0.5691 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002893/0.4653, allocations: 0.4922 MB / 0.5696 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004843/0.4702, allocations: 1.272 MB / 0.5708 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005063/0.4753, allocations: 2.888 MB / 0.5736 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007299/0.4827, allocations: 3.054 MB / 0.5766 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01323/0.4959, allocations: 9.204 MB / 0.5856 GB, free: 8.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.496, allocations: 0 / 0.5856 GB, free: 8.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.496, allocations: 0 / 0.5856 GB, free: 8.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003629/0.4963, allocations: 0 / 0.5856 GB, free: 8.238 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02233/0.5187, allocations: 7.332 MB / 0.5927 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.5188, allocations: 12.03 kB / 0.5928 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.5328, allocations: 1.982 MB / 0.5947 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/0.5483, allocations: 5.691 MB / 0.6003 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004426/0.5488, allocations: 326.8 kB / 0.6006 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/0.5507, allocations: 415.7 kB / 0.601 GB, free: 8.324 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02693/0.5777, allocations: 11.01 MB / 0.6117 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000345/0.5781, allocations: 63.53 kB / 0.6118 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/0.5797, allocations: 179.9 kB / 0.6119 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003624/0.5833, allocations: 1.718 MB / 0.6136 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/0.6079, allocations: 9.543 MB / 0.6229 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07114/0.679, allocations: 45.19 MB / 0.6671 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02305/0.7021, allocations: 7.864 MB / 0.6747 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006597/0.7088, allocations: 5.376 MB / 0.68 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02164/0.7304, allocations: 13.3 MB / 0.693 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.666e-05/0.7306, allocations: 64.8 kB / 0.693 GB, free: 7.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=283): time 7.955e-06/0.7306, allocations: 0 / 0.693 GB, free: 7.91 MB / 0.545 GB 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! Error: Internal error SimCode DAEmode: The model ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint could not be translated