Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Bodies.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.004/2.004, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.64e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2645, allocations: 48.68 MB / 320 MB, free: 14.37 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4003, allocations: 87.79 MB / 407.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.4005, allocations: 71.97 kB / 407.9 MB, free: 8.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6173/1.018, allocations: 94.96 MB / 0.491 GB, free: 69.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.928e-06/1.018, allocations: 0 / 0.491 GB, free: 69.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006361/1.019, allocations: 82.58 kB / 0.4911 GB, free: 69.27 MB / 378.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.02263/1.041, allocations: 4.098 MB / 0.4951 GB, free: 65.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/1.041, allocations: 8.031 kB / 0.4951 GB, free: 65.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06377/1.105, allocations: 5.986 MB / 0.501 GB, free: 59.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02214/1.127, allocations: 8.969 MB / 0.5097 GB, free: 50.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/1.128, allocations: 112 kB / 0.5098 GB, free: 50.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/1.129, allocations: 215.8 kB / 0.5101 GB, free: 49.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009228/1.138, allocations: 4.075 MB / 0.514 GB, free: 45.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/1.15, allocations: 5.837 MB / 0.5197 GB, free: 39.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000234/1.15, allocations: 63.45 kB / 0.5198 GB, free: 39.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00058/1.151, allocations: 16 kB / 0.5198 GB, free: 39.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001148/1.152, allocations: 0.5797 MB / 0.5204 GB, free: 38.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03416/1.186, allocations: 27.18 MB / 0.5469 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/1.187, allocations: 325.2 kB / 0.5472 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/1.187, allocations: 156.4 kB / 0.5474 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/1.187, allocations: 11.52 kB / 0.5474 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/1.187, allocations: 42.48 kB / 0.5474 GB, free: 10.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.95e-06/1.187, allocations: 0 / 0.5474 GB, free: 10.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.007314/1.195, allocations: 1.484 MB / 0.5489 GB, free: 8.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/1.195, allocations: 243.3 kB / 0.5491 GB, free: 8.523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007213/1.202, allocations: 3.417 MB / 0.5524 GB, free: 5.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/1.202, allocations: 25.7 kB / 0.5525 GB, free: 5.059 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/1.204, allocations: 2.631 MB / 0.555 GB, free: 2.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/1.204, allocations: 166.4 kB / 0.5552 GB, free: 2.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/1.204, allocations: 4 kB / 0.5552 GB, free: 2.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002077/1.205, allocations: 454.2 kB / 0.5556 GB, free: 1.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/1.206, allocations: 0.6667 MB / 0.5563 GB, free: 1.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003354/1.209, allocations: 3.232 MB / 0.5594 GB, free: 12.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/1.212, allocations: 1.428 MB / 0.5608 GB, free: 11.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-05/1.212, allocations: 28 kB / 0.5609 GB, free: 11.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.00845/1.221, allocations: 3.13 MB / 0.5639 GB, free: 7.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.364e-05/1.221, allocations: 52.7 kB / 0.564 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/1.221, allocations: 92.5 kB / 0.5641 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/1.221, allocations: 136 kB / 0.5642 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/1.224, allocations: 0.8539 MB / 0.565 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001891/1.225, allocations: 191.4 kB / 0.5652 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005229/1.23, allocations: 0.4992 MB / 0.5657 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006835/1.231, allocations: 228 kB / 0.5659 GB, free: 5.918 MB / 394.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.0006429/1.231, allocations: 352.1 kB / 0.5662 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009195/1.232, allocations: 339.7 kB / 0.5666 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009433/1.233, allocations: 345.2 kB / 0.5669 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.233, allocations: 4 kB / 0.5669 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.233, allocations: 7.938 kB / 0.5669 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.233, allocations: 3.953 kB / 0.5669 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008932/1.242, allocations: 3.469 MB / 0.5703 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.242, allocations: 8 kB / 0.5703 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/1.243, allocations: 79.84 kB / 0.5704 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.259e-05/1.243, allocations: 12 kB / 0.5704 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/1.243, allocations: 15.95 kB / 0.5704 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.3e-05/1.243, allocations: 19.92 kB / 0.5704 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-05/1.243, allocations: 15.94 kB / 0.5704 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/1.245, allocations: 2.062 MB / 0.5725 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.246, allocations: 440.6 kB / 0.5729 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004564/1.247, allocations: 15.98 kB / 0.5729 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.248, allocations: 55.94 kB / 0.5729 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/1.248, allocations: 59.75 kB / 0.573 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/1.248, allocations: 20 kB / 0.573 GB, free: 13.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006068/1.255, allocations: 2.405 MB / 0.5754 GB, free: 11.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.865e-06/1.255, allocations: 0 / 0.5754 GB, free: 11.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005194/1.26, allocations: 0.8328 MB / 0.5762 GB, free: 10.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0003214/1.26, allocations: 129.6 kB / 0.5763 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003644/1.264, allocations: 1.565 MB / 0.5778 GB, free: 8.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.264, allocations: 0 / 0.5778 GB, free: 8.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/1.264, allocations: 160.1 kB / 0.578 GB, free: 8.734 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/1.268, allocations: 0.5504 MB / 0.5785 GB, free: 8.184 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/1.283, allocations: 5.818 MB / 0.5842 GB, free: 2.191 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006483/1.289, allocations: 2.938 MB / 0.5871 GB, free: 15.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/1.29, allocations: 211.4 kB / 0.5873 GB, free: 15.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.09e-06/1.29, allocations: 0 / 0.5873 GB, free: 15.02 MB / 426.7 MB Notification: Performance of Templates: time 0.3189/1.609, allocations: 43.17 MB / 0.6294 GB, free: 100.9 MB / 426.7 MB