Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.002/2.002, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005553/0.0005555, allocations: 16 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3688, allocations: 48.69 MB / 331.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.5299, allocations: 88.54 MB / 420.3 MB, free: 5.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5303, allocations: 83.95 kB / 420.4 MB, free: 5.805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.705/1.235, allocations: 98.29 MB / 0.5065 GB, free: 86.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.382e-06/1.235, allocations: 0 / 0.5065 GB, free: 86.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005992/1.236, allocations: 83.03 kB / 0.5066 GB, free: 86.92 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.02477/1.261, allocations: 4.782 MB / 0.5113 GB, free: 83.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.261, allocations: 7.062 kB / 0.5113 GB, free: 83.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04668/1.308, allocations: 5.987 MB / 0.5172 GB, free: 79.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0288/1.336, allocations: 9.016 MB / 0.526 GB, free: 70.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/1.337, allocations: 248.2 kB / 0.5262 GB, free: 70.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001868/1.339, allocations: 350.8 kB / 0.5265 GB, free: 70.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/1.362, allocations: 6.899 MB / 0.5333 GB, free: 62.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003634/1.362, allocations: 59.45 kB / 0.5333 GB, free: 62.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001452/1.364, allocations: 150.6 kB / 0.5335 GB, free: 62.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001938/1.366, allocations: 0.584 MB / 0.534 GB, free: 62.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/1.384, allocations: 5.017 MB / 0.5389 GB, free: 57.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04519/1.429, allocations: 28.34 MB / 0.5666 GB, free: 28.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003954/1.433, allocations: 0.7192 MB / 0.5673 GB, free: 27.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/1.433, allocations: 7.281 kB / 0.5673 GB, free: 27.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/1.433, allocations: 42.5 kB / 0.5674 GB, free: 27.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.497e-06/1.433, allocations: 4 kB / 0.5674 GB, free: 27.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.01323/1.446, allocations: 2.146 MB / 0.5695 GB, free: 25.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/1.447, allocations: 247.3 kB / 0.5697 GB, free: 24.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01218/1.459, allocations: 4.758 MB / 0.5743 GB, free: 20.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.459, allocations: 33.7 kB / 0.5744 GB, free: 20.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002685/1.462, allocations: 2.529 MB / 0.5768 GB, free: 17.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/1.462, allocations: 196.8 kB / 0.577 GB, free: 17.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/1.462, allocations: 68 kB / 0.5771 GB, free: 17.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002167/1.462, allocations: 462.2 kB / 0.5775 GB, free: 16.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/1.465, allocations: 0.8148 MB / 0.5783 GB, free: 15.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004124/1.469, allocations: 3.422 MB / 0.5817 GB, free: 11.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/1.473, allocations: 1.577 MB / 0.5832 GB, free: 9.664 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.405e-05/1.473, allocations: 24 kB / 0.5832 GB, free: 9.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.0108/1.484, allocations: 3.85 MB / 0.587 GB, free: 5.785 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-05/1.484, allocations: 44 kB / 0.587 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/1.484, allocations: 103.9 kB / 0.5871 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/1.485, allocations: 132 kB / 0.5873 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/1.489, allocations: 0.8579 MB / 0.5881 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001652/1.489, allocations: 183.3 kB / 0.5883 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006126/1.495, allocations: 0.6232 MB / 0.5889 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006208/1.496, allocations: 232 kB / 0.5891 GB, free: 3.617 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.003933/1.5, allocations: 1.628 MB / 0.5907 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.501, allocations: 379.1 kB / 0.5911 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/1.502, allocations: 397.4 kB / 0.5914 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.502, allocations: 11.98 kB / 0.5914 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.502, allocations: 0 / 0.5914 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.502, allocations: 8 kB / 0.5915 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/1.514, allocations: 4.564 MB / 0.5959 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/1.514, allocations: 16.2 kB / 0.5959 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/1.515, allocations: 95.84 kB / 0.596 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.49e-05/1.515, allocations: 16 kB / 0.596 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/1.515, allocations: 20 kB / 0.5961 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-05/1.515, allocations: 23.92 kB / 0.5961 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-05/1.515, allocations: 19.88 kB / 0.5961 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/1.517, allocations: 1.112 MB / 0.5972 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/1.519, allocations: 0.5076 MB / 0.5977 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.52, allocations: 31.98 kB / 0.5977 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/1.523, allocations: 63.94 kB / 0.5978 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.523, allocations: 67.73 kB / 0.5978 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/1.523, allocations: 28 kB / 0.5979 GB, free: 10.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009665/1.532, allocations: 3.141 MB / 0.6009 GB, free: 7.055 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.532, allocations: 0 / 0.6009 GB, free: 7.055 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005322/1.538, allocations: 0.8533 MB / 0.6018 GB, free: 6.199 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.0003637/1.538, allocations: 156.2 kB / 0.6019 GB, free: 6.043 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005597/1.544, allocations: 1.886 MB / 0.6038 GB, free: 4.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.544, allocations: 0 / 0.6038 GB, free: 4.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005469/1.544, allocations: 230.4 kB / 0.604 GB, free: 3.957 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005238/1.55, allocations: 0.6307 MB / 0.6046 GB, free: 3.324 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/1.573, allocations: 8.675 MB / 0.6131 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006817/1.579, allocations: 2.944 MB / 0.6159 GB, free: 7.488 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000956/1.58, allocations: 227.4 kB / 0.6162 GB, free: 7.266 MB / 426.7 MB Notification: Performance of SimCode: time 1.913e-06/1.58, allocations: 0 / 0.6162 GB, free: 7.266 MB / 426.7 MB Notification: Performance of Templates: time 0.4201/2.001, allocations: 46.44 MB / 0.6615 GB, free: 98.99 MB / 426.7 MB