Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.412/2.412, allocations: 234.9 MB / 251.1 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006139/0.0006141, allocations: 15.98 kB / 314.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3501, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1704/0.5206, allocations: 95.23 MB / 465 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.5209, allocations: 79.91 kB / 465.1 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6986/1.22, allocations: 98.28 MB / 0.5502 GB, free: 21.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.825e-06/1.22, allocations: 0 / 0.5502 GB, free: 21.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004085/1.22, allocations: 76 kB / 0.5503 GB, free: 21.78 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: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.01831/1.238, allocations: 4.778 MB / 0.5549 GB, free: 16.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.238, allocations: 8.031 kB / 0.5549 GB, free: 16.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04486/1.283, allocations: 5.982 MB / 0.5608 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02787/1.311, allocations: 9.025 MB / 0.5696 GB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/1.312, allocations: 254.5 kB / 0.5698 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001623/1.313, allocations: 351.8 kB / 0.5702 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02828/1.341, allocations: 6.89 MB / 0.5769 GB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000357/1.342, allocations: 63.39 kB / 0.577 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008841/1.343, allocations: 152 kB / 0.5771 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002554/1.345, allocations: 0.5879 MB / 0.5777 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02614/1.372, allocations: 5.01 MB / 0.5826 GB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06344/1.435, allocations: 28.34 MB / 0.6102 GB, free: 6.824 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004346/1.439, allocations: 0.7115 MB / 0.6109 GB, free: 6.066 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.671e-05/1.44, allocations: 20.22 kB / 0.611 GB, free: 6.047 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/1.44, allocations: 42.56 kB / 0.611 GB, free: 5.996 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.986e-06/1.44, allocations: 0 / 0.611 GB, free: 5.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.01433/1.454, allocations: 2.135 MB / 0.6131 GB, free: 3.848 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/1.454, allocations: 247.3 kB / 0.6133 GB, free: 3.551 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01395/1.468, allocations: 4.754 MB / 0.618 GB, free: 14.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/1.468, allocations: 37.7 kB / 0.618 GB, free: 14.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003669/1.472, allocations: 2.531 MB / 0.6205 GB, free: 12.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/1.473, allocations: 194.1 kB / 0.6207 GB, free: 12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004271/1.473, allocations: 68 kB / 0.6207 GB, free: 11.94 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003916/1.473, allocations: 462.2 kB / 0.6212 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003014/1.476, allocations: 0.8186 MB / 0.622 GB, free: 10.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005921/1.482, allocations: 3.422 MB / 0.6253 GB, free: 5.914 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004962/1.487, allocations: 1.577 MB / 0.6268 GB, free: 4.336 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000155/1.488, allocations: 28 kB / 0.6269 GB, free: 4.309 MB / 458.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01302/1.501, allocations: 3.853 MB / 0.6306 GB, free: 460 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.501, allocations: 48.56 kB / 0.6307 GB, free: 412 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/1.501, allocations: 96 kB / 0.6308 GB, free: 316 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/1.501, allocations: 136 kB / 0.6309 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005116/1.506, allocations: 0.8538 MB / 0.6317 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002455/1.507, allocations: 183.9 kB / 0.6319 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006752/1.513, allocations: 0.6234 MB / 0.6325 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009236/1.514, allocations: 236 kB / 0.6327 GB, free: 14.28 MB / 474.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 () * Number of clocked 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.005203/1.52, allocations: 1.629 MB / 0.6343 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/1.521, allocations: 379.1 kB / 0.6347 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/1.522, allocations: 397.8 kB / 0.6351 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.522, allocations: 11.94 kB / 0.6351 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.522, allocations: 0 / 0.6351 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/1.522, allocations: 0 / 0.6351 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/1.536, allocations: 4.566 MB / 0.6395 GB, free: 7.062 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.536, allocations: 12 kB / 0.6396 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/1.537, allocations: 95.78 kB / 0.6396 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.809e-05/1.537, allocations: 16 kB / 0.6397 GB, free: 6.941 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/1.537, allocations: 24.67 kB / 0.6397 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-05/1.537, allocations: 23.92 kB / 0.6397 GB, free: 6.895 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.07e-05/1.537, allocations: 23.94 kB / 0.6397 GB, free: 6.871 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/1.539, allocations: 1.112 MB / 0.6408 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.541, allocations: 483.9 kB / 0.6413 GB, free: 5.066 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/1.542, allocations: 31.94 kB / 0.6413 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002451/1.545, allocations: 60.12 kB / 0.6414 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/1.545, allocations: 83.67 kB / 0.6414 GB, free: 4.895 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/1.545, allocations: 24 kB / 0.6415 GB, free: 4.871 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01061/1.556, allocations: 3.141 MB / 0.6445 GB, free: 1.738 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.556, allocations: 0 / 0.6445 GB, free: 1.738 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005603/1.561, allocations: 0.8532 MB / 0.6454 GB, free: 0.8828 MB / 474.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 () * Number of clocked 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.0004155/1.562, allocations: 147 kB / 0.6455 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.3337/1.896, allocations: 1.884 MB / 0.6473 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/1.896, allocations: 1.938 kB / 0.6474 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005762/1.896, allocations: 228.7 kB / 0.6476 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004911/1.901, allocations: 0.6195 MB / 0.6482 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/1.921, allocations: 8.678 MB / 0.6566 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005274/1.926, allocations: 2.937 MB / 0.6595 GB, free: 113.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.928, allocations: 231.8 kB / 0.6597 GB, free: 113.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.374e-06/1.928, allocations: 0 / 0.6597 GB, free: 113.3 MB / 474.7 MB Notification: Performance of Templates: time 0.09762/2.025, allocations: 46.46 MB / 0.7051 GB, free: 104.4 MB / 474.7 MB