Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08721/0.08758, allocations: 44.52 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.363/0.4506, allocations: 70.53 MB / 379.6 MB, free: 7.875 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04024/0.4909, allocations: 16.66 MB / 396.3 MB, free: 7.359 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01553/0.5065, allocations: 372.9 kB / 396.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.5182, allocations: 3.623 MB / 400.2 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03548/0.5537, allocations: 9.928 MB / 410.2 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006671/0.5605, allocations: 1.188 MB / 411.4 MB, free: 2.234 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008563/0.5691, allocations: 3.757 MB / 415.1 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0171/0.5862, allocations: 9.453 MB / 424.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004096/0.5904, allocations: 1.747 MB / 426.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004148/0.5945, allocations: 2.05 MB / 428.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.5956, allocations: 228 kB / 428.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/0.5996, allocations: 1.342 MB / 429.9 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003719/0.6034, allocations: 2.565 MB / 432.5 MB, free: 7.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.6053, allocations: 1.34 MB / 433.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.6197, allocations: 9.51 MB / 443.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6198, allocations: 4 kB / 443.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6198, allocations: 1.203 kB / 443.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003159/0.6201, allocations: 0 / 443.3 MB, free: 14.3 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: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.02523/0.6453, allocations: 7.141 MB / 450.5 MB, free: 7.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.6454, allocations: 9.125 kB / 450.5 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/0.6616, allocations: 2.618 MB / 453.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.675, allocations: 4.522 MB / 457.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004834/0.6755, allocations: 430.8 kB / 458.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002396/0.6779, allocations: 0.5695 MB / 458.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04859/0.7265, allocations: 16.8 MB / 475.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002774/0.7268, allocations: 71.36 kB / 475.5 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001296/0.7282, allocations: 260 kB / 475.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006331/0.7345, allocations: 2.544 MB / 478.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04731/0.7818, allocations: 14.43 MB / 492.7 MB, free: 12.47 MB / 394.7 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.6352/1.417, allocations: 63.03 MB / 0.5427 GB, free: 121 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03713/1.454, allocations: 7.615 MB / 0.5502 GB, free: 120.4 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03735/1.492, allocations: 16.18 MB / 0.566 GB, free: 113.2 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/1.492, allocations: 59.28 kB / 0.566 GB, free: 113.1 MB / 426.8 MB Notification: Performance of pre-optimization done (n=260): time 8.396e-06/1.492, allocations: 0 / 0.566 GB, free: 113.1 MB / 426.8 MB 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!