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.223/2.223, allocations: 234.9 MB / 250.5 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004371, allocations: 8 kB / 314.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3207, allocations: 54.88 MB / 369.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.1064/0.4271, allocations: 57.94 MB / 427.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0338/0.461, allocations: 13.41 MB / 440.5 MB, free: 3.277 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01153/0.4725, allocations: 295.2 kB / 440.8 MB, free: 2.988 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02084/0.4934, allocations: 2.944 MB / 443.8 MB, free: 32 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.08515/0.5786, allocations: 8.509 MB / 452.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004141/0.5828, allocations: 0.9167 MB / 453.2 MB, free: 6.582 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03842/0.6213, allocations: 18.06 MB / 471.3 MB, free: 4.496 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007976/0.6293, allocations: 4.204 MB / 475.5 MB, free: 244 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2763/0.9057, allocations: 1.261 MB / 476.7 MB, free: 20.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00378/0.9095, allocations: 1.852 MB / 478.6 MB, free: 20.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.9106, allocations: 139.2 kB / 478.7 MB, free: 20.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.913, allocations: 0.6169 MB / 479.3 MB, free: 20.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002899/0.916, allocations: 1.91 MB / 481.2 MB, free: 20.75 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.9176, allocations: 0.8053 MB / 482.1 MB, free: 20.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007161/0.9247, allocations: 5.452 MB / 487.5 MB, free: 20.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.262e-06/0.9248, allocations: 0 / 487.5 MB, free: 20.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.028e-06/0.9248, allocations: 0 / 487.5 MB, free: 20.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001745/0.925, allocations: 0 / 487.5 MB, free: 20.34 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.01219/0.9372, allocations: 4.66 MB / 492.2 MB, free: 18.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.9373, allocations: 9.969 kB / 492.2 MB, free: 18.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1112/1.049, allocations: 9.969 MB / 0.4904 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/1.061, allocations: 5.277 MB / 0.4955 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/1.061, allocations: 206.1 kB / 0.4957 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009514/1.062, allocations: 289.1 kB / 0.496 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/1.078, allocations: 7.003 MB / 0.5028 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00023/1.078, allocations: 50.78 kB / 0.5029 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006379/1.079, allocations: 131.5 kB / 0.503 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001695/1.08, allocations: 0.9937 MB / 0.504 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/1.093, allocations: 5.021 MB / 0.5089 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04238/1.136, allocations: 27.49 MB / 0.5357 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/1.139, allocations: 0.74 MB / 0.5365 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/1.139, allocations: 10.56 kB / 0.5365 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/1.14, allocations: 39.38 kB / 0.5365 GB, free: 14.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 4.719e-06/1.14, allocations: 0 / 0.5365 GB, free: 14.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.01186/1.151, allocations: 2.26 MB / 0.5387 GB, free: 12.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/1.152, allocations: 241.5 kB / 0.5389 GB, free: 12.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/1.164, allocations: 5.358 MB / 0.5442 GB, free: 8.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.785e-05/1.164, allocations: 35.7 kB / 0.5442 GB, free: 8.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002947/1.167, allocations: 2.529 MB / 0.5467 GB, free: 6.723 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/1.167, allocations: 195.4 kB / 0.5469 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/1.167, allocations: 71.56 kB / 0.5469 GB, free: 6.555 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003572/1.168, allocations: 461.9 kB / 0.5474 GB, free: 6.152 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/1.169, allocations: 0.7765 MB / 0.5481 GB, free: 5.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004321/1.174, allocations: 3.373 MB / 0.5514 GB, free: 1.293 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/1.177, allocations: 1.528 MB / 0.5529 GB, free: 292 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/1.177, allocations: 28 kB / 0.5529 GB, free: 264 kB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.009532/1.187, allocations: 3.764 MB / 0.5566 GB, free: 13.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.187, allocations: 51.98 kB / 0.5567 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/1.187, allocations: 92 kB / 0.5568 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/1.187, allocations: 138.1 kB / 0.5569 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003249/1.191, allocations: 0.8414 MB / 0.5577 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001995/1.191, allocations: 186.8 kB / 0.5579 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004906/1.196, allocations: 0.5641 MB / 0.5584 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006175/1.196, allocations: 234.2 kB / 0.5587 GB, free: 11.95 MB / 442.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.003779/1.2, allocations: 1.62 MB / 0.5602 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/1.201, allocations: 387.6 kB / 0.5606 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/1.203, allocations: 398.5 kB / 0.561 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/1.203, allocations: 8 kB / 0.561 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.203, allocations: 0 / 0.561 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.203, allocations: 8.031 kB / 0.561 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/1.215, allocations: 4.814 MB / 0.5657 GB, free: 6.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/1.215, allocations: 12.94 kB / 0.5657 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/1.215, allocations: 115.3 kB / 0.5658 GB, free: 6.203 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.104e-05/1.215, allocations: 20 kB / 0.5658 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/1.215, allocations: 34.34 kB / 0.5659 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-05/1.215, allocations: 21.44 kB / 0.5659 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-05/1.215, allocations: 26.97 kB / 0.5659 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/1.218, allocations: 1.236 MB / 0.5671 GB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/1.219, allocations: 0.5174 MB / 0.5676 GB, free: 4.352 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001051/1.22, allocations: 30.8 kB / 0.5677 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.222, allocations: 45.05 kB / 0.5677 GB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.223, allocations: 85.14 kB / 0.5678 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.326e-05/1.223, allocations: 35.25 kB / 0.5678 GB, free: 4.203 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008354/1.231, allocations: 3.607 MB / 0.5713 GB, free: 1.605 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.231, allocations: 0 / 0.5713 GB, free: 1.605 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005365/1.237, allocations: 0.8564 MB / 0.5722 GB, free: 0.8125 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (61): * Single equations (assignments): 61 * 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.000473/1.237, allocations: 165.5 kB / 0.5723 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004276/1.241, allocations: 1.87 MB / 0.5742 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/1.241, allocations: 4 kB / 0.5742 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005513/1.242, allocations: 269.3 kB / 0.5744 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004098/1.246, allocations: 0.6354 MB / 0.575 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/1.265, allocations: 8.803 MB / 0.5836 GB, free: 6.734 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006157/1.271, allocations: 2.945 MB / 0.5865 GB, free: 4.141 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000911/1.272, allocations: 239.4 kB / 0.5868 GB, free: 3.906 MB / 458.7 MB Notification: Performance of SimCode: time 1.836e-06/1.272, allocations: 4 kB / 0.5868 GB, free: 3.902 MB / 458.7 MB Notification: Performance of Templates: time 0.09221/1.365, allocations: 47.45 MB / 0.6331 GB, free: 5.23 MB / 0.4948 GB