Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 110.4 kB / 21.19 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 209.2 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.607/1.607, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 46.97 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01991/0.3693, allocations: 14.57 MB / 0.5761 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.3827, allocations: 5.268 MB / 0.5812 GB, free: 276 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.386, allocations: 163.1 kB / 0.5814 GB, free: 112 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009598/0.3956, allocations: 4.513 MB / 0.5858 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007822/0.4034, allocations: 2.517 MB / 0.5882 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.4066, allocations: 1.311 MB / 0.5895 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0172/0.4238, allocations: 8.656 MB / 0.598 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00988/0.4337, allocations: 4.268 MB / 0.6021 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0072/0.4409, allocations: 2.629 MB / 0.6047 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008021/0.4489, allocations: 3.427 MB / 0.608 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0023/0.4512, allocations: 0.4922 MB / 0.6085 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00465/0.4559, allocations: 1.256 MB / 0.6098 GB, free: 2.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005687/0.4616, allocations: 2.922 MB / 0.6126 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006328/0.4679, allocations: 2.343 MB / 0.6149 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01748/0.4854, allocations: 9.251 MB / 0.6239 GB, free: 4.328 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4854, allocations: 0 / 0.6239 GB, free: 4.328 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4854, allocations: 0 / 0.6239 GB, free: 4.328 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000334/0.4857, allocations: 0 / 0.6239 GB, free: 4.328 MB / 462.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.0222/0.5079, allocations: 7.281 MB / 0.631 GB, free: 12.98 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.508, allocations: 8.031 kB / 0.631 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/0.5207, allocations: 1.987 MB / 0.633 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0148/0.5355, allocations: 5.459 MB / 0.6383 GB, free: 5.441 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004328/0.536, allocations: 359.3 kB / 0.6387 GB, free: 5.078 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/0.5377, allocations: 407.8 kB / 0.639 GB, free: 4.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02556/0.5632, allocations: 11.14 MB / 0.6499 GB, free: 8.938 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002315/0.5635, allocations: 59.59 kB / 0.65 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005439/0.564, allocations: 179.9 kB / 0.6502 GB, free: 8.703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003554/0.5676, allocations: 1.725 MB / 0.6518 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02312/0.5907, allocations: 9.504 MB / 0.6611 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08576/0.6765, allocations: 40.98 MB / 0.7011 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02372/0.7002, allocations: 7.613 MB / 0.7086 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007992/0.7082, allocations: 5.033 MB / 0.7135 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0241/0.7323, allocations: 11.49 MB / 0.7247 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.349e-05/0.7323, allocations: 64.8 kB / 0.7248 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 6.222e-06/0.7323, allocations: 0 / 0.7248 GB, free: 11.42 MB / 0.5606 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 " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.157182590002776] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w', 'revolute4.phi', 'revolute4.w'] 1.2369202819972998 1.247738879 0.759464217 Calling exit ...