Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.62/1.62, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003476, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1221, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.31/0.4321, allocations: 70.51 MB / 343.2 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04765/0.4798, allocations: 16.62 MB / 359.8 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01539/0.4953, allocations: 375 kB / 360.1 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01302/0.5083, allocations: 3.62 MB / 363.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03865/0.547, allocations: 9.931 MB / 373.7 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009041/0.5561, allocations: 1.201 MB / 374.9 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01274/0.5689, allocations: 3.762 MB / 378.7 MB, free: 2.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02635/0.5953, allocations: 9.453 MB / 388.1 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005161/0.6006, allocations: 1.741 MB / 389.9 MB, free: 7.562 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005902/0.6065, allocations: 2.052 MB / 391.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001499/0.6081, allocations: 227.9 kB / 392.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005044/0.6131, allocations: 1.338 MB / 393.5 MB, free: 3.941 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005343/0.6185, allocations: 2.564 MB / 396 MB, free: 1.371 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002789/0.6213, allocations: 1.337 MB / 397.4 MB, free: 24 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01596/0.6373, allocations: 9.512 MB / 406.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.6374, allocations: 0 / 406.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6374, allocations: 4 kB / 406.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003404/0.6378, allocations: 0 / 406.9 MB, free: 6.484 MB / 330.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.02589/0.6637, allocations: 7.136 MB / 414 MB, free: 15.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.6637, allocations: 8.031 kB / 414 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01643/0.6802, allocations: 2.619 MB / 416.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.6939, allocations: 4.528 MB / 421.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00057/0.6945, allocations: 427.1 kB / 421.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00252/0.6971, allocations: 0.5699 MB / 422.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05054/0.7476, allocations: 16.8 MB / 439 MB, free: 5.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000272/0.748, allocations: 63.45 kB / 439 MB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001291/0.7493, allocations: 259.8 kB / 439.3 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006498/0.7558, allocations: 2.549 MB / 441.8 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4638/1.22, allocations: 14.42 MB / 456.3 MB, free: 120.3 MB / 362.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.1047/1.324, allocations: 62.94 MB / 0.507 GB, free: 63.19 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0359/1.36, allocations: 7.627 MB / 0.5145 GB, free: 55.41 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03358/1.394, allocations: 16.16 MB / 0.5303 GB, free: 38.89 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.394, allocations: 60.5 kB / 0.5303 GB, free: 38.82 MB / 362.8 MB Notification: Performance of pre-optimization done (n=260): time 7.203e-06/1.394, allocations: 0 / 0.5303 GB, free: 38.82 MB / 362.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!