Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.781/1.781, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1041, allocations: 44.51 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.3794/0.4835, allocations: 70.53 MB / 379.5 MB, free: 7.191 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05387/0.5374, allocations: 16.66 MB / 396.2 MB, free: 6.742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02138/0.5589, allocations: 368.2 kB / 396.5 MB, free: 6.684 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01324/0.5722, allocations: 3.633 MB / 400.2 MB, free: 4.949 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03986/0.6121, allocations: 9.923 MB / 410.1 MB, free: 1.973 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008273/0.6204, allocations: 1.186 MB / 411.3 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01059/0.631, allocations: 3.766 MB / 415 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01904/0.6501, allocations: 9.477 MB / 424.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004878/0.6551, allocations: 1.75 MB / 426.3 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004958/0.6601, allocations: 2.05 MB / 428.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001469/0.6616, allocations: 228 kB / 428.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005188/0.6668, allocations: 1.35 MB / 429.9 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004697/0.6716, allocations: 2.562 MB / 432.5 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.6741, allocations: 1.339 MB / 433.8 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01581/0.6899, allocations: 9.515 MB / 443.3 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.69, allocations: 0 / 443.3 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.69, allocations: 0 / 443.3 MB, free: 14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003953/0.6904, allocations: 0 / 443.3 MB, free: 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: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.02785/0.7183, allocations: 7.14 MB / 450.4 MB, free: 7.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.72e-05/0.7184, allocations: 8.031 kB / 450.5 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02047/0.7388, allocations: 2.62 MB / 453.1 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/0.7529, allocations: 4.522 MB / 457.6 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006094/0.7536, allocations: 434.5 kB / 458 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003376/0.757, allocations: 0.5654 MB / 458.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05731/0.8143, allocations: 16.85 MB / 475.4 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003546/0.8148, allocations: 63.38 kB / 475.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002478/0.8173, allocations: 267.4 kB / 475.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007221/0.8245, allocations: 2.545 MB / 478.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05207/0.8766, allocations: 14.43 MB / 492.7 MB, free: 12.58 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.7111/1.588, allocations: 63.03 MB / 0.5427 GB, free: 120.9 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03923/1.627, allocations: 7.614 MB / 0.5502 GB, free: 120.2 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04065/1.668, allocations: 16.18 MB / 0.566 GB, free: 113.1 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.51e-05/1.668, allocations: 66.44 kB / 0.566 GB, free: 113 MB / 426.8 MB Notification: Performance of pre-optimization done (n=260): time 7.955e-06/1.668, allocations: 0 / 0.566 GB, free: 113 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!