Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.075/2.075, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004379, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3676, allocations: 48.69 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.5376, allocations: 92.92 MB / 424.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.5379, allocations: 79.89 kB / 424.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7371/1.275, allocations: 92.78 MB / 0.5054 GB, free: 88.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.827e-06/1.275, allocations: 0 / 0.5054 GB, free: 88.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004041/1.276, allocations: 85.72 kB / 0.5055 GB, free: 88.51 MB / 394.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.03138/1.307, allocations: 5.056 MB / 0.5105 GB, free: 85.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/1.307, allocations: 10.62 kB / 0.5105 GB, free: 85.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02603/1.333, allocations: 2.23 MB / 0.5126 GB, free: 84.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02807/1.361, allocations: 5.083 MB / 0.5176 GB, free: 79.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005592/1.362, allocations: 332.9 kB / 0.5179 GB, free: 78.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003197/1.365, allocations: 432.6 kB / 0.5183 GB, free: 78.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04833/1.413, allocations: 11.59 MB / 0.5297 GB, free: 66.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003619/1.414, allocations: 70.59 kB / 0.5297 GB, free: 66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002354/1.416, allocations: 214 kB / 0.5299 GB, free: 65.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003362/1.42, allocations: 1.145 MB / 0.531 GB, free: 64.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04418/1.464, allocations: 10.01 MB / 0.5408 GB, free: 54.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07976/1.544, allocations: 50.7 MB / 0.5903 GB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02412/1.568, allocations: 5.87 MB / 0.5961 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02359/1.592, allocations: 9.205 MB / 0.6051 GB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01964/1.611, allocations: 3.407 MB / 0.6084 GB, free: 15.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=209): time 8.135e-06/1.611, allocations: 0 / 0.6084 GB, free: 15.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.5446/2.156, allocations: 34.16 MB / 0.6417 GB, free: 109.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/2.156, allocations: 161.2 kB / 0.6419 GB, free: 109.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008883/2.165, allocations: 4.146 MB / 0.6459 GB, free: 109 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009372/2.166, allocations: 74.64 kB / 0.646 GB, free: 109 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00331/2.169, allocations: 3.141 MB / 0.6491 GB, free: 107.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001895/2.171, allocations: 1.044 MB / 0.6501 GB, free: 106.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009663/2.172, allocations: 131.2 kB / 0.6502 GB, free: 106.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004378/2.173, allocations: 0.5939 MB / 0.6508 GB, free: 106.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007734/2.18, allocations: 3.293 MB / 0.654 GB, free: 105.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01021/2.191, allocations: 6.905 MB / 0.6608 GB, free: 99.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/2.202, allocations: 4.705 MB / 0.6654 GB, free: 97.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001683/2.202, allocations: 37.31 kB / 0.6654 GB, free: 97.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.0389/2.241, allocations: 12.32 MB / 0.6774 GB, free: 93.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/2.241, allocations: 86.3 kB / 0.6775 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002446/2.241, allocations: 124.4 kB / 0.6776 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01321/2.254, allocations: 2.668 MB / 0.6802 GB, free: 92.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/2.265, allocations: 1.47 MB / 0.6817 GB, free: 92.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04568/2.31, allocations: 22.27 MB / 0.7034 GB, free: 72.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008755/2.319, allocations: 428.2 kB / 0.7038 GB, free: 71.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001873/2.321, allocations: 395.8 kB / 0.7042 GB, free: 71.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * 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 (762): * Single equations (assignments): 754 * 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.007089/2.328, allocations: 2.224 MB / 0.7064 GB, free: 69.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/2.33, allocations: 402.1 kB / 0.7067 GB, free: 69.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02615/2.356, allocations: 7.875 MB / 0.7144 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.784e-05/2.356, allocations: 28 kB / 0.7145 GB, free: 62.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.189e-05/2.356, allocations: 8 kB / 0.7145 GB, free: 62.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-05/2.356, allocations: 15.95 kB / 0.7145 GB, free: 62.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04583/2.402, allocations: 14.53 MB / 0.7287 GB, free: 47.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.031e-05/2.402, allocations: 0 / 0.7287 GB, free: 47.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004265/2.406, allocations: 403.3 kB / 0.7291 GB, free: 47.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01196/2.418, allocations: 2.426 MB / 0.7314 GB, free: 45.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001135/2.419, allocations: 48 kB / 0.7315 GB, free: 45.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04414/2.464, allocations: 22.1 MB / 0.7531 GB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/2.464, allocations: 4 kB / 0.7531 GB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02445/2.488, allocations: 7.975 MB / 0.7609 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003828/2.492, allocations: 0.9877 MB / 0.7618 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001751/2.494, allocations: 44 kB / 0.7619 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004942/2.499, allocations: 208.3 kB / 0.7621 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001407/2.5, allocations: 189.6 kB / 0.7622 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004311/2.501, allocations: 72.94 kB / 0.7623 GB, free: 12.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006651/2.507, allocations: 2.594 MB / 0.7648 GB, free: 10.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/2.507, allocations: 0 / 0.7648 GB, free: 10.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009402/2.517, allocations: 1.38 MB / 0.7662 GB, free: 8.887 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 (189): * Single equations (assignments): 181 * 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,(3,88.9%) 13,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.001907/2.519, allocations: 449.7 kB / 0.7666 GB, free: 8.574 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02193/2.541, allocations: 8.802 MB / 0.7752 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/2.541, allocations: 0 / 0.7752 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01207/2.553, allocations: 3.995 MB / 0.7791 GB, free: 11.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/2.557, allocations: 428.6 kB / 0.7795 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3758/2.933, allocations: 14.22 MB / 0.7934 GB, free: 113.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009707/2.943, allocations: 3.665 MB / 0.797 GB, free: 112.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002935/2.946, allocations: 323 kB / 0.7973 GB, free: 112.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.934e-06/2.946, allocations: 0 / 0.7973 GB, free: 112.3 MB / 442.7 MB Notification: Performance of Templates: time 0.286/3.232, allocations: 142 MB / 0.936 GB, free: 1.891 MB / 442.7 MB