Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003085/0.003085, allocations: 363.1 kB / 15.95 MB, free: 6.164 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.185/4.185, allocations: 388.9 MB / 405.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003496/0.003496, allocations: 230.8 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6077/0.6077, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.0004941, allocations: 8 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 54.85 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.481/0.594, allocations: 95.23 MB / 0.7731 GB, free: 6.262 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.5944, allocations: 86.52 kB / 0.7732 GB, free: 6.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4809/1.075, allocations: 95.35 MB / 0.8663 GB, free: 14.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.075, allocations: 0 / 0.8663 GB, free: 14.65 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004715/1.076, allocations: 80 kB / 0.8663 GB, free: 14.57 MB / 458.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.02098/1.097, allocations: 4.774 MB / 0.871 GB, free: 9.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.097, allocations: 12.03 kB / 0.871 GB, free: 9.719 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03835/1.135, allocations: 4.249 MB / 0.8752 GB, free: 5.457 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0248/1.16, allocations: 7.452 MB / 0.8824 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004408/1.161, allocations: 246.6 kB / 0.8827 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/1.163, allocations: 359.7 kB / 0.883 GB, free: 13.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02522/1.188, allocations: 6.807 MB / 0.8897 GB, free: 5.961 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003533/1.188, allocations: 55.55 kB / 0.8897 GB, free: 5.906 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001187/1.189, allocations: 159.9 kB / 0.8899 GB, free: 5.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002077/1.192, allocations: 0.584 MB / 0.8905 GB, free: 5.164 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/1.211, allocations: 4.947 MB / 0.8953 GB, free: 220 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4042/1.615, allocations: 28.27 MB / 0.9229 GB, free: 90.83 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004257/1.62, allocations: 0.7156 MB / 0.9236 GB, free: 90.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005713/1.62, allocations: 210.9 kB / 0.9238 GB, free: 90.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/1.62, allocations: 15.91 kB / 0.9238 GB, free: 90.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/1.62, allocations: 42.36 kB / 0.9238 GB, free: 90.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=37): time 3.687e-06/1.62, allocations: 1.75 kB / 0.9238 GB, free: 90.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=37): time 0.01407/1.634, allocations: 2.145 MB / 0.9259 GB, free: 90.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/1.635, allocations: 245.9 kB / 0.9262 GB, free: 90.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01284/1.647, allocations: 4.763 MB / 0.9308 GB, free: 89.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/1.648, allocations: 32.95 kB / 0.9309 GB, free: 89.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003194/1.651, allocations: 2.744 MB / 0.9335 GB, free: 88.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/1.651, allocations: 207.2 kB / 0.9337 GB, free: 88.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/1.651, allocations: 70.75 kB / 0.9338 GB, free: 88.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/1.652, allocations: 448.1 kB / 0.9342 GB, free: 88.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/1.654, allocations: 0.8163 MB / 0.935 GB, free: 88.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004338/1.658, allocations: 3.425 MB / 0.9384 GB, free: 84.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004102/1.663, allocations: 1.569 MB / 0.9399 GB, free: 84.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.433e-05/1.663, allocations: 27.41 kB / 0.9399 GB, free: 84.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01207/1.675, allocations: 4.091 MB / 0.9439 GB, free: 84.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.093e-05/1.675, allocations: 44.62 kB / 0.944 GB, free: 84.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/1.675, allocations: 94.81 kB / 0.9441 GB, free: 84.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/1.675, allocations: 134.2 kB / 0.9442 GB, free: 84.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004787/1.68, allocations: 0.8514 MB / 0.945 GB, free: 84.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001597/1.68, allocations: 190.8 kB / 0.9452 GB, free: 84.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/1.686, allocations: 0.62 MB / 0.9458 GB, free: 84.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006718/1.687, allocations: 230.4 kB / 0.946 GB, free: 84.27 MB / 474.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.00417/1.691, allocations: 1.633 MB / 0.9476 GB, free: 84.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/1.693, allocations: 382.8 kB / 0.948 GB, free: 83.81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/1.694, allocations: 396.7 kB / 0.9484 GB, free: 83.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.694, allocations: 3.625 kB / 0.9484 GB, free: 83.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.694, allocations: 3.25 kB / 0.9484 GB, free: 83.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/1.694, allocations: 6.859 kB / 0.9484 GB, free: 83.76 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/1.705, allocations: 4.563 MB / 0.9528 GB, free: 81.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/1.705, allocations: 11.06 kB / 0.9528 GB, free: 81.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/1.706, allocations: 99.92 kB / 0.9529 GB, free: 81.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-05/1.706, allocations: 20.19 kB / 0.953 GB, free: 81.71 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/1.706, allocations: 24.62 kB / 0.953 GB, free: 81.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.952e-05/1.706, allocations: 22.3 kB / 0.953 GB, free: 81.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/1.706, allocations: 19.91 kB / 0.953 GB, free: 81.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/1.707, allocations: 1.116 MB / 0.9541 GB, free: 80.83 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.709, allocations: 487.6 kB / 0.9546 GB, free: 80.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006322/1.709, allocations: 27.19 kB / 0.9546 GB, free: 80.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/1.711, allocations: 65.2 kB / 0.9547 GB, free: 80.47 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/1.711, allocations: 75 kB / 0.9547 GB, free: 80.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/1.712, allocations: 25.41 kB / 0.9548 GB, free: 80.44 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008728/1.72, allocations: 3.145 MB / 0.9578 GB, free: 79.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.72, allocations: 0 / 0.9578 GB, free: 79.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005506/1.726, allocations: 0.8507 MB / 0.9587 GB, free: 79.25 MB / 474.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.0003697/1.726, allocations: 144.9 kB / 0.9588 GB, free: 79.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005007/1.731, allocations: 1.887 MB / 0.9606 GB, free: 78.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.92e-05/1.731, allocations: 3.812 kB / 0.9607 GB, free: 78.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004917/1.732, allocations: 223 kB / 0.9609 GB, free: 78.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006104/1.738, allocations: 0.6433 MB / 0.9615 GB, free: 78.24 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/1.756, allocations: 8.268 MB / 0.9696 GB, free: 73.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0055/1.762, allocations: 2.934 MB / 0.9724 GB, free: 72.59 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005793/1.768, allocations: 1.156 MB / 0.9736 GB, free: 72.47 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000817/1.768, allocations: 210 kB / 0.9738 GB, free: 72.46 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/1.768, allocations: 0 / 0.9738 GB, free: 72.46 MB / 474.7 MB Notification: Performance of Templates: time 0.1138/1.882, allocations: 27.51 MB / 1.001 GB, free: 64.28 MB / 474.7 MB