Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.314/2.314, allocations: 234.9 MB / 251.1 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004328, allocations: 12 kB / 314.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3563, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1779/0.5343, allocations: 99.23 MB / 469 MB, free: 9.418 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5346, allocations: 79.91 kB / 469.1 MB, free: 9.34 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.7239/1.259, allocations: 93.04 MB / 0.549 GB, free: 85.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.259, allocations: 4 kB / 0.549 GB, free: 85.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002803/1.259, allocations: 87.98 kB / 0.5491 GB, free: 85.18 MB / 426.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.02058/1.279, allocations: 5.09 MB / 0.554 GB, free: 80 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.28, allocations: 8.031 kB / 0.554 GB, free: 80 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/1.297, allocations: 2.236 MB / 0.5562 GB, free: 77.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01927/1.316, allocations: 5.099 MB / 0.5612 GB, free: 72.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003954/1.316, allocations: 332.5 kB / 0.5615 GB, free: 72.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002458/1.319, allocations: 435.8 kB / 0.5619 GB, free: 71.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0337/1.352, allocations: 11.61 MB / 0.5733 GB, free: 59.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/1.353, allocations: 63.41 kB / 0.5733 GB, free: 59.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001616/1.354, allocations: 211.9 kB / 0.5735 GB, free: 58.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002193/1.357, allocations: 1.148 MB / 0.5747 GB, free: 57.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03012/1.387, allocations: 10.02 MB / 0.5844 GB, free: 47.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07611/1.463, allocations: 50.76 MB / 0.634 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02811/1.491, allocations: 5.915 MB / 0.6398 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03267/1.524, allocations: 9.305 MB / 0.6489 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02783/1.552, allocations: 3.408 MB / 0.6522 GB, free: 8.293 MB / 458.7 MB Notification: Performance of pre-optimization done (n=211): time 8.607e-06/1.552, allocations: 4 kB / 0.6522 GB, free: 8.289 MB / 458.7 MB Notification: Performance of matching and sorting (n=285): time 0.5733/2.125, allocations: 34.46 MB / 0.6859 GB, free: 126.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/2.125, allocations: 156.6 kB / 0.686 GB, free: 126.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00907/2.134, allocations: 4.167 MB / 0.6901 GB, free: 125.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009741/2.135, allocations: 67.92 kB / 0.6901 GB, free: 125.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003373/2.139, allocations: 3.144 MB / 0.6932 GB, free: 123.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001903/2.141, allocations: 1.046 MB / 0.6942 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009507/2.142, allocations: 142.4 kB / 0.6944 GB, free: 123.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004422/2.142, allocations: 0.59 MB / 0.6949 GB, free: 123 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008258/2.15, allocations: 3.304 MB / 0.6982 GB, free: 123 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/2.162, allocations: 6.929 MB / 0.7049 GB, free: 117.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/2.172, allocations: 4.703 MB / 0.7095 GB, free: 115.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001854/2.173, allocations: 42.64 kB / 0.7096 GB, free: 115.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.03819/2.211, allocations: 12.34 MB / 0.7216 GB, free: 111.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005147/2.212, allocations: 86.67 kB / 0.7217 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006951/2.212, allocations: 125.8 kB / 0.7218 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01791/2.23, allocations: 2.658 MB / 0.7244 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01/2.24, allocations: 1.478 MB / 0.7259 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04457/2.285, allocations: 22.29 MB / 0.7476 GB, free: 93.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008746/2.294, allocations: 415.5 kB / 0.748 GB, free: 92.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001688/2.295, allocations: 396.1 kB / 0.7484 GB, free: 92.53 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.006819/2.302, allocations: 2.229 MB / 0.7506 GB, free: 90.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/2.304, allocations: 406.7 kB / 0.751 GB, free: 90.17 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02393/2.327, allocations: 7.866 MB / 0.7587 GB, free: 83.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.031e-05/2.328, allocations: 36.23 kB / 0.7587 GB, free: 83.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.228e-05/2.328, allocations: 8 kB / 0.7587 GB, free: 83.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.245e-05/2.328, allocations: 18.39 kB / 0.7587 GB, free: 83.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06459/2.392, allocations: 14.61 MB / 0.773 GB, free: 72.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.592e-05/2.392, allocations: 4 kB / 0.773 GB, free: 72.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004314/2.397, allocations: 395.4 kB / 0.7734 GB, free: 71.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01166/2.408, allocations: 2.428 MB / 0.7757 GB, free: 69.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000888/2.409, allocations: 50.03 kB / 0.7758 GB, free: 69.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04269/2.452, allocations: 22.08 MB / 0.7974 GB, free: 46.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/2.452, allocations: 0 / 0.7974 GB, free: 46.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02484/2.477, allocations: 8.001 MB / 0.8052 GB, free: 38.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003831/2.481, allocations: 0.9917 MB / 0.8061 GB, free: 37.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001747/2.483, allocations: 46.58 kB / 0.8062 GB, free: 37.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004893/2.488, allocations: 203.7 kB / 0.8064 GB, free: 37.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001355/2.489, allocations: 193.6 kB / 0.8066 GB, free: 37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000374/2.489, allocations: 79.98 kB / 0.8066 GB, free: 36.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005795/2.495, allocations: 2.594 MB / 0.8092 GB, free: 34.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.21e-07/2.495, allocations: 0 / 0.8092 GB, free: 34.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008756/2.504, allocations: 1.381 MB / 0.8105 GB, free: 32.96 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.002064/2.506, allocations: 495.5 kB / 0.811 GB, free: 32.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02093/2.527, allocations: 8.826 MB / 0.8196 GB, free: 23.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/2.527, allocations: 0 / 0.8196 GB, free: 23.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01003/2.537, allocations: 4 MB / 0.8235 GB, free: 19.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/2.541, allocations: 435.8 kB / 0.8239 GB, free: 19.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0388/2.58, allocations: 14.24 MB / 0.8378 GB, free: 4.957 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03256/2.613, allocations: 3.677 MB / 0.8414 GB, free: 1.273 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01056/2.623, allocations: 319.4 kB / 0.8417 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of SimCode: time 1.312e-06/2.623, allocations: 4 kB / 0.8417 GB, free: 0.957 MB / 474.7 MB Notification: Performance of Templates: time 0.6092/3.233, allocations: 142.3 MB / 0.9807 GB, free: 36.27 MB / 490.7 MB