Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00106/0.00106, allocations: 106.3 kB / 17.09 MB, free: 6.008 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.001045/0.001045, allocations: 198.2 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2106/0.2106, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.89 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1183, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01838/0.1367, allocations: 16.98 MB / 0.5051 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.1484, allocations: 5.441 MB / 0.5105 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003507/0.152, allocations: 131.6 kB / 0.5106 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008574/0.1606, allocations: 4.665 MB / 0.5151 GB, free: 480 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007135/0.1678, allocations: 2.474 MB / 0.5176 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.171, allocations: 1.318 MB / 0.5188 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0118/0.1828, allocations: 7.735 MB / 0.5264 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2857/0.4686, allocations: 5.536 MB / 0.5318 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00556/0.4742, allocations: 2.604 MB / 0.5343 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005969/0.4802, allocations: 3.223 MB / 0.5375 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001853/0.482, allocations: 0.4932 MB / 0.538 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/0.4858, allocations: 1.281 MB / 0.5392 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004267/0.4901, allocations: 2.895 MB / 0.5421 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005822/0.496, allocations: 3.06 MB / 0.545 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.5102, allocations: 9.203 MB / 0.554 GB, free: 5.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5102, allocations: 0 / 0.554 GB, free: 5.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5102, allocations: 0.5 kB / 0.554 GB, free: 5.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000381/0.5106, allocations: 3.531 kB / 0.554 GB, free: 5.941 MB / 414.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.02697/0.5376, allocations: 7.177 MB / 0.561 GB, free: 2.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5377, allocations: 11.64 kB / 0.5611 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.5486, allocations: 1.954 MB / 0.563 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.5624, allocations: 5.87 MB / 0.5687 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/0.5628, allocations: 322.9 kB / 0.569 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002213/0.5651, allocations: 421.5 kB / 0.5694 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02522/0.5903, allocations: 11.01 MB / 0.5802 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002169/0.5905, allocations: 64.02 kB / 0.5802 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005197/0.5911, allocations: 174.6 kB / 0.5804 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003176/0.5943, allocations: 1.725 MB / 0.5821 GB, free: 4.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/0.6164, allocations: 9.54 MB / 0.5914 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06858/0.685, allocations: 45.14 MB / 0.6355 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02171/0.7067, allocations: 7.871 MB / 0.6431 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007258/0.714, allocations: 5.37 MB / 0.6484 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02425/0.7383, allocations: 13.3 MB / 0.6614 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/0.7384, allocations: 56.8 kB / 0.6614 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=283): time 5.8e-06/0.7384, allocations: 0 / 0.6614 GB, free: 2.789 MB / 0.4981 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