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.906/1.906, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.829e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.08969, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3624/0.4521, allocations: 92.83 MB / 419.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.4523, allocations: 66.84 kB / 419.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4098/0.8622, allocations: 92.4 MB / 0.4998 GB, free: 9.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.741e-06/0.8622, allocations: 0 / 0.4998 GB, free: 9.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004349/0.8627, allocations: 80 kB / 0.4999 GB, free: 9.328 MB / 410.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.02182/0.8846, allocations: 4.722 MB / 0.5045 GB, free: 4.527 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.8846, allocations: 12.03 kB / 0.5045 GB, free: 4.516 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/0.8982, allocations: 2.232 MB / 0.5067 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0179/0.9161, allocations: 5.05 MB / 0.5116 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005224/0.9167, allocations: 320.5 kB / 0.5119 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00217/0.9189, allocations: 435.8 kB / 0.5124 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2831/1.202, allocations: 11.48 MB / 0.5236 GB, free: 87.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002963/1.202, allocations: 57 kB / 0.5236 GB, free: 87.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001932/1.204, allocations: 210 kB / 0.5238 GB, free: 87.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002493/1.207, allocations: 1.15 MB / 0.5249 GB, free: 87.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02559/1.232, allocations: 9.875 MB / 0.5346 GB, free: 87.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06589/1.298, allocations: 50.72 MB / 0.5841 GB, free: 57.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01894/1.317, allocations: 5.837 MB / 0.5898 GB, free: 55.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00486/1.322, allocations: 3.119 MB / 0.5929 GB, free: 54.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01681/1.339, allocations: 9.201 MB / 0.6019 GB, free: 49.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01479/1.354, allocations: 3.375 MB / 0.6052 GB, free: 48.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=209): time 8.084e-06/1.354, allocations: 1.969 kB / 0.6052 GB, free: 48.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.1216/1.476, allocations: 27.06 MB / 0.6316 GB, free: 36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/1.476, allocations: 169 kB / 0.6317 GB, free: 35.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007968/1.484, allocations: 3.665 MB / 0.6353 GB, free: 32.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007084/1.485, allocations: 65.7 kB / 0.6354 GB, free: 32.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002865/1.487, allocations: 3.149 MB / 0.6385 GB, free: 29.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001449/1.489, allocations: 1.035 MB / 0.6395 GB, free: 28.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008788/1.49, allocations: 132 kB / 0.6396 GB, free: 28.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005543/1.49, allocations: 0.5905 MB / 0.6402 GB, free: 28.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00642/1.497, allocations: 3.242 MB / 0.6433 GB, free: 25.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008518/1.505, allocations: 6.834 MB / 0.65 GB, free: 17.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008519/1.514, allocations: 4.678 MB / 0.6546 GB, free: 13.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.514, allocations: 36 kB / 0.6546 GB, free: 13.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02928/1.543, allocations: 12.24 MB / 0.6666 GB, free: 2.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.544, allocations: 93.47 kB / 0.6667 GB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/1.544, allocations: 124 kB / 0.6668 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/1.555, allocations: 2.674 MB / 0.6694 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007253/1.562, allocations: 1.47 MB / 0.6708 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2969/1.859, allocations: 21.52 MB / 0.6918 GB, free: 89.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00715/1.866, allocations: 423.5 kB / 0.6922 GB, free: 89.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/1.868, allocations: 391.7 kB / 0.6926 GB, free: 89.4 MB / 442.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 () * 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.002321/1.87, allocations: 0.601 MB / 0.6932 GB, free: 89.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.871, allocations: 400.8 kB / 0.6936 GB, free: 89.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0213/1.892, allocations: 7.849 MB / 0.7013 GB, free: 89.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.195e-05/1.892, allocations: 33.06 kB / 0.7013 GB, free: 89.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-05/1.892, allocations: 8.406 kB / 0.7013 GB, free: 89.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.187e-05/1.893, allocations: 12.62 kB / 0.7013 GB, free: 89.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03814/1.931, allocations: 14.54 MB / 0.7155 GB, free: 88.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-05/1.931, allocations: 3.5 kB / 0.7155 GB, free: 88.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/1.934, allocations: 394.9 kB / 0.7159 GB, free: 88.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009319/1.943, allocations: 2.447 MB / 0.7183 GB, free: 88.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007399/1.944, allocations: 47.16 kB / 0.7183 GB, free: 88.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03479/1.979, allocations: 21.32 MB / 0.7391 GB, free: 77.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.979, allocations: 0 / 0.7391 GB, free: 77.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01954/1.998, allocations: 8.198 MB / 0.7471 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/2.002, allocations: 0.9916 MB / 0.7481 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/2.003, allocations: 51.44 kB / 0.7482 GB, free: 74.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003608/2.006, allocations: 208.3 kB / 0.7484 GB, free: 74.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001146/2.008, allocations: 182.2 kB / 0.7485 GB, free: 74.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004027/2.008, allocations: 79.38 kB / 0.7486 GB, free: 74.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005994/2.014, allocations: 2.558 MB / 0.7511 GB, free: 73.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.312e-06/2.014, allocations: 0 / 0.7511 GB, free: 73.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008595/2.023, allocations: 1.389 MB / 0.7525 GB, free: 73.14 MB / 442.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) * 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.00187/2.025, allocations: 399.1 kB / 0.7528 GB, free: 72.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01761/2.042, allocations: 8.705 MB / 0.7613 GB, free: 69.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/2.042, allocations: 3 kB / 0.7613 GB, free: 69.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008062/2.05, allocations: 3.936 MB / 0.7652 GB, free: 68.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/2.054, allocations: 432.2 kB / 0.7656 GB, free: 67.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/2.079, allocations: 10.58 MB / 0.7759 GB, free: 60.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007391/2.086, allocations: 3.664 MB / 0.7795 GB, free: 58.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002031/2.088, allocations: 321.5 kB / 0.7798 GB, free: 57.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.918e-06/2.089, allocations: 4 kB / 0.7798 GB, free: 57.78 MB / 442.7 MB Notification: Performance of Templates: time 0.4493/2.538, allocations: 142 MB / 0.9185 GB, free: 85.84 MB / 458.7 MB