Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.nextTimeEvent|rh1.1.|rh1.2.|rh1.3.|rv1.1.|rv1.2.|rv1.3.|rv2.1.|rv2.2.|rv2.3.|rh2.1.|rh2.2.|rh2.3.|r1.frame_b.r_0.1.|r1.frame_b.r_0.2.|r1.frame_b.r_0.3.|r1.frame_b.f.1.|r1.frame_b.f.2.|r1.frame_b.f.3.|r1.frame_b.t.1.|r1.frame_b.t.2.|r1.frame_b.t.3.|rod1.frame_b.r_0.1.|rod1.frame_b.r_0.2.|rod1.frame_b.r_0.3.|rod1.frame_b.f.1.|rod1.frame_b.f.2.|rod1.frame_b.f.3.|rod1.frame_b.t.1.|rod1.frame_b.t.2.|rod1.frame_b.t.3.|rod2.frame_b.r_0.1.|rod2.frame_b.r_0.2.|rod2.frame_b.r_0.3.|rod2.frame_b.f.1.|rod2.frame_b.f.2.|rod2.frame_b.f.3.|rod2.frame_b.t.1.|rod2.frame_b.t.2.|rod2.frame_b.t.3.|r2.frame_b.r_0.1.|r2.frame_b.r_0.2.|r2.frame_b.r_0.3.|r2.frame_b.f.1.|r2.frame_b.f.2.|r2.frame_b.f.3.|r2.frame_b.t.1.|r2.frame_b.t.2.|r2.frame_b.t.3.|bodyShape.frame_b.r_0.1.|bodyShape.frame_b.r_0.2.|bodyShape.frame_b.r_0.3.|bodyShape.frame_b.f.1.|bodyShape.frame_b.f.2.|bodyShape.frame_b.f.3.|bodyShape.frame_b.t.1.|bodyShape.frame_b.t.2.|bodyShape.frame_b.t.3.|bodyShape.frameTranslation.frame_b.r_0.1.|bodyShape.frameTranslation.frame_b.r_0.2.|bodyShape.frameTranslation.frame_b.r_0.3.|bodyShape.frameTranslation.frame_b.f.1.|bodyShape.frameTranslation.frame_b.f.2.|bodyShape.frameTranslation.frame_b.f.3.|bodyShape.frameTranslation.frame_b.t.1.|bodyShape.frameTranslation.frame_b.t.2.|bodyShape.frameTranslation.frame_b.t.3.|r3.frame_b.r_0.1.|r3.frame_b.r_0.2.|r3.frame_b.r_0.3.|r3.frame_b.f.1.|r3.frame_b.f.2.|r3.frame_b.f.3.|r3.frame_b.t.1.|r3.frame_b.t.2.|r3.frame_b.t.3.|r4.frame_b.r_0.1.|r4.frame_b.r_0.2.|r4.frame_b.r_0.3.|r4.frame_b.f.1.|r4.frame_b.f.2.|r4.frame_b.f.3.|r4.frame_b.t.1.|r4.frame_b.t.2.|r4.frame_b.t.3.|rod3.frame_b.r_0.1.|rod3.frame_b.r_0.2.|rod3.frame_b.r_0.3.|rod3.frame_b.f.1.|rod3.frame_b.f.2.|rod3.frame_b.f.3.|rod3.frame_b.t.1.|rod3.frame_b.t.2.|rod3.frame_b.t.3.|deg2rad1.y.1.|deg2rad1.y.2.|deg2rad1.y.3.|combiTimeTable.y.1.|combiTimeTable.y.2.|combiTimeTable.y.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadModel(ModelicaTest): time 2.205/2.205, allocations: 234.9 MB / 250.5 MB, free: 9.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004315, allocations: 12 kB / 314.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 54.88 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.0525/0.3298, allocations: 38.46 MB / 407.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02404/0.3538, allocations: 9.725 MB / 417.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007259/0.3612, allocations: 203.4 kB / 417.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006392/0.3676, allocations: 2.049 MB / 419.6 MB, free: 8.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01931/0.3869, allocations: 5.564 MB / 425.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003436/0.3904, allocations: 0.7097 MB / 425.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005282/0.3957, allocations: 2.366 MB / 428.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007335/0.4031, allocations: 3.884 MB / 432.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002712/0.4059, allocations: 1.312 MB / 433.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.4086, allocations: 1.456 MB / 434.9 MB, free: 8.738 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005969/0.4092, allocations: 144 kB / 435.1 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.4116, allocations: 0.9323 MB / 436 MB, free: 7.664 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002366/0.414, allocations: 1.617 MB / 437.6 MB, free: 6.043 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.4152, allocations: 0.8699 MB / 438.5 MB, free: 5.164 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008432/0.4237, allocations: 5.448 MB / 443.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.554e-06/0.4237, allocations: 4 kB / 443.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.764e-06/0.4237, allocations: 0 / 443.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000144/0.4239, allocations: 0 / 443.9 MB, free: 15.7 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1594 * Number of variables: 1594 Notification: Performance of Generate backend data structure: time 0.01284/0.4368, allocations: 4.85 MB / 448.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4368, allocations: 12.03 kB / 448.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009581/0.4464, allocations: 2.201 MB / 451 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00668/0.4532, allocations: 2.719 MB / 453.7 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.4535, allocations: 246 kB / 454 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.4546, allocations: 315.7 kB / 454.3 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/0.4809, allocations: 11.44 MB / 465.7 MB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.4811, allocations: 43.59 kB / 465.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006641/0.4818, allocations: 155.8 kB / 465.9 MB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00407/0.4859, allocations: 2.131 MB / 468 MB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.32/0.8059, allocations: 10.01 MB / 478 MB, free: 87.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05756/0.8635, allocations: 44.33 MB / 0.5101 GB, free: 51.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/0.8808, allocations: 5.978 MB / 0.516 GB, free: 45.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01518/0.896, allocations: 9.396 MB / 0.5251 GB, free: 35.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01361/0.9097, allocations: 3.517 MB / 0.5286 GB, free: 31.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=211): time 6.477e-06/0.9097, allocations: 0 / 0.5286 GB, free: 31.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=282): time 0.1401/1.05, allocations: 33.84 MB / 0.5616 GB, free: 13.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.05, allocations: 158.5 kB / 0.5618 GB, free: 13.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00851/1.059, allocations: 4.283 MB / 0.566 GB, free: 9.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006641/1.059, allocations: 73.64 kB / 0.566 GB, free: 9.352 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003717/1.063, allocations: 3.128 MB / 0.5691 GB, free: 6.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001789/1.065, allocations: 1.031 MB / 0.5701 GB, free: 5.203 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006693/1.066, allocations: 131.8 kB / 0.5702 GB, free: 5.078 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006069/1.066, allocations: 0.5838 MB / 0.5708 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007579/1.074, allocations: 3.273 MB / 0.574 GB, free: 1.207 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/1.085, allocations: 6.847 MB / 0.5807 GB, free: 8.605 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.095, allocations: 4.663 MB / 0.5852 GB, free: 3.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/1.095, allocations: 39.94 kB / 0.5853 GB, free: 3.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=858) (initialization): time 0.0334/1.129, allocations: 12.24 MB / 0.5972 GB, free: 7.621 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/1.129, allocations: 91.42 kB / 0.5973 GB, free: 7.527 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000194/1.129, allocations: 124 kB / 0.5974 GB, free: 7.406 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/1.139, allocations: 2.652 MB / 0.6 GB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006834/1.146, allocations: 1.454 MB / 0.6014 GB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04344/1.19, allocations: 22.29 MB / 0.6232 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006429/1.196, allocations: 427.4 kB / 0.6236 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.198, allocations: 387.9 kB / 0.624 GB, free: 11.69 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 568 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (755): * Single equations (assignments): 747 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.005658/1.203, allocations: 2.224 MB / 0.6261 GB, free: 9.453 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.204, allocations: 406.7 kB / 0.6265 GB, free: 9.051 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0214/1.226, allocations: 7.805 MB / 0.6342 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.867e-05/1.226, allocations: 28 kB / 0.6342 GB, free: 1.184 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-05/1.226, allocations: 12 kB / 0.6342 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.035e-05/1.226, allocations: 11.95 kB / 0.6342 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0531/1.279, allocations: 14.46 MB / 0.6483 GB, free: 2.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.706e-05/1.279, allocations: 8.031 kB / 0.6483 GB, free: 2.645 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00588/1.285, allocations: 379.4 kB / 0.6487 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.295/1.58, allocations: 2.421 MB / 0.6511 GB, free: 166.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000689/1.581, allocations: 48.19 kB / 0.6511 GB, free: 166.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03737/1.618, allocations: 22.12 MB / 0.6727 GB, free: 156.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.399e-06/1.618, allocations: 11.45 kB / 0.6727 GB, free: 156.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/1.637, allocations: 7.924 MB / 0.6805 GB, free: 153.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002826/1.64, allocations: 0.9856 MB / 0.6814 GB, free: 153.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/1.641, allocations: 55.25 kB / 0.6815 GB, free: 153.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003107/1.644, allocations: 218.4 kB / 0.6817 GB, free: 153.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/1.645, allocations: 188.3 kB / 0.6819 GB, free: 153.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003766/1.646, allocations: 69.47 kB / 0.6819 GB, free: 153.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005139/1.651, allocations: 2.697 MB / 0.6846 GB, free: 152 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.241e-06/1.651, allocations: 0 / 0.6846 GB, free: 152 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007332/1.658, allocations: 1.368 MB / 0.6859 GB, free: 150.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (185): * Single equations (assignments): 176 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.002095/1.66, allocations: 0.4998 MB / 0.6864 GB, free: 150.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01744/1.678, allocations: 8.739 MB / 0.6949 GB, free: 142.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.678, allocations: 4 kB / 0.6949 GB, free: 142.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00737/1.685, allocations: 3.928 MB / 0.6988 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.688, allocations: 425.2 kB / 0.6992 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/1.711, allocations: 14.1 MB / 0.7129 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004933/1.716, allocations: 3.663 MB / 0.7165 GB, free: 121.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/1.718, allocations: 320.3 kB / 0.7168 GB, free: 121.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.852e-06/1.718, allocations: 0 / 0.7168 GB, free: 121.4 MB / 490.7 MB Notification: Performance of Templates: time 0.5555/2.273, allocations: 142.2 MB / 0.8557 GB, free: 151.3 MB / 490.7 MB