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.Parts.BodyShape.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 2.224/2.224, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.524e-05, allocations: 0 / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3047, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.4622, allocations: 98.79 MB / 456.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.4625, allocations: 79.95 kB / 456.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5404/1.003, allocations: 80.28 MB / 0.5246 GB, free: 44 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.467e-06/1.003, allocations: 4 kB / 0.5246 GB, free: 44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002113/1.003, allocations: 80 kB / 0.5247 GB, free: 43.92 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01123/1.014, allocations: 3.904 MB / 0.5285 GB, free: 39.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.014, allocations: 8.031 kB / 0.5285 GB, free: 39.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/1.028, allocations: 2.342 MB / 0.5308 GB, free: 37.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01421/1.043, allocations: 5.185 MB / 0.5359 GB, free: 32.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/1.043, allocations: 139.9 kB / 0.536 GB, free: 32.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/1.045, allocations: 251.9 kB / 0.5362 GB, free: 31.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0123/1.057, allocations: 6.002 MB / 0.5421 GB, free: 25.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0183/1.075, allocations: 9.291 MB / 0.5512 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002009/1.076, allocations: 59.41 kB / 0.5512 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/1.077, allocations: 32 kB / 0.5512 GB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001497/1.078, allocations: 1.01 MB / 0.5522 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06375/1.142, allocations: 47.47 MB / 0.5986 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004642/1.147, allocations: 2.505 MB / 0.601 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/1.149, allocations: 1.438 MB / 0.6024 GB, free: 9.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005307/1.15, allocations: 356 kB / 0.6028 GB, free: 8.848 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/1.15, allocations: 47.34 kB / 0.6028 GB, free: 8.793 MB / 442.7 MB Notification: Performance of pre-optimization done (n=145): time 6.062e-06/1.15, allocations: 4 kB / 0.6028 GB, free: 8.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=163): time 0.03622/1.186, allocations: 12.96 MB / 0.6155 GB, free: 11.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.186, allocations: 149.8 kB / 0.6156 GB, free: 11.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006615/1.193, allocations: 3.063 MB / 0.6186 GB, free: 8.469 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003342/1.193, allocations: 25.7 kB / 0.6186 GB, free: 8.438 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003333/1.197, allocations: 3.158 MB / 0.6217 GB, free: 5.234 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/1.198, allocations: 0.6442 MB / 0.6224 GB, free: 4.582 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/1.198, allocations: 4 kB / 0.6224 GB, free: 4.578 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005645/1.199, allocations: 0.5753 MB / 0.6229 GB, free: 3.992 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004369/1.203, allocations: 1.922 MB / 0.6248 GB, free: 2.066 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2733/1.476, allocations: 5.838 MB / 0.6305 GB, free: 104.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007206/1.484, allocations: 3.334 MB / 0.6338 GB, free: 104.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000287/1.484, allocations: 41.19 kB / 0.6338 GB, free: 104.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.01978/1.504, allocations: 7.58 MB / 0.6412 GB, free: 104 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/1.504, allocations: 72.05 kB / 0.6413 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008223/1.512, allocations: 2.499 MB / 0.6437 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009368/1.522, allocations: 1.126 MB / 0.6448 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01282/1.535, allocations: 1.449 MB / 0.6462 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/1.548, allocations: 4.51 MB / 0.6506 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01481/1.562, allocations: 275.5 kB / 0.6509 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002406/1.565, allocations: 391.6 kB / 0.6513 GB, free: 101.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (782): * Single equations (assignments): 773 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002439/1.567, allocations: 471.7 kB / 0.6517 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/1.569, allocations: 321.6 kB / 0.652 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/1.584, allocations: 2.871 MB / 0.6548 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01246/1.596, allocations: 2.425 MB / 0.6572 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.203e-05/1.596, allocations: 3.625 kB / 0.6572 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-05/1.596, allocations: 9.375 kB / 0.6572 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/1.617, allocations: 8.782 MB / 0.6658 GB, free: 99.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.617, allocations: 3.875 kB / 0.6658 GB, free: 99.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/1.618, allocations: 265.9 kB / 0.666 GB, free: 99.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00404/1.622, allocations: 0.9957 MB / 0.667 GB, free: 98.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003239/1.623, allocations: 20.78 kB / 0.667 GB, free: 98.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006394/1.629, allocations: 4.727 MB / 0.6716 GB, free: 95.87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008559/1.63, allocations: 1.389 MB / 0.673 GB, free: 94.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.64, allocations: 5.604 MB / 0.6785 GB, free: 92.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008785/1.641, allocations: 374.4 kB / 0.6788 GB, free: 91.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000518/1.642, allocations: 16.61 kB / 0.6788 GB, free: 91.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/1.644, allocations: 112.5 kB / 0.6789 GB, free: 91.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/1.644, allocations: 108.8 kB / 0.6791 GB, free: 91.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/1.644, allocations: 53.28 kB / 0.6791 GB, free: 91.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003508/1.648, allocations: 2.027 MB / 0.6811 GB, free: 91.03 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.34e-07/1.648, allocations: 0 / 0.6811 GB, free: 91.03 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006753/1.655, allocations: 0.8996 MB / 0.682 GB, free: 91.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004929/1.655, allocations: 159.4 kB / 0.6821 GB, free: 90.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0102/1.665, allocations: 5.217 MB / 0.6872 GB, free: 88.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.674e-06/1.665, allocations: 0 / 0.6872 GB, free: 88.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004405/1.67, allocations: 2.103 MB / 0.6893 GB, free: 86.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.672, allocations: 353.2 kB / 0.6896 GB, free: 86.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.689, allocations: 8.23 MB / 0.6976 GB, free: 79.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00513/1.695, allocations: 3.309 MB / 0.7009 GB, free: 76.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.696, allocations: 281.5 kB / 0.7011 GB, free: 76.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.887e-06/1.696, allocations: 4 kB / 0.7011 GB, free: 76.25 MB / 458.7 MB Notification: Performance of Templates: time 0.4315/2.127, allocations: 121.5 MB / 0.8197 GB, free: 135.4 MB / 490.7 MB