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.979/1.979, allocations: 209.3 MB / 224.9 MB, free: 276 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004355, allocations: 8 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2903, allocations: 48.7 MB / 331.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.431, allocations: 92.92 MB / 424.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.4312, allocations: 71.97 kB / 424.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7249/1.156, allocations: 92.31 MB / 0.5045 GB, free: 88.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.212e-06/1.156, allocations: 0 / 0.5045 GB, free: 88.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002477/1.156, allocations: 90.88 kB / 0.5046 GB, free: 88.63 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.01585/1.172, allocations: 5.053 MB / 0.5095 GB, free: 85.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.172, allocations: 10.38 kB / 0.5095 GB, free: 85.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/1.185, allocations: 2.23 MB / 0.5117 GB, free: 84.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01505/1.2, allocations: 5.081 MB / 0.5166 GB, free: 79.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003666/1.2, allocations: 333.3 kB / 0.517 GB, free: 79.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001839/1.202, allocations: 432.8 kB / 0.5174 GB, free: 79.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02628/1.229, allocations: 11.56 MB / 0.5287 GB, free: 66.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002081/1.229, allocations: 59.09 kB / 0.5287 GB, free: 66.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/1.23, allocations: 215.7 kB / 0.5289 GB, free: 66.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/1.232, allocations: 1.155 MB / 0.53 GB, free: 65.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/1.255, allocations: 10 MB / 0.5398 GB, free: 55.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05898/1.314, allocations: 50.71 MB / 0.5893 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/1.332, allocations: 5.867 MB / 0.5951 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01992/1.352, allocations: 9.208 MB / 0.6041 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01497/1.367, allocations: 3.392 MB / 0.6074 GB, free: 288 kB / 410.7 MB Notification: Performance of pre-optimization done (n=209): time 6.932e-06/1.367, allocations: 3.938 kB / 0.6074 GB, free: 284 kB / 410.7 MB Notification: Performance of matching and sorting (n=283): time 0.4016/1.769, allocations: 33.97 MB / 0.6405 GB, free: 110 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/1.769, allocations: 158.6 kB / 0.6407 GB, free: 109.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007799/1.777, allocations: 3.705 MB / 0.6443 GB, free: 109.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007009/1.778, allocations: 72.78 kB / 0.6444 GB, free: 109.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002946/1.78, allocations: 3.144 MB / 0.6475 GB, free: 107.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.782, allocations: 1.039 MB / 0.6485 GB, free: 107.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007385/1.783, allocations: 131.2 kB / 0.6486 GB, free: 107.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004405/1.783, allocations: 0.5908 MB / 0.6492 GB, free: 106.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006648/1.79, allocations: 3.298 MB / 0.6524 GB, free: 106 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008777/1.799, allocations: 6.879 MB / 0.6591 GB, free: 100.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008939/1.808, allocations: 4.706 MB / 0.6637 GB, free: 98.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/1.808, allocations: 36.5 kB / 0.6637 GB, free: 98.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.03065/1.839, allocations: 12.35 MB / 0.6758 GB, free: 94.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/1.839, allocations: 91.27 kB / 0.6759 GB, free: 94.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/1.839, allocations: 124.6 kB / 0.676 GB, free: 94.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009655/1.849, allocations: 2.683 MB / 0.6786 GB, free: 93.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007011/1.856, allocations: 1.468 MB / 0.6801 GB, free: 93.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0353/1.891, allocations: 22.29 MB / 0.7018 GB, free: 73.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006853/1.898, allocations: 430.1 kB / 0.7022 GB, free: 73.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/1.9, allocations: 399.2 kB / 0.7026 GB, free: 72.66 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.005707/1.905, allocations: 2.217 MB / 0.7048 GB, free: 70.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.906, allocations: 397.8 kB / 0.7052 GB, free: 70.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01826/1.925, allocations: 7.901 MB / 0.7129 GB, free: 63.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.333e-05/1.925, allocations: 37.11 kB / 0.7129 GB, free: 63.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-05/1.925, allocations: 8 kB / 0.7129 GB, free: 63.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.467e-05/1.925, allocations: 15.8 kB / 0.7129 GB, free: 63.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03294/1.958, allocations: 14.57 MB / 0.7272 GB, free: 49.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-05/1.958, allocations: 0 / 0.7272 GB, free: 49.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/1.96, allocations: 407.5 kB / 0.7276 GB, free: 48.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008105/1.969, allocations: 2.442 MB / 0.7299 GB, free: 46.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006931/1.969, allocations: 48 kB / 0.73 GB, free: 46.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0333/2.003, allocations: 22.11 MB / 0.7516 GB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.384e-06/2.003, allocations: 0 / 0.7516 GB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/2.021, allocations: 8.248 MB / 0.7596 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0031/2.024, allocations: 0.9877 MB / 0.7606 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001359/2.025, allocations: 55.98 kB / 0.7606 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003386/2.029, allocations: 208.6 kB / 0.7608 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/2.03, allocations: 181.7 kB / 0.761 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003992/2.03, allocations: 88.02 kB / 0.7611 GB, free: 13.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006429/2.037, allocations: 2.59 MB / 0.7636 GB, free: 10.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.463e-06/2.037, allocations: 0 / 0.7636 GB, free: 10.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008623/2.045, allocations: 1.38 MB / 0.765 GB, free: 9.598 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.002002/2.047, allocations: 432 kB / 0.7654 GB, free: 9.297 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01746/2.065, allocations: 8.807 MB / 0.774 GB, free: 444 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/2.065, allocations: 4 kB / 0.774 GB, free: 440 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009397/2.074, allocations: 3.999 MB / 0.7779 GB, free: 12.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/2.078, allocations: 433.7 kB / 0.7783 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2835/2.361, allocations: 14.19 MB / 0.7922 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008128/2.369, allocations: 3.661 MB / 0.7958 GB, free: 113.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/2.372, allocations: 318.1 kB / 0.7961 GB, free: 113.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.729e-06/2.372, allocations: 3.156 kB / 0.7961 GB, free: 113.7 MB / 442.7 MB Notification: Performance of Templates: time 0.2005/2.572, allocations: 142 MB / 0.9347 GB, free: 3.027 MB / 442.7 MB