Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 178.8 kB / 17.39 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 223.5 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008044/0.0008044, allocations: 88.98 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3251/0.3251, allocations: 43.55 MB / 363.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003524, allocations: 19.94 kB / 432.6 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1116, allocations: 58.85 MB / 491.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.2881/0.3998, allocations: 75.7 MB / 0.5539 GB, free: 12.38 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03656/0.4364, allocations: 15.73 MB / 0.5693 GB, free: 1.641 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01836/0.4548, allocations: 379.7 kB / 0.5696 GB, free: 1.578 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01319/0.468, allocations: 3.808 MB / 0.5733 GB, free: 220 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03938/0.5074, allocations: 11.42 MB / 0.5845 GB, free: 10.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00582/0.5133, allocations: 1.197 MB / 0.5857 GB, free: 9.359 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.08355/0.5969, allocations: 65.1 MB / 0.6492 GB, free: 8.527 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01129/0.6082, allocations: 7.577 MB / 0.6566 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004519/0.6127, allocations: 2.102 MB / 0.6587 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00475/0.6175, allocations: 2.941 MB / 0.6616 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009894/0.6186, allocations: 184 kB / 0.6617 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.6214, allocations: 1.026 MB / 0.6627 GB, free: 10.61 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002883/0.6243, allocations: 2.486 MB / 0.6652 GB, free: 8.117 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003564/0.6278, allocations: 2.48 MB / 0.6676 GB, free: 5.617 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2546/0.8825, allocations: 7.122 MB / 0.6745 GB, free: 73.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.8825, allocations: 0 / 0.6745 GB, free: 73.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.8825, allocations: 0.9375 kB / 0.6745 GB, free: 73.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003028/0.8828, allocations: 0 / 0.6745 GB, free: 73.96 MB / 490.7 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.01476/0.8976, allocations: 6.027 MB / 0.6804 GB, free: 71.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8976, allocations: 7 kB / 0.6804 GB, free: 71.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.9099, allocations: 1.975 MB / 0.6824 GB, free: 71.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/0.9233, allocations: 5.722 MB / 0.6879 GB, free: 70.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.9237, allocations: 322.7 kB / 0.6883 GB, free: 70.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/0.9254, allocations: 417.2 kB / 0.6886 GB, free: 70.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.9494, allocations: 11.03 MB / 0.6994 GB, free: 68.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004175/0.9499, allocations: 61.89 kB / 0.6995 GB, free: 68.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001829/0.9517, allocations: 176.5 kB / 0.6996 GB, free: 68.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00375/0.9555, allocations: 1.727 MB / 0.7013 GB, free: 68.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02221/0.9777, allocations: 9.559 MB / 0.7107 GB, free: 68.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05948/1.037, allocations: 45.42 MB / 0.755 GB, free: 36.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01992/1.057, allocations: 7.91 MB / 0.7628 GB, free: 30.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005521/1.063, allocations: 5.36 MB / 0.768 GB, free: 27.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01919/1.082, allocations: 13.29 MB / 0.781 GB, free: 16.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/1.082, allocations: 64.8 kB / 0.781 GB, free: 16.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=283): time 6.362e-06/1.082, allocations: 0 / 0.781 GB, free: 16.84 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!