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/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.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.196/2.196, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004358, allocations: 12 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.4641, allocations: 99.56 MB / 468.8 MB, free: 6.992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4644, allocations: 71.97 kB / 468.9 MB, free: 6.922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5161/0.9805, allocations: 82.06 MB / 0.538 GB, free: 33.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.526e-06/0.9806, allocations: 0 / 0.538 GB, free: 33.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002008/0.9808, allocations: 80 kB / 0.5381 GB, free: 33.84 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.01171/0.9925, allocations: 4.176 MB / 0.5422 GB, free: 29.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.9926, allocations: 8.031 kB / 0.5422 GB, free: 29.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/1.005, allocations: 2.326 MB / 0.5445 GB, free: 27.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/1.019, allocations: 5.223 MB / 0.5496 GB, free: 21.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/1.02, allocations: 316.3 kB / 0.5499 GB, free: 21.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/1.021, allocations: 427.8 kB / 0.5503 GB, free: 21.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/1.045, allocations: 10.39 MB / 0.5604 GB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/1.045, allocations: 67.41 kB / 0.5605 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001202/1.046, allocations: 207.9 kB / 0.5607 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001605/1.048, allocations: 0.9945 MB / 0.5617 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01907/1.067, allocations: 8.445 MB / 0.5699 GB, free: 40 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06967/1.137, allocations: 48.29 MB / 0.6171 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/1.148, allocations: 3.577 MB / 0.6206 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0145/1.163, allocations: 6.993 MB / 0.6274 GB, free: 3.113 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.194e-05/1.163, allocations: 63.48 kB / 0.6275 GB, free: 3.043 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 5.516e-06/1.163, allocations: 0 / 0.6275 GB, free: 3.043 MB / 458.7 MB Notification: Performance of matching and sorting (n=155): time 0.04708/1.21, allocations: 14.06 MB / 0.6412 GB, free: 4.746 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001682/1.212, allocations: 1.604 MB / 0.6428 GB, free: 2.973 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2777/1.489, allocations: 3.467 MB / 0.6461 GB, free: 119.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000326/1.49, allocations: 46.27 kB / 0.6462 GB, free: 119.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002454/1.492, allocations: 3.08 MB / 0.6492 GB, free: 118.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008835/1.493, allocations: 0.6318 MB / 0.6498 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004571/1.494, allocations: 122.9 kB / 0.6499 GB, free: 117.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004266/1.494, allocations: 0.5628 MB / 0.6505 GB, free: 117.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004458/1.499, allocations: 1.998 MB / 0.6524 GB, free: 117.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006254/1.505, allocations: 5.784 MB / 0.6581 GB, free: 112.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006015/1.511, allocations: 3.328 MB / 0.6613 GB, free: 112.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/1.511, allocations: 39.5 kB / 0.6614 GB, free: 112.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.0195/1.531, allocations: 8.213 MB / 0.6694 GB, free: 111.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/1.531, allocations: 65 kB / 0.6695 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006146/1.537, allocations: 2.536 MB / 0.6719 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006744/1.544, allocations: 1.136 MB / 0.673 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/1.555, allocations: 1.378 MB / 0.6744 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/1.566, allocations: 4.752 MB / 0.679 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0121/1.578, allocations: 385.4 kB / 0.6794 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/1.58, allocations: 381.5 kB / 0.6798 GB, free: 108.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 738 * 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.008441/1.588, allocations: 2.063 MB / 0.6818 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/1.59, allocations: 341.6 kB / 0.6821 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/1.604, allocations: 2.945 MB / 0.685 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01197/1.616, allocations: 2.468 MB / 0.6874 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.254e-05/1.616, allocations: 5.656 kB / 0.6874 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-05/1.616, allocations: 10.61 kB / 0.6874 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02659/1.643, allocations: 9.218 MB / 0.6964 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/1.643, allocations: 3.312 kB / 0.6964 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/1.645, allocations: 249.8 kB / 0.6966 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003703/1.648, allocations: 1.016 MB / 0.6976 GB, free: 102.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003333/1.649, allocations: 42.92 kB / 0.6977 GB, free: 102.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006656/1.655, allocations: 4.919 MB / 0.7025 GB, free: 99.17 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009765/1.656, allocations: 1.476 MB / 0.7039 GB, free: 97.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.667, allocations: 5.606 MB / 0.7094 GB, free: 95.13 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.668, allocations: 392.9 kB / 0.7098 GB, free: 94.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007731/1.669, allocations: 35.56 kB / 0.7098 GB, free: 94.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/1.671, allocations: 131.5 kB / 0.7099 GB, free: 94.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003971/1.671, allocations: 103.1 kB / 0.71 GB, free: 94.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.672, allocations: 47.84 kB / 0.7101 GB, free: 94.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004734/1.676, allocations: 2.407 MB / 0.7124 GB, free: 93.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.31e-07/1.676, allocations: 3.938 kB / 0.7124 GB, free: 93.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006745/1.683, allocations: 1.005 MB / 0.7134 GB, free: 93.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * 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.0005216/1.684, allocations: 176 kB / 0.7136 GB, free: 93.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01426/1.698, allocations: 5.425 MB / 0.7189 GB, free: 88.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.698, allocations: 0 / 0.7189 GB, free: 88.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007885/1.706, allocations: 2.117 MB / 0.7209 GB, free: 86.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/1.71, allocations: 418.3 kB / 0.7213 GB, free: 86.35 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/1.73, allocations: 11.49 MB / 0.7326 GB, free: 75.92 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005225/1.736, allocations: 3.288 MB / 0.7358 GB, free: 73.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.737, allocations: 287.5 kB / 0.736 GB, free: 73.15 MB / 474.7 MB Notification: Performance of SimCode: time 1.794e-06/1.737, allocations: 0 / 0.736 GB, free: 73.15 MB / 474.7 MB Notification: Performance of Templates: time 0.4777/2.214, allocations: 122.8 MB / 0.8559 GB, free: 126.6 MB / 490.7 MB