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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.143/2.143, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.606e-05, allocations: 4 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2777, allocations: 54.86 MB / 358.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.4217, allocations: 94.47 MB / 452.5 MB, free: 316 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.422, allocations: 75.97 kB / 452.6 MB, free: 240 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5688/0.9908, allocations: 94.95 MB / 0.5347 GB, free: 33.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.877e-06/0.9908, allocations: 0 / 0.5347 GB, free: 33.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003416/0.9912, allocations: 83.92 kB / 0.5348 GB, free: 33.29 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.01107/1.002, allocations: 4.093 MB / 0.5388 GB, free: 29.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.002, allocations: 12.03 kB / 0.5388 GB, free: 29.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03324/1.036, allocations: 5.99 MB / 0.5447 GB, free: 23.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02229/1.058, allocations: 8.959 MB / 0.5534 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/1.058, allocations: 112 kB / 0.5535 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/1.059, allocations: 219.8 kB / 0.5537 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009063/1.068, allocations: 4.075 MB / 0.5577 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/1.08, allocations: 5.844 MB / 0.5634 GB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002298/1.08, allocations: 59.47 kB / 0.5635 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000471/1.081, allocations: 16 kB / 0.5635 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001158/1.082, allocations: 0.5913 MB / 0.5641 GB, free: 2.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04283/1.125, allocations: 27.17 MB / 0.5906 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/1.126, allocations: 317.2 kB / 0.5909 GB, free: 6.316 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/1.126, allocations: 156.4 kB / 0.591 GB, free: 6.148 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/1.126, allocations: 19.91 kB / 0.5911 GB, free: 6.129 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/1.126, allocations: 38.56 kB / 0.5911 GB, free: 6.082 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.631e-06/1.126, allocations: 0 / 0.5911 GB, free: 6.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.007922/1.134, allocations: 1.473 MB / 0.5925 GB, free: 4.598 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/1.134, allocations: 247.3 kB / 0.5928 GB, free: 4.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008451/1.143, allocations: 3.409 MB / 0.5961 GB, free: 0.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.201e-05/1.143, allocations: 25.7 kB / 0.5961 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002958/1.146, allocations: 2.635 MB / 0.5987 GB, free: 14.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/1.146, allocations: 166.5 kB / 0.5989 GB, free: 14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/1.146, allocations: 0 / 0.5989 GB, free: 14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003711/1.146, allocations: 458 kB / 0.5993 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/1.148, allocations: 0.6628 MB / 0.5999 GB, free: 12.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/1.152, allocations: 3.24 MB / 0.6031 GB, free: 8.328 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/1.154, allocations: 1.436 MB / 0.6045 GB, free: 6.891 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.985e-05/1.154, allocations: 24 kB / 0.6045 GB, free: 6.867 MB / 442.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.007478/1.162, allocations: 3.13 MB / 0.6076 GB, free: 3.734 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-05/1.162, allocations: 51.98 kB / 0.6076 GB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.162, allocations: 99.98 kB / 0.6077 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/1.162, allocations: 132 kB / 0.6079 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/1.166, allocations: 0.8539 MB / 0.6087 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001879/1.166, allocations: 183.2 kB / 0.6089 GB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/1.171, allocations: 0.503 MB / 0.6094 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006241/1.171, allocations: 236 kB / 0.6096 GB, free: 1.684 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 () * 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.0006335/1.172, allocations: 357.7 kB / 0.6099 GB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007843/1.173, allocations: 343.7 kB / 0.6102 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008821/1.174, allocations: 345.2 kB / 0.6106 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/1.174, allocations: 4 kB / 0.6106 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.032e-06/1.174, allocations: 3.938 kB / 0.6106 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.174, allocations: 0 / 0.6106 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/1.182, allocations: 3.459 MB / 0.614 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.182, allocations: 12.25 kB / 0.614 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/1.182, allocations: 83.84 kB / 0.6141 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-05/1.182, allocations: 12 kB / 0.6141 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/1.182, allocations: 12.19 kB / 0.6141 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.298e-05/1.182, allocations: 27.86 kB / 0.6141 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-05/1.182, allocations: 19.89 kB / 0.6141 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/1.184, allocations: 2.053 MB / 0.6161 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.186, allocations: 420.5 kB / 0.6165 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004052/1.186, allocations: 15.98 kB / 0.6165 GB, free: 9.727 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.187, allocations: 55.94 kB / 0.6166 GB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/1.187, allocations: 59.75 kB / 0.6167 GB, free: 9.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/1.187, allocations: 24 kB / 0.6167 GB, free: 9.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005452/1.193, allocations: 2.401 MB / 0.619 GB, free: 7.184 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.183e-06/1.193, allocations: 0 / 0.619 GB, free: 7.184 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005038/1.198, allocations: 0.8328 MB / 0.6198 GB, free: 6.348 MB / 458.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.0002881/1.198, allocations: 127 kB / 0.62 GB, free: 6.215 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003478/1.202, allocations: 1.569 MB / 0.6215 GB, free: 4.668 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.136e-06/1.202, allocations: 0 / 0.6215 GB, free: 4.668 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/1.202, allocations: 161.3 kB / 0.6216 GB, free: 4.512 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/1.206, allocations: 0.5389 MB / 0.6222 GB, free: 3.969 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3157/1.521, allocations: 5.816 MB / 0.6278 GB, free: 108.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004452/1.526, allocations: 2.941 MB / 0.6307 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006621/1.526, allocations: 202.4 kB / 0.6309 GB, free: 107.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.002e-06/1.526, allocations: 0 / 0.6309 GB, free: 107.4 MB / 458.7 MB Notification: Performance of Templates: time 0.06896/1.595, allocations: 43.17 MB / 0.6731 GB, free: 101.9 MB / 458.7 MB