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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 1.922/1.922, allocations: 209.3 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004361, allocations: 8 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2868, allocations: 48.7 MB / 331.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4201, allocations: 88.54 MB / 419.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.4204, allocations: 75.95 kB / 419.9 MB, free: 5.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5855/1.006, allocations: 96.09 MB / 0.5039 GB, free: 87.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.006, allocations: 0 / 0.5039 GB, free: 87.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003691/1.006, allocations: 81.84 kB / 0.504 GB, free: 87.33 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.01464/1.021, allocations: 4.777 MB / 0.5086 GB, free: 84.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.021, allocations: 11.03 kB / 0.5086 GB, free: 84.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03254/1.054, allocations: 5.986 MB / 0.5145 GB, free: 81.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02224/1.076, allocations: 9.021 MB / 0.5233 GB, free: 72.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/1.076, allocations: 247.4 kB / 0.5235 GB, free: 72.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/1.078, allocations: 347.4 kB / 0.5239 GB, free: 72.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/1.094, allocations: 6.874 MB / 0.5306 GB, free: 64.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002571/1.094, allocations: 59.45 kB / 0.5306 GB, free: 64.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007956/1.095, allocations: 154.1 kB / 0.5308 GB, free: 64.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001186/1.096, allocations: 0.584 MB / 0.5314 GB, free: 63.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/1.11, allocations: 5.016 MB / 0.5362 GB, free: 58.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03694/1.147, allocations: 28.33 MB / 0.5639 GB, free: 29.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/1.15, allocations: 0.7233 MB / 0.5646 GB, free: 29.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-05/1.15, allocations: 15.12 kB / 0.5646 GB, free: 29.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/1.15, allocations: 38.56 kB / 0.5647 GB, free: 29.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.724e-06/1.15, allocations: 0 / 0.5647 GB, free: 29.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.01032/1.161, allocations: 2.15 MB / 0.5668 GB, free: 26.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/1.161, allocations: 239.3 kB / 0.567 GB, free: 26.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009616/1.17, allocations: 4.247 MB / 0.5712 GB, free: 22.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/1.171, allocations: 33.7 kB / 0.5712 GB, free: 22.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002215/1.173, allocations: 2.533 MB / 0.5737 GB, free: 19.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/1.173, allocations: 189 kB / 0.5738 GB, free: 19.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/1.173, allocations: 75.94 kB / 0.5739 GB, free: 19.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/1.174, allocations: 462.2 kB / 0.5744 GB, free: 19.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/1.176, allocations: 0.8148 MB / 0.5751 GB, free: 18.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/1.179, allocations: 3.403 MB / 0.5785 GB, free: 13.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/1.182, allocations: 1.58 MB / 0.58 GB, free: 12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.381e-05/1.182, allocations: 24 kB / 0.58 GB, free: 11.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.009157/1.191, allocations: 3.85 MB / 0.5838 GB, free: 8.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/1.191, allocations: 44 kB / 0.5838 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.88e-05/1.191, allocations: 96 kB / 0.5839 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/1.191, allocations: 132 kB / 0.5841 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/1.195, allocations: 0.8577 MB / 0.5849 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001338/1.195, allocations: 183.5 kB / 0.5851 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/1.2, allocations: 0.6232 MB / 0.5857 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006/1.201, allocations: 228 kB / 0.5859 GB, free: 5.965 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 () * 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.003571/1.204, allocations: 1.639 MB / 0.5875 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008942/1.205, allocations: 379.1 kB / 0.5879 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/1.207, allocations: 397.4 kB / 0.5882 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.863e-06/1.207, allocations: 4 kB / 0.5882 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.207, allocations: 8 kB / 0.5882 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.965e-06/1.207, allocations: 0 / 0.5882 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/1.217, allocations: 4.556 MB / 0.5927 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.217, allocations: 12 kB / 0.5927 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/1.217, allocations: 107.9 kB / 0.5928 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.647e-05/1.217, allocations: 19.98 kB / 0.5928 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/1.217, allocations: 24 kB / 0.5929 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.321e-05/1.217, allocations: 19.94 kB / 0.5929 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-05/1.217, allocations: 19.88 kB / 0.5929 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003106/1.22, allocations: 2.846 MB / 0.5957 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/1.222, allocations: 0.5038 MB / 0.5962 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001/1.223, allocations: 27.95 kB / 0.5962 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/1.226, allocations: 59.94 kB / 0.5962 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.226, allocations: 75.67 kB / 0.5963 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/1.226, allocations: 24 kB / 0.5963 GB, free: 10.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009159/1.235, allocations: 3.145 MB / 0.5994 GB, free: 7.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.46e-06/1.235, allocations: 3.938 kB / 0.5994 GB, free: 7.285 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00546/1.24, allocations: 0.8533 MB / 0.6003 GB, free: 6.43 MB / 410.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.0003648/1.241, allocations: 150.9 kB / 0.6004 GB, free: 6.273 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004737/1.246, allocations: 1.883 MB / 0.6022 GB, free: 4.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/1.246, allocations: 12 kB / 0.6022 GB, free: 4.402 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004903/1.246, allocations: 218.5 kB / 0.6025 GB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/1.25, allocations: 0.6265 MB / 0.6031 GB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/1.27, allocations: 8.656 MB / 0.6115 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006614/1.277, allocations: 2.936 MB / 0.6144 GB, free: 7.754 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008227/1.278, allocations: 235.4 kB / 0.6146 GB, free: 7.523 MB / 426.7 MB Notification: Performance of SimCode: time 1.779e-06/1.278, allocations: 0 / 0.6146 GB, free: 7.523 MB / 426.7 MB Notification: Performance of Templates: time 0.3244/1.602, allocations: 46.46 MB / 0.66 GB, free: 99.65 MB / 426.7 MB