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.187/2.187, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004289, allocations: 11.98 kB / 314.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2894, allocations: 54.88 MB / 369.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.4391, allocations: 99.23 MB / 468.5 MB, free: 7.441 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4394, allocations: 71.97 kB / 468.6 MB, free: 7.371 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.5576/0.997, allocations: 92.58 MB / 0.548 GB, free: 23.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.467e-06/0.9971, allocations: 0 / 0.548 GB, free: 23.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001937/0.9973, allocations: 88 kB / 0.5481 GB, free: 23.6 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: 1594 * Number of variables: 1594 Notification: Performance of Generate backend data structure: time 0.01455/1.012, allocations: 5.095 MB / 0.5531 GB, free: 18.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.012, allocations: 8.031 kB / 0.5531 GB, free: 18.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/1.024, allocations: 2.236 MB / 0.5553 GB, free: 16.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01421/1.038, allocations: 5.109 MB / 0.5602 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/1.038, allocations: 328.5 kB / 0.5606 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/1.04, allocations: 443.8 kB / 0.561 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/1.064, allocations: 11.56 MB / 0.5723 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002046/1.064, allocations: 67.41 kB / 0.5723 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/1.065, allocations: 203.9 kB / 0.5725 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001993/1.067, allocations: 1.151 MB / 0.5737 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02643/1.094, allocations: 10.02 MB / 0.5834 GB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0724/1.166, allocations: 50.77 MB / 0.633 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01912/1.185, allocations: 5.91 MB / 0.6388 GB, free: 7.797 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2869/1.472, allocations: 9.303 MB / 0.6479 GB, free: 113.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01402/1.486, allocations: 3.406 MB / 0.6512 GB, free: 113.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=211): time 5.957e-06/1.486, allocations: 0 / 0.6512 GB, free: 113.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=285): time 0.1497/1.636, allocations: 34.26 MB / 0.6847 GB, free: 110.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/1.636, allocations: 166.8 kB / 0.6848 GB, free: 110.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006727/1.643, allocations: 3.703 MB / 0.6884 GB, free: 110.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006511/1.644, allocations: 69.83 kB / 0.6885 GB, free: 110.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002562/1.646, allocations: 3.147 MB / 0.6916 GB, free: 108.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001295/1.648, allocations: 1.044 MB / 0.6926 GB, free: 108 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006054/1.648, allocations: 132.3 kB / 0.6927 GB, free: 107.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003975/1.649, allocations: 0.59 MB / 0.6933 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006567/1.655, allocations: 3.305 MB / 0.6965 GB, free: 106.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008457/1.664, allocations: 6.903 MB / 0.7033 GB, free: 100.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008865/1.673, allocations: 4.718 MB / 0.7079 GB, free: 98.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-05/1.673, allocations: 35.69 kB / 0.7079 GB, free: 98.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02815/1.701, allocations: 12.38 MB / 0.72 GB, free: 89.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/1.701, allocations: 89.12 kB / 0.7201 GB, free: 89.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/1.701, allocations: 131.3 kB / 0.7202 GB, free: 89.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009082/1.71, allocations: 2.674 MB / 0.7228 GB, free: 87.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006311/1.717, allocations: 1.48 MB / 0.7243 GB, free: 86.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03393/1.751, allocations: 22.29 MB / 0.746 GB, free: 66.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007295/1.758, allocations: 440 kB / 0.7465 GB, free: 65.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.759, allocations: 391 kB / 0.7468 GB, free: 65.44 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (765): * Single equations (assignments): 757 * 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,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.004862/1.764, allocations: 2.227 MB / 0.749 GB, free: 63.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008726/1.765, allocations: 398.8 kB / 0.7494 GB, free: 63.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/1.782, allocations: 7.904 MB / 0.7571 GB, free: 56.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.716e-05/1.782, allocations: 31.8 kB / 0.7571 GB, free: 56.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.77e-05/1.782, allocations: 15.95 kB / 0.7571 GB, free: 56.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-05/1.783, allocations: 15.95 kB / 0.7572 GB, free: 56.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03152/1.814, allocations: 14.66 MB / 0.7715 GB, free: 41.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.539e-05/1.814, allocations: 0 / 0.7715 GB, free: 41.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002661/1.817, allocations: 398.7 kB / 0.7719 GB, free: 41.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008286/1.825, allocations: 2.457 MB / 0.7743 GB, free: 38.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006295/1.826, allocations: 48 kB / 0.7743 GB, free: 38.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03283/1.859, allocations: 22.08 MB / 0.7959 GB, free: 16.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.088e-06/1.859, allocations: 3.938 kB / 0.7959 GB, free: 16.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.876, allocations: 8.271 MB / 0.8039 GB, free: 7.715 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002761/1.879, allocations: 0.9916 MB / 0.8049 GB, free: 6.699 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.88, allocations: 51.98 kB / 0.805 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002906/1.883, allocations: 204.9 kB / 0.8052 GB, free: 6.449 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007848/1.884, allocations: 197.6 kB / 0.8053 GB, free: 6.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003566/1.884, allocations: 71.98 kB / 0.8054 GB, free: 6.188 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004874/1.889, allocations: 2.598 MB / 0.808 GB, free: 3.582 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.049e-06/1.889, allocations: 3.844 kB / 0.808 GB, free: 3.582 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007543/1.897, allocations: 1.379 MB / 0.8093 GB, free: 2.215 MB / 474.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 (191): * Single equations (assignments): 182 * 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,(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.001797/1.898, allocations: 0.4899 MB / 0.8098 GB, free: 1.852 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01857/1.917, allocations: 8.824 MB / 0.8184 GB, free: 8.977 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.135e-06/1.917, allocations: 0 / 0.8184 GB, free: 8.977 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008876/1.926, allocations: 4.012 MB / 0.8223 GB, free: 4.922 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3295/2.255, allocations: 425 kB / 0.8227 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/2.281, allocations: 14.21 MB / 0.8366 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004967/2.286, allocations: 3.679 MB / 0.8402 GB, free: 116.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/2.288, allocations: 312.6 kB / 0.8405 GB, free: 116.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.773e-06/2.288, allocations: 6.031 kB / 0.8405 GB, free: 116.9 MB / 490.7 MB Notification: Performance of Templates: time 0.1676/2.456, allocations: 142.3 MB / 0.9795 GB, free: 13.59 MB / 490.7 MB