Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.602/1.602, allocations: 171.1 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003962, allocations: 8 kB / 233.8 MB, free: 0.9648 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08142/0.08184, allocations: 38.78 MB / 272.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.3491/0.431, allocations: 70.52 MB / 343.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.05336/0.4845, allocations: 16.62 MB / 359.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01836/0.5029, allocations: 367.1 kB / 360.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01544/0.5184, allocations: 3.635 MB / 363.7 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04983/0.5683, allocations: 9.915 MB / 373.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009629/0.578, allocations: 1.209 MB / 374.8 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0132/0.5913, allocations: 3.77 MB / 378.6 MB, free: 8.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02707/0.6184, allocations: 9.455 MB / 388.1 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/0.6231, allocations: 1.748 MB / 389.8 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004821/0.628, allocations: 2.06 MB / 391.9 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001519/0.6295, allocations: 224 kB / 392.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004704/0.6343, allocations: 1.338 MB / 393.4 MB, free: 9.594 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004697/0.639, allocations: 2.568 MB / 396 MB, free: 7.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002883/0.642, allocations: 1.333 MB / 397.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01616/0.6582, allocations: 9.508 MB / 406.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6582, allocations: 0 / 406.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.6582, allocations: 0 / 406.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004042/0.6587, allocations: 0 / 406.8 MB, free: 12.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2354 * Number of variables: 2354 Notification: Performance of Generate backend data structure: time 0.02793/0.6866, allocations: 7.144 MB / 414 MB, free: 4.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.6867, allocations: 15.97 kB / 414 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/0.7031, allocations: 2.608 MB / 416.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.452/1.155, allocations: 4.518 MB / 421.1 MB, free: 110.8 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005116/1.156, allocations: 424.7 kB / 421.5 MB, free: 110.7 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002718/1.158, allocations: 0.5693 MB / 422.1 MB, free: 110.5 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04928/1.208, allocations: 16.85 MB / 439 MB, free: 103.4 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002694/1.208, allocations: 63.66 kB / 439 MB, free: 103.4 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/1.209, allocations: 260.9 kB / 439.3 MB, free: 103.2 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005723/1.215, allocations: 2.539 MB / 441.8 MB, free: 102.4 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04333/1.258, allocations: 14.44 MB / 456.2 MB, free: 88.76 MB / 346.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1148/1.373, allocations: 62.94 MB / 0.507 GB, free: 24.73 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03718/1.41, allocations: 7.626 MB / 0.5145 GB, free: 16.95 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03939/1.45, allocations: 16.15 MB / 0.5302 GB, free: 444 kB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.332e-05/1.45, allocations: 60.5 kB / 0.5303 GB, free: 376 kB / 346.8 MB Notification: Performance of pre-optimization done (n=260): time 8.195e-06/1.45, allocations: 0 / 0.5303 GB, free: 376 kB / 346.8 MB Warning: Following variables have attribute stateSelect=StateSelect.never, but cant be statically chosen. 1: joint.phi They could not be forced to be statically selected as dummys, this could lead to errors during simulation, please use -d=bltdump for more information. Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -1! There are 5 unassigned equations and 4 potential states. Error: Internal error - IndexReduction.selectDummyDerivatives2new failed! Error: Internal error - IndexReduction.processComps4New failed! Error: Internal error - IndexReduction.dynamicStateSelectionWork failed!