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.251/2.251, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000749/0.0007492, allocations: 20 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3111, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4563, allocations: 95.23 MB / 464.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.4566, allocations: 75.97 kB / 464.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5775/1.034, allocations: 96.08 MB / 0.5475 GB, free: 24.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.793e-06/1.034, allocations: 0 / 0.5475 GB, free: 24.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006419/1.035, allocations: 80 kB / 0.5476 GB, free: 23.94 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.02534/1.06, allocations: 4.778 MB / 0.5523 GB, free: 19.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/1.06, allocations: 8.031 kB / 0.5523 GB, free: 19.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06404/1.124, allocations: 5.986 MB / 0.5581 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02247/1.147, allocations: 9.021 MB / 0.5669 GB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/1.147, allocations: 250.5 kB / 0.5672 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/1.149, allocations: 355.7 kB / 0.5675 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/1.179, allocations: 6.865 MB / 0.5742 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004846/1.179, allocations: 55.47 kB / 0.5743 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/1.181, allocations: 152 kB / 0.5744 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002754/1.184, allocations: 0.5918 MB / 0.575 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02709/1.211, allocations: 5.021 MB / 0.5799 GB, free: 6.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06901/1.28, allocations: 28.33 MB / 0.6076 GB, free: 9.016 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/1.284, allocations: 0.7152 MB / 0.6083 GB, free: 8.254 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.216e-05/1.284, allocations: 12.3 kB / 0.6083 GB, free: 8.242 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/1.284, allocations: 46.69 kB / 0.6083 GB, free: 8.188 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 4.397e-06/1.284, allocations: 0 / 0.6083 GB, free: 8.188 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.01128/1.295, allocations: 2.143 MB / 0.6104 GB, free: 6.031 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/1.295, allocations: 243.7 kB / 0.6106 GB, free: 5.738 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/1.306, allocations: 4.232 MB / 0.6148 GB, free: 1.512 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.692e-05/1.306, allocations: 37.7 kB / 0.6148 GB, free: 1.469 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003115/1.309, allocations: 2.531 MB / 0.6173 GB, free: 14.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/1.31, allocations: 198.1 kB / 0.6175 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/1.31, allocations: 68 kB / 0.6175 GB, free: 14.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003717/1.31, allocations: 458.2 kB / 0.618 GB, free: 14.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/1.312, allocations: 0.8148 MB / 0.6188 GB, free: 13.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004724/1.317, allocations: 3.411 MB / 0.6221 GB, free: 8.645 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003658/1.321, allocations: 1.572 MB / 0.6236 GB, free: 7.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-05/1.321, allocations: 31.95 kB / 0.6237 GB, free: 7.039 MB / 458.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01023/1.331, allocations: 3.85 MB / 0.6274 GB, free: 3.184 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.174e-05/1.331, allocations: 44 kB / 0.6275 GB, free: 3.141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/1.332, allocations: 100 kB / 0.6276 GB, free: 3.043 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/1.332, allocations: 132.3 kB / 0.6277 GB, free: 2.914 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/1.337, allocations: 0.8578 MB / 0.6285 GB, free: 2.055 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003505/1.337, allocations: 183.2 kB / 0.6287 GB, free: 1.875 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009407/1.347, allocations: 0.631 MB / 0.6293 GB, free: 1.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/1.348, allocations: 228 kB / 0.6295 GB, free: 1.016 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 () * 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.006405/1.354, allocations: 1.613 MB / 0.6311 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/1.356, allocations: 387.1 kB / 0.6315 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/1.358, allocations: 397.4 kB / 0.6319 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/1.358, allocations: 7.938 kB / 0.6319 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.358, allocations: 7.938 kB / 0.6319 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.358, allocations: 3.984 kB / 0.6319 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/1.376, allocations: 4.558 MB / 0.6363 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.553e-05/1.376, allocations: 15.98 kB / 0.6363 GB, free: 9.785 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/1.377, allocations: 103.8 kB / 0.6364 GB, free: 9.684 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.156e-05/1.377, allocations: 16 kB / 0.6365 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/1.377, allocations: 23.95 kB / 0.6365 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.151e-05/1.377, allocations: 23.92 kB / 0.6365 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.743e-05/1.377, allocations: 16.47 kB / 0.6365 GB, free: 9.605 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/1.381, allocations: 2.85 MB / 0.6393 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.384, allocations: 487.9 kB / 0.6398 GB, free: 5.684 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.385, allocations: 27.98 kB / 0.6398 GB, free: 5.656 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/1.388, allocations: 63.94 kB / 0.6399 GB, free: 5.594 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/1.388, allocations: 75.62 kB / 0.6399 GB, free: 5.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/1.388, allocations: 28 kB / 0.64 GB, free: 5.492 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01319/1.402, allocations: 3.137 MB / 0.643 GB, free: 2.363 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.611e-06/1.402, allocations: 0 / 0.643 GB, free: 2.363 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007124/1.409, allocations: 0.8611 MB / 0.6439 GB, free: 1.5 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.0004479/1.409, allocations: 143 kB / 0.644 GB, free: 1.348 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.2829/1.692, allocations: 1.881 MB / 0.6458 GB, free: 119.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/1.692, allocations: 1.969 kB / 0.6458 GB, free: 119.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000458/1.693, allocations: 231.1 kB / 0.6461 GB, free: 119.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004195/1.697, allocations: 0.6222 MB / 0.6467 GB, free: 119.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02253/1.72, allocations: 8.65 MB / 0.6551 GB, free: 115.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00543/1.725, allocations: 2.938 MB / 0.658 GB, free: 114.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007282/1.726, allocations: 225.6 kB / 0.6582 GB, free: 114.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.739e-06/1.726, allocations: 3.406 kB / 0.6582 GB, free: 114.6 MB / 474.7 MB Notification: Performance of Templates: time 0.07413/1.8, allocations: 46.46 MB / 0.7036 GB, free: 105.3 MB / 474.7 MB