Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01155/0.01156, allocations: 348.6 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.599/3.599, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003578/0.003578, allocations: 233.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5551/0.5551, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006594/0.0006598, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.08783, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.4635/0.5514, allocations: 72.51 MB / 0.6776 GB, free: 40.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06006/0.6115, allocations: 15.13 MB / 0.6923 GB, free: 25.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02149/0.6331, allocations: 367 kB / 0.6927 GB, free: 24.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0172/0.6503, allocations: 3.546 MB / 0.6961 GB, free: 21.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04347/0.6939, allocations: 12.37 MB / 0.7082 GB, free: 8.727 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009307/0.7032, allocations: 1.158 MB / 0.7094 GB, free: 7.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1139/0.8172, allocations: 52.09 MB / 0.7602 GB, free: 3.406 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.361/1.178, allocations: 7.058 MB / 0.7671 GB, free: 52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005337/1.184, allocations: 2.036 MB / 0.7691 GB, free: 51.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00727/1.191, allocations: 2.933 MB / 0.772 GB, free: 51.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001897/1.193, allocations: 183.6 kB / 0.7721 GB, free: 51.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004656/1.198, allocations: 0.8904 MB / 0.773 GB, free: 51.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005376/1.203, allocations: 2.473 MB / 0.7754 GB, free: 51.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003332/1.206, allocations: 1.068 MB / 0.7765 GB, free: 51.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/1.219, allocations: 7.116 MB / 0.7834 GB, free: 51.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.219, allocations: 0 / 0.7834 GB, free: 51.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.936e-06/1.219, allocations: 0.9062 kB / 0.7834 GB, free: 51.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004024/1.22, allocations: 0 / 0.7834 GB, free: 51.49 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.03107/1.251, allocations: 6.592 MB / 0.7899 GB, free: 48.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/1.251, allocations: 7.375 kB / 0.7899 GB, free: 48.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02768/1.278, allocations: 2.322 MB / 0.7921 GB, free: 47.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02023/1.299, allocations: 5.623 MB / 0.7976 GB, free: 45.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004426/1.299, allocations: 319.8 kB / 0.7979 GB, free: 45.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002667/1.302, allocations: 413.4 kB / 0.7983 GB, free: 45.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03897/1.341, allocations: 11.38 MB / 0.8094 GB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003303/1.341, allocations: 63.89 kB / 0.8095 GB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002071/1.343, allocations: 181.2 kB / 0.8097 GB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003354/1.347, allocations: 1.492 MB / 0.8111 GB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04809/1.395, allocations: 9.818 MB / 0.8207 GB, free: 31.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09905/1.494, allocations: 45.26 MB / 0.8649 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04241/1.537, allocations: 8.201 MB / 0.8729 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01208/1.549, allocations: 5.371 MB / 0.8782 GB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03829/1.587, allocations: 13.29 MB / 0.8912 GB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/1.587, allocations: 67.78 kB / 0.8912 GB, free: 4.312 MB / 442.7 MB Notification: Performance of pre-optimization done (n=283): time 1.766e-05/1.587, allocations: 0.7969 kB / 0.8912 GB, free: 4.312 MB / 442.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!