Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadModel(ModelicaTest): time 1.873/1.873, allocations: 209.3 MB / 224.8 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004326, allocations: 8 kB / 282.5 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3479, allocations: 48.71 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.117/0.4649, allocations: 38.4 MB / 369.6 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02471/0.4897, allocations: 9.728 MB / 379.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008596/0.4983, allocations: 203.5 kB / 379.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006458/0.5048, allocations: 2.038 MB / 381.6 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01907/0.5239, allocations: 5.568 MB / 387.1 MB, free: 6.477 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.5275, allocations: 0.7214 MB / 387.8 MB, free: 5.754 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007209/0.5347, allocations: 2.347 MB / 390.2 MB, free: 3.398 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01151/0.5463, allocations: 3.884 MB / 394.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003972/0.5503, allocations: 1.304 MB / 395.4 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/0.5546, allocations: 1.448 MB / 396.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.5558, allocations: 144 kB / 397 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.5584, allocations: 0.9323 MB / 397.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002465/0.5609, allocations: 1.621 MB / 399.5 MB, free: 10 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.5622, allocations: 0.8621 MB / 400.4 MB, free: 9.129 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008698/0.571, allocations: 5.444 MB / 405.8 MB, free: 3.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.571, allocations: 0 / 405.8 MB, free: 3.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.08e-06/0.571, allocations: 0 / 405.8 MB, free: 3.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001375/0.5712, allocations: 0 / 405.8 MB, free: 3.676 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01268/0.5839, allocations: 4.801 MB / 410.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5839, allocations: 8.031 kB / 410.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009443/0.5934, allocations: 2.216 MB / 412.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006472/0.5999, allocations: 2.711 MB / 415.6 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.6002, allocations: 230 kB / 415.8 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009663/0.6012, allocations: 315.7 kB / 416.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02597/0.6271, allocations: 11.42 MB / 427.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/0.6273, allocations: 51.52 kB / 427.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006035/0.628, allocations: 155.8 kB / 427.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004009/0.632, allocations: 2.119 MB / 429.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02645/0.6585, allocations: 10.02 MB / 439.9 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07402/0.7325, allocations: 44.28 MB / 484.1 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2741/1.007, allocations: 5.937 MB / 490.1 MB, free: 130.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01611/1.023, allocations: 9.294 MB / 499.4 MB, free: 125.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01425/1.037, allocations: 3.505 MB / 0.4911 GB, free: 124.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=209): time 7.685e-06/1.037, allocations: 0 / 0.4911 GB, free: 124.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=283): time 0.1623/1.199, allocations: 34.32 MB / 0.5246 GB, free: 98.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/1.2, allocations: 162.5 kB / 0.5248 GB, free: 98.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007554/1.207, allocations: 4.267 MB / 0.5289 GB, free: 94.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000946/1.208, allocations: 69.7 kB / 0.529 GB, free: 94.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003951/1.212, allocations: 3.128 MB / 0.532 GB, free: 91.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002225/1.214, allocations: 1.041 MB / 0.5331 GB, free: 90 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/1.216, allocations: 128 kB / 0.5332 GB, free: 89.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006518/1.216, allocations: 0.5837 MB / 0.5337 GB, free: 89.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01048/1.227, allocations: 3.343 MB / 0.537 GB, free: 85.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009489/1.236, allocations: 6.921 MB / 0.5438 GB, free: 77.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008073/1.245, allocations: 4.733 MB / 0.5484 GB, free: 72.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.245, allocations: 36 kB / 0.5484 GB, free: 72.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02772/1.272, allocations: 12.37 MB / 0.5605 GB, free: 60.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/1.273, allocations: 93.72 kB / 0.5606 GB, free: 60 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/1.273, allocations: 124 kB / 0.5607 GB, free: 59.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008977/1.282, allocations: 2.665 MB / 0.5633 GB, free: 57.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006318/1.288, allocations: 1.454 MB / 0.5647 GB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0342/1.322, allocations: 22.28 MB / 0.5865 GB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00638/1.329, allocations: 439.3 kB / 0.5869 GB, free: 32.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.33, allocations: 390.5 kB / 0.5873 GB, free: 32.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,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.004858/1.335, allocations: 2.22 MB / 0.5895 GB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008852/1.336, allocations: 398.8 kB / 0.5898 GB, free: 29.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01837/1.354, allocations: 7.98 MB / 0.5976 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.96e-05/1.354, allocations: 28 kB / 0.5977 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.904e-05/1.354, allocations: 8.469 kB / 0.5977 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-05/1.354, allocations: 15.95 kB / 0.5977 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06003/1.415, allocations: 14.71 MB / 0.612 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.493e-05/1.415, allocations: 4 kB / 0.612 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005184/1.42, allocations: 387.4 kB / 0.6124 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01604/1.436, allocations: 2.423 MB / 0.6148 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/1.437, allocations: 51.98 kB / 0.6148 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2986/1.736, allocations: 22.13 MB / 0.6364 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/1.736, allocations: 8.922 kB / 0.6365 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03882/1.775, allocations: 8.083 MB / 0.6443 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005609/1.78, allocations: 0.9986 MB / 0.6453 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001993/1.782, allocations: 46.23 kB / 0.6454 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005971/1.788, allocations: 215.2 kB / 0.6456 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001578/1.79, allocations: 192 kB / 0.6458 GB, free: 123.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007613/1.791, allocations: 81.89 kB / 0.6458 GB, free: 123.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009619/1.801, allocations: 2.688 MB / 0.6485 GB, free: 122.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.738e-06/1.801, allocations: 0 / 0.6485 GB, free: 122.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01517/1.816, allocations: 1.385 MB / 0.6498 GB, free: 122.8 MB / 426.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: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 178 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00307/1.819, allocations: 441.2 kB / 0.6502 GB, free: 122.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02386/1.843, allocations: 8.894 MB / 0.6589 GB, free: 119.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.401e-06/1.843, allocations: 0 / 0.6589 GB, free: 119.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008104/1.851, allocations: 4.015 MB / 0.6628 GB, free: 117.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/1.854, allocations: 427.9 kB / 0.6632 GB, free: 117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02508/1.879, allocations: 14.24 MB / 0.6772 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005698/1.885, allocations: 3.668 MB / 0.6807 GB, free: 103.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/1.887, allocations: 319.4 kB / 0.681 GB, free: 103.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.735e-06/1.887, allocations: 3 kB / 0.681 GB, free: 103.3 MB / 426.7 MB Notification: Performance of Templates: time 0.5055/2.392, allocations: 142.6 MB / 0.8203 GB, free: 130.2 MB / 442.7 MB