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.Bodies.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.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|BodyBox1.frame_b.r_0.1.|BodyBox1.frame_b.r_0.2.|BodyBox1.frame_b.r_0.3.|BodyBox1.frame_b.f.1.|BodyBox1.frame_b.f.2.|BodyBox1.frame_b.f.3.|BodyBox1.frame_b.t.1.|BodyBox1.frame_b.t.2.|BodyBox1.frame_b.t.3.|BodyBox1.frameTranslation.frame_b.r_0.1.|BodyBox1.frameTranslation.frame_b.r_0.2.|BodyBox1.frameTranslation.frame_b.r_0.3.|BodyBox1.frameTranslation.frame_b.f.1.|BodyBox1.frameTranslation.frame_b.f.2.|BodyBox1.frameTranslation.frame_b.f.3.|BodyBox1.frameTranslation.frame_b.t.1.|BodyBox1.frameTranslation.frame_b.t.2.|BodyBox1.frameTranslation.frame_b.t.3.|bodyCylinder.frame_b.r_0.1.|bodyCylinder.frame_b.r_0.2.|bodyCylinder.frame_b.r_0.3.|bodyCylinder.frame_b.f.1.|bodyCylinder.frame_b.f.2.|bodyCylinder.frame_b.f.3.|bodyCylinder.frame_b.t.1.|bodyCylinder.frame_b.t.2.|bodyCylinder.frame_b.t.3.|bodyCylinder.frameTranslation.frame_b.r_0.1.|bodyCylinder.frameTranslation.frame_b.r_0.2.|bodyCylinder.frameTranslation.frame_b.r_0.3.|bodyCylinder.frameTranslation.frame_b.f.1.|bodyCylinder.frameTranslation.frame_b.f.2.|bodyCylinder.frameTranslation.frame_b.f.3.|bodyCylinder.frameTranslation.frame_b.t.1.|bodyCylinder.frameTranslation.frame_b.t.2.|bodyCylinder.frameTranslation.frame_b.t.3.|Fixed3.frame_b.r_0.1.|Fixed3.frame_b.r_0.2.|Fixed3.frame_b.r_0.3.|Fixed3.frame_b.f.1.|Fixed3.frame_b.f.2.|Fixed3.frame_b.f.3.|Fixed3.frame_b.t.1.|Fixed3.frame_b.t.2.|Fixed3.frame_b.t.3.|Fixed4.frame_b.r_0.1.|Fixed4.frame_b.r_0.2.|Fixed4.frame_b.r_0.3.|Fixed4.frame_b.f.1.|Fixed4.frame_b.f.2.|Fixed4.frame_b.f.3.|Fixed4.frame_b.t.1.|Fixed4.frame_b.t.2.|Fixed4.frame_b.t.3.|Fixed5.frame_b.r_0.1.|Fixed5.frame_b.r_0.2.|Fixed5.frame_b.r_0.3.|Fixed5.frame_b.f.1.|Fixed5.frame_b.f.2.|Fixed5.frame_b.f.3.|Fixed5.frame_b.t.1.|Fixed5.frame_b.t.2.|Fixed5.frame_b.t.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|Fixed2.frame_b.r_0.1.|Fixed2.frame_b.r_0.2.|Fixed2.frame_b.r_0.3.|Fixed2.frame_b.f.1.|Fixed2.frame_b.f.2.|Fixed2.frame_b.f.3.|Fixed2.frame_b.t.1.|Fixed2.frame_b.t.2.|Fixed2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.213/2.213, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.786e-05, allocations: 0 / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.369, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/0.6021, allocations: 95.15 MB / 459.7 MB, free: 1.324 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.6024, allocations: 75.95 kB / 459.8 MB, free: 1.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.633/1.235, allocations: 96.15 MB / 0.5429 GB, free: 107.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.356e-06/1.235, allocations: 0 / 0.5429 GB, free: 107.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003894/1.236, allocations: 81.75 kB / 0.543 GB, free: 107.3 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: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.0131/1.249, allocations: 4.086 MB / 0.5469 GB, free: 105.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.249, allocations: 9.031 kB / 0.547 GB, free: 105.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03255/1.282, allocations: 5.989 MB / 0.5528 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02351/1.305, allocations: 8.985 MB / 0.5616 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/1.306, allocations: 249.8 kB / 0.5618 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/1.307, allocations: 356.8 kB / 0.5622 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/1.323, allocations: 6.747 MB / 0.5687 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002411/1.323, allocations: 61.19 kB / 0.5688 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006059/1.324, allocations: 150 kB / 0.5689 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001167/1.325, allocations: 0.5883 MB / 0.5695 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/1.337, allocations: 4.819 MB / 0.5742 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03664/1.374, allocations: 28.34 MB / 0.6019 GB, free: 81.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003181/1.377, allocations: 0.7173 MB / 0.6026 GB, free: 80.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/1.377, allocations: 207.4 kB / 0.6028 GB, free: 80.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/1.377, allocations: 7.516 kB / 0.6028 GB, free: 80.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/1.377, allocations: 45.95 kB / 0.6029 GB, free: 80.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 4.537e-06/1.377, allocations: 0 / 0.6029 GB, free: 80.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.01022/1.388, allocations: 1.983 MB / 0.6048 GB, free: 80.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/1.388, allocations: 246.7 kB / 0.605 GB, free: 80.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008593/1.396, allocations: 4.12 MB / 0.6091 GB, free: 78.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/1.396, allocations: 33.7 kB / 0.6091 GB, free: 78.47 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.399, allocations: 2.532 MB / 0.6116 GB, free: 76.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/1.399, allocations: 204.4 kB / 0.6118 GB, free: 75.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/1.399, allocations: 68 kB / 0.6118 GB, free: 75.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/1.399, allocations: 458.3 kB / 0.6123 GB, free: 75.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/1.401, allocations: 0.7379 MB / 0.613 GB, free: 74.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/1.403, allocations: 3.317 MB / 0.6162 GB, free: 70.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002676/1.406, allocations: 1.523 MB / 0.6177 GB, free: 69 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.884e-05/1.406, allocations: 24 kB / 0.6177 GB, free: 68.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.007978/1.414, allocations: 3.681 MB / 0.6213 GB, free: 65.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.031e-05/1.414, allocations: 51.41 kB / 0.6214 GB, free: 65.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.31e-05/1.414, allocations: 92 kB / 0.6215 GB, free: 65.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/1.414, allocations: 140 kB / 0.6216 GB, free: 65.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/1.418, allocations: 0.8517 MB / 0.6224 GB, free: 64.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001371/1.418, allocations: 184.5 kB / 0.6226 GB, free: 64.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005275/1.423, allocations: 0.6254 MB / 0.6232 GB, free: 63.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005665/1.424, allocations: 232 kB / 0.6234 GB, free: 63.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005645/1.424, allocations: 432.8 kB / 0.6238 GB, free: 63.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008735/1.425, allocations: 379.1 kB / 0.6242 GB, free: 62.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/1.426, allocations: 398.2 kB / 0.6246 GB, free: 62.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.426, allocations: 7.953 kB / 0.6246 GB, free: 62.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.036e-06/1.426, allocations: 4 kB / 0.6246 GB, free: 62.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.039e-06/1.426, allocations: 3.656 kB / 0.6246 GB, free: 62.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009387/1.436, allocations: 4.552 MB / 0.629 GB, free: 58.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/1.436, allocations: 12 kB / 0.6291 GB, free: 58.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/1.436, allocations: 98.38 kB / 0.6291 GB, free: 58.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.179e-05/1.436, allocations: 20 kB / 0.6292 GB, free: 58.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/1.436, allocations: 20 kB / 0.6292 GB, free: 58.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.875e-05/1.436, allocations: 27.16 kB / 0.6292 GB, free: 58.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/1.436, allocations: 15.94 kB / 0.6292 GB, free: 58.37 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/1.438, allocations: 2.847 MB / 0.632 GB, free: 55.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/1.44, allocations: 491.9 kB / 0.6325 GB, free: 54.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009499/1.441, allocations: 20 kB / 0.6325 GB, free: 54.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/1.442, allocations: 63.94 kB / 0.6326 GB, free: 54.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.443, allocations: 71.73 kB / 0.6326 GB, free: 54.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/1.443, allocations: 35.64 kB / 0.6327 GB, free: 54.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006894/1.45, allocations: 3.032 MB / 0.6356 GB, free: 51.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.093e-06/1.45, allocations: 0 / 0.6356 GB, free: 51.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00526/1.455, allocations: 0.8571 MB / 0.6365 GB, free: 50.44 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002982/1.455, allocations: 146.8 kB / 0.6366 GB, free: 50.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003599/1.459, allocations: 1.801 MB / 0.6384 GB, free: 48.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.459, allocations: 0 / 0.6384 GB, free: 48.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/1.459, allocations: 226.5 kB / 0.6386 GB, free: 48.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/1.464, allocations: 0.6245 MB / 0.6392 GB, free: 47.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.477, allocations: 6.045 MB / 0.6451 GB, free: 41.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005436/1.483, allocations: 2.939 MB / 0.648 GB, free: 38.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00071/1.484, allocations: 227.4 kB / 0.6482 GB, free: 38.28 MB / 458.7 MB Notification: Performance of SimCode: time 2.179e-06/1.484, allocations: 0 / 0.6482 GB, free: 38.28 MB / 458.7 MB Notification: Performance of Templates: time 0.07407/1.558, allocations: 46.46 MB / 0.6935 GB, free: 8.441 MB / 474.7 MB