Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001981/0.001981, allocations: 199.9 kB / 16.76 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.664/1.664, allocations: 226.5 MB / 244 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00099/0.0009899, allocations: 92.66 kB / 296.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4835/0.4835, allocations: 44.82 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003712, allocations: 11.98 kB / 466 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5793/0.5797, allocations: 62.95 MB / 0.5165 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.0808/0.6605, allocations: 75.61 MB / 0.5903 GB, free: 12.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06447/0.7251, allocations: 15.78 MB / 0.6057 GB, free: 13.89 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03124/0.7564, allocations: 379 kB / 0.6061 GB, free: 13.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02104/0.7775, allocations: 3.81 MB / 0.6098 GB, free: 9.688 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04869/0.8262, allocations: 11.38 MB / 0.6209 GB, free: 14.26 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0107/0.837, allocations: 1.209 MB / 0.6221 GB, free: 13.05 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.7203/1.557, allocations: 119.7 MB / 0.7391 GB, free: 40.93 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/1.568, allocations: 7.545 MB / 0.7464 GB, free: 35.58 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004348/1.573, allocations: 2.088 MB / 0.7485 GB, free: 34.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004333/1.577, allocations: 2.917 MB / 0.7513 GB, free: 32.08 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007105/1.578, allocations: 180 kB / 0.7515 GB, free: 31.9 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/1.581, allocations: 1.025 MB / 0.7525 GB, free: 31.1 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002556/1.583, allocations: 2.461 MB / 0.7549 GB, free: 29.26 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003303/1.587, allocations: 2.47 MB / 0.7573 GB, free: 28.33 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007022/1.594, allocations: 7.099 MB / 0.7642 GB, free: 22.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/1.594, allocations: 4 kB / 0.7642 GB, free: 22.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.594, allocations: 0 / 0.7642 GB, free: 22.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002574/1.594, allocations: 0 / 0.7642 GB, free: 22.17 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.01457/1.608, allocations: 6.042 MB / 0.7701 GB, free: 16.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/1.608, allocations: 8.031 kB / 0.7701 GB, free: 16.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/1.62, allocations: 1.974 MB / 0.7721 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/1.633, allocations: 5.407 MB / 0.7774 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/1.633, allocations: 325.4 kB / 0.7777 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002105/1.635, allocations: 418.4 kB / 0.7781 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/1.657, allocations: 11.03 MB / 0.7888 GB, free: 1.699 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002315/1.658, allocations: 58.73 kB / 0.7889 GB, free: 1.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005244/1.658, allocations: 177.9 kB / 0.7891 GB, free: 1.613 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002788/1.661, allocations: 1.728 MB / 0.7907 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/1.685, allocations: 9.556 MB / 0.8001 GB, free: 9.426 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0804/1.765, allocations: 45.39 MB / 0.8444 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02349/1.789, allocations: 7.908 MB / 0.8521 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008258/1.797, allocations: 5.364 MB / 0.8574 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02589/1.823, allocations: 13.29 MB / 0.8703 GB, free: 9.164 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.646e-05/1.823, allocations: 64.8 kB / 0.8704 GB, free: 9.09 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=283): time 8.636e-06/1.823, allocations: 0 / 0.8704 GB, free: 9.09 MB / 0.5574 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!