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.131/2.131, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.678e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3138, allocations: 54.86 MB / 364.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.461, allocations: 99.15 MB / 463.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.4613, allocations: 68.56 kB / 463.8 MB, free: 13.2 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.6679/1.129, allocations: 92.64 MB / 0.5434 GB, free: 104.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.235e-06/1.129, allocations: 0 / 0.5434 GB, free: 104.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002442/1.129, allocations: 91.41 kB / 0.5434 GB, free: 104.6 MB / 458.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.01363/1.143, allocations: 4.757 MB / 0.5481 GB, free: 102.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/1.143, allocations: 11.72 kB / 0.5481 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/1.155, allocations: 2.237 MB / 0.5503 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01495/1.17, allocations: 5.065 MB / 0.5552 GB, free: 101.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/1.171, allocations: 335.7 kB / 0.5556 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/1.172, allocations: 431.1 kB / 0.556 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02531/1.197, allocations: 11.49 MB / 0.5672 GB, free: 98.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001769/1.198, allocations: 67.92 kB / 0.5672 GB, free: 98.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008378/1.198, allocations: 208.6 kB / 0.5674 GB, free: 98.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001611/1.2, allocations: 1.154 MB / 0.5686 GB, free: 98.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/1.225, allocations: 9.883 MB / 0.5782 GB, free: 96.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05948/1.284, allocations: 50.76 MB / 0.6278 GB, free: 56.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/1.301, allocations: 5.874 MB / 0.6335 GB, free: 51.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004554/1.306, allocations: 3.128 MB / 0.6366 GB, free: 48.56 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0153/1.321, allocations: 9.321 MB / 0.6457 GB, free: 39.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01339/1.334, allocations: 3.381 MB / 0.649 GB, free: 36.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=211): time 5.89e-06/1.334, allocations: 4 kB / 0.649 GB, free: 36.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=285): time 0.1127/1.447, allocations: 27.32 MB / 0.6757 GB, free: 9.047 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/1.447, allocations: 162.5 kB / 0.6758 GB, free: 8.859 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006895/1.454, allocations: 3.675 MB / 0.6794 GB, free: 5.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000649/1.455, allocations: 65.7 kB / 0.6795 GB, free: 5.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002648/1.458, allocations: 3.146 MB / 0.6826 GB, free: 1.949 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/1.459, allocations: 1.051 MB / 0.6836 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007519/1.46, allocations: 132 kB / 0.6837 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000424/1.46, allocations: 0.5917 MB / 0.6843 GB, free: 180 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007478/1.468, allocations: 3.245 MB / 0.6875 GB, free: 12.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01125/1.479, allocations: 6.846 MB / 0.6941 GB, free: 4.305 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.489, allocations: 4.698 MB / 0.6987 GB, free: 15.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/1.489, allocations: 36 kB / 0.6988 GB, free: 15.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.03354/1.523, allocations: 12.26 MB / 0.7107 GB, free: 3.281 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/1.523, allocations: 93.12 kB / 0.7108 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/1.523, allocations: 128.8 kB / 0.7109 GB, free: 3.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/1.534, allocations: 2.658 MB / 0.7135 GB, free: 400 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2857/1.819, allocations: 1.481 MB / 0.715 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03686/1.856, allocations: 21.53 MB / 0.736 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00684/1.863, allocations: 437 kB / 0.7364 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.864, allocations: 398.6 kB / 0.7368 GB, free: 115.9 MB / 490.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 () * 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.001357/1.866, allocations: 0.5905 MB / 0.7374 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000782/1.866, allocations: 399.2 kB / 0.7378 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01779/1.884, allocations: 7.848 MB / 0.7454 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.792e-05/1.884, allocations: 30.38 kB / 0.7455 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/1.884, allocations: 7.812 kB / 0.7455 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.598e-05/1.884, allocations: 17.06 kB / 0.7455 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03203/1.916, allocations: 14.62 MB / 0.7598 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/1.916, allocations: 3.312 kB / 0.7598 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002594/1.919, allocations: 393.5 kB / 0.7601 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008908/1.928, allocations: 2.44 MB / 0.7625 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005349/1.929, allocations: 45.62 kB / 0.7626 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03415/1.963, allocations: 21.32 MB / 0.7834 GB, free: 97.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.214e-06/1.963, allocations: 7.672 kB / 0.7834 GB, free: 97.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/1.981, allocations: 8.212 MB / 0.7914 GB, free: 94.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002872/1.984, allocations: 1.001 MB / 0.7924 GB, free: 93.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009272/1.985, allocations: 47.31 kB / 0.7924 GB, free: 93.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/1.987, allocations: 205.6 kB / 0.7926 GB, free: 93.42 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007473/1.988, allocations: 191 kB / 0.7928 GB, free: 93.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003407/1.989, allocations: 77.98 kB / 0.7929 GB, free: 93.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004422/1.993, allocations: 2.563 MB / 0.7954 GB, free: 92.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.13e-07/1.993, allocations: 0 / 0.7954 GB, free: 92.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007251/2, allocations: 1.373 MB / 0.7967 GB, free: 90.72 MB / 490.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) * 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.001647/2.002, allocations: 465.3 kB / 0.7972 GB, free: 90.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01502/2.017, allocations: 8.707 MB / 0.8057 GB, free: 82.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.709e-06/2.017, allocations: 4 kB / 0.8057 GB, free: 82.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006967/2.024, allocations: 3.95 MB / 0.8095 GB, free: 79.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/2.027, allocations: 440.2 kB / 0.81 GB, free: 78.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/2.047, allocations: 10.6 MB / 0.8203 GB, free: 69.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004824/2.052, allocations: 3.664 MB / 0.8239 GB, free: 66.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/2.054, allocations: 319.4 kB / 0.8242 GB, free: 66.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.707e-06/2.054, allocations: 0 / 0.8242 GB, free: 66.27 MB / 490.7 MB Notification: Performance of Templates: time 0.4614/2.515, allocations: 142.3 MB / 0.9632 GB, free: 109.2 MB / 0.4948 GB