Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002587/0.002592, allocations: 349.5 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.81/3.81, allocations: 341.5 MB / 358.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003516/0.003516, allocations: 222.1 kB / 397.9 MB, free: 4.914 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5296/0.5296, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004833, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.08988, allocations: 48.7 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4631/0.5531, allocations: 88.53 MB / 0.6932 GB, free: 24.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.5534, allocations: 75.97 kB / 0.6933 GB, free: 24.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7669/1.32, allocations: 95.34 MB / 0.7864 GB, free: 84.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.178e-06/1.32, allocations: 0 / 0.7864 GB, free: 84.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004918/1.321, allocations: 82.45 kB / 0.7865 GB, free: 84.57 MB / 410.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.02134/1.342, allocations: 4.769 MB / 0.7911 GB, free: 82.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/1.342, allocations: 9.156 kB / 0.7911 GB, free: 82.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03693/1.379, allocations: 4.251 MB / 0.7953 GB, free: 82.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02211/1.402, allocations: 7.447 MB / 0.8025 GB, free: 81.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003423/1.402, allocations: 248.3 kB / 0.8028 GB, free: 81.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/1.404, allocations: 358.9 kB / 0.8031 GB, free: 81.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02211/1.426, allocations: 6.817 MB / 0.8098 GB, free: 79.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002929/1.426, allocations: 52.95 kB / 0.8098 GB, free: 79.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000755/1.427, allocations: 157.2 kB / 0.81 GB, free: 79.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001694/1.429, allocations: 0.5872 MB / 0.8106 GB, free: 79.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/1.446, allocations: 4.948 MB / 0.8154 GB, free: 78.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04741/1.494, allocations: 28.27 MB / 0.843 GB, free: 58.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004056/1.498, allocations: 0.7248 MB / 0.8437 GB, free: 58.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/1.498, allocations: 213.7 kB / 0.8439 GB, free: 58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.044e-05/1.498, allocations: 7.422 kB / 0.8439 GB, free: 58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/1.498, allocations: 46.47 kB / 0.844 GB, free: 57.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 3.146e-06/1.498, allocations: 0 / 0.844 GB, free: 57.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.01336/1.512, allocations: 2.153 MB / 0.8461 GB, free: 57.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.512, allocations: 239.1 kB / 0.8463 GB, free: 57.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/1.523, allocations: 4.753 MB / 0.8509 GB, free: 55.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/1.524, allocations: 37.45 kB / 0.851 GB, free: 55.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002722/1.526, allocations: 2.756 MB / 0.8537 GB, free: 53.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/1.527, allocations: 198.6 kB / 0.8538 GB, free: 52.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/1.527, allocations: 68 kB / 0.8539 GB, free: 52.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002222/1.527, allocations: 455.5 kB / 0.8543 GB, free: 52.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/1.529, allocations: 0.8148 MB / 0.8551 GB, free: 51.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003451/1.533, allocations: 3.43 MB / 0.8585 GB, free: 46.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003867/1.537, allocations: 1.574 MB / 0.86 GB, free: 45.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.365e-05/1.537, allocations: 28 kB / 0.8601 GB, free: 45.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01195/1.549, allocations: 4.082 MB / 0.864 GB, free: 41.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.609e-05/1.549, allocations: 48 kB / 0.8641 GB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/1.549, allocations: 92 kB / 0.8642 GB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001378/1.549, allocations: 136 kB / 0.8643 GB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004737/1.554, allocations: 0.8542 MB / 0.8651 GB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001406/1.554, allocations: 184.7 kB / 0.8653 GB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006215/1.56, allocations: 0.6272 MB / 0.8659 GB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006738/1.561, allocations: 232 kB / 0.8662 GB, free: 39 MB / 410.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.003814/1.565, allocations: 1.623 MB / 0.8677 GB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/1.566, allocations: 383.1 kB / 0.8681 GB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/1.567, allocations: 401.4 kB / 0.8685 GB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.567, allocations: 4.609 kB / 0.8685 GB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.567, allocations: 0 / 0.8685 GB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/1.567, allocations: 7.984 kB / 0.8685 GB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.579, allocations: 4.56 MB / 0.8729 GB, free: 31.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.579, allocations: 12.94 kB / 0.873 GB, free: 31.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/1.579, allocations: 102.5 kB / 0.8731 GB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.206e-05/1.579, allocations: 16 kB / 0.8731 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/1.579, allocations: 28 kB / 0.8731 GB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.881e-05/1.579, allocations: 19.92 kB / 0.8731 GB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-05/1.579, allocations: 23.36 kB / 0.8731 GB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/1.581, allocations: 1.104 MB / 0.8742 GB, free: 30.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/1.583, allocations: 0.5086 MB / 0.8747 GB, free: 29.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.585, allocations: 31.98 kB / 0.8747 GB, free: 29.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/1.587, allocations: 63.94 kB / 0.8748 GB, free: 29.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.587, allocations: 71.67 kB / 0.8749 GB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/1.587, allocations: 28 kB / 0.8749 GB, free: 29.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.008655/1.596, allocations: 3.141 MB / 0.878 GB, free: 26.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.596, allocations: 4 kB / 0.878 GB, free: 26.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005597/1.602, allocations: 0.8571 MB / 0.8788 GB, free: 25.58 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.0003354/1.602, allocations: 147 kB / 0.879 GB, free: 25.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005042/1.607, allocations: 1.891 MB / 0.8808 GB, free: 23.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/1.607, allocations: 4 kB / 0.8808 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/1.608, allocations: 222.5 kB / 0.881 GB, free: 23.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005563/1.613, allocations: 0.6313 MB / 0.8816 GB, free: 22.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/1.631, allocations: 8.274 MB / 0.8897 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005546/1.637, allocations: 2.939 MB / 0.8926 GB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005957/1.643, allocations: 1.153 MB / 0.8937 GB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007797/1.643, allocations: 203.4 kB / 0.8939 GB, free: 9.988 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/1.643, allocations: 0 / 0.8939 GB, free: 9.988 MB / 410.7 MB Notification: Performance of Templates: time 0.4082/2.052, allocations: 27.52 MB / 0.9208 GB, free: 90.95 MB / 426.7 MB