Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.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.FlyingBodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|BodyBox1.body.Q.1.|BodyBox1.body.Q.2.|BodyBox1.body.Q.3.|BodyBox1.body.Q.4.|BodyBox1.body.frame_a.r_0.1.|BodyBox1.body.frame_a.r_0.2.|BodyBox1.body.frame_a.r_0.3.|BodyBox1.body.w_a.1.|BodyBox1.body.w_a.2.|BodyBox1.body.w_a.3.|BodyBox1.v_0.1.|BodyBox1.v_0.2.|BodyBox1.v_0.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004025/0.004031, allocations: 346.6 kB / 15.94 MB, free: 6.219 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.777/3.777, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003584/0.003583, allocations: 218.1 kB / 397.9 MB, free: 4.977 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.5343/0.5343, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004849, allocations: 16 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09579, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/0.5183, allocations: 89.86 MB / 0.6945 GB, free: 22.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/0.5187, allocations: 83.11 kB / 0.6946 GB, free: 22.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112/1.631, allocations: 194.6 MB / 0.8846 GB, free: 25.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.631, allocations: 0 / 0.8846 GB, free: 25.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005069/1.631, allocations: 156 kB / 0.8848 GB, free: 25.8 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: 3302 * Number of variables: 3302 Notification: Performance of Generate backend data structure: time 0.06737/1.699, allocations: 10.13 MB / 0.8947 GB, free: 15.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.699, allocations: 8.031 kB / 0.8947 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09475/1.794, allocations: 10.28 MB / 0.9047 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05172/1.845, allocations: 10.43 MB / 0.9149 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001629/1.847, allocations: 0.6255 MB / 0.9155 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008697/1.856, allocations: 0.8432 MB / 0.9163 GB, free: 9.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7967/2.653, allocations: 21.63 MB / 0.9375 GB, free: 55.03 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006457/2.653, allocations: 78.53 kB / 0.9375 GB, free: 55.03 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005472/2.659, allocations: 382.8 kB / 0.9379 GB, free: 55.03 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006237/2.665, allocations: 2.458 MB / 0.9403 GB, free: 55 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0867/2.752, allocations: 21.09 MB / 0.9609 GB, free: 54.89 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.212/2.964, allocations: 80.83 MB / 1.04 GB, free: 10.46 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03001/2.994, allocations: 9.742 MB / 1.049 GB, free: 6.234 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01334/3.007, allocations: 6.42 MB / 1.056 GB, free: 1.086 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006746/3.008, allocations: 75.38 kB / 1.056 GB, free: 1.031 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.313e-05/3.008, allocations: 90.02 kB / 1.056 GB, free: 0.9375 MB / 426.8 MB Notification: Performance of pre-optimization done (n=583): time 1.192e-05/3.008, allocations: 2.484 kB / 1.056 GB, free: 0.9375 MB / 426.8 MB Notification: Performance of matching and sorting (n=611): time 0.5035/3.512, allocations: 42.18 MB / 1.097 GB, free: 85.18 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005414/3.517, allocations: 6.136 MB / 1.103 GB, free: 79.5 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01811/3.535, allocations: 6.449 MB / 1.109 GB, free: 79.13 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001561/3.537, allocations: 110 kB / 1.109 GB, free: 79.1 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006074/3.543, allocations: 5.844 MB / 1.115 GB, free: 76.95 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004199/3.547, allocations: 2.241 MB / 1.117 GB, free: 75.61 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002866/3.55, allocations: 242.2 kB / 1.117 GB, free: 75.61 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001331/3.552, allocations: 0.8478 MB / 1.118 GB, free: 75.28 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01684/3.568, allocations: 6.364 MB / 1.125 GB, free: 75.25 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02314/3.592, allocations: 12.6 MB / 1.137 GB, free: 67.48 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02339/3.615, allocations: 8.945 MB / 1.146 GB, free: 67.4 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004098/3.616, allocations: 63.34 kB / 1.146 GB, free: 67.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.09143/3.707, allocations: 21.41 MB / 1.167 GB, free: 61.4 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004216/3.708, allocations: 94.19 kB / 1.167 GB, free: 61.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06659/3.774, allocations: 13 MB / 1.179 GB, free: 57.34 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03223/3.806, allocations: 3.232 MB / 1.182 GB, free: 56.86 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03167/3.838, allocations: 2.986 MB / 1.185 GB, free: 56.54 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/3.856, allocations: 10.45 MB / 1.196 GB, free: 47.88 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02626/3.882, allocations: 1.096 MB / 1.197 GB, free: 47.68 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004989/3.887, allocations: 0.673 MB / 1.197 GB, free: 47.59 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 972 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],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],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1501): * Single equations (assignments): 1467 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02154/3.909, allocations: 4.502 MB / 1.202 GB, free: 45.65 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004075/3.913, allocations: 0.6545 MB / 1.202 GB, free: 45.29 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07739/3.99, allocations: 14.65 MB / 1.217 GB, free: 35.29 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06754/4.058, allocations: 13.13 MB / 1.229 GB, free: 24.46 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001057/4.058, allocations: 8 kB / 1.229 GB, free: 24.45 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001888/4.058, allocations: 23.11 kB / 1.23 GB, free: 24.45 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5678/4.626, allocations: 33.78 MB / 1.263 GB, free: 72.34 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-05/4.626, allocations: 17.38 kB / 1.263 GB, free: 72.34 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01157/4.638, allocations: 1.137 MB / 1.264 GB, free: 72.34 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03249/4.67, allocations: 3.614 MB / 1.267 GB, free: 72.23 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002077/4.673, allocations: 143.2 kB / 1.267 GB, free: 72.23 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02973/4.702, allocations: 13.61 MB / 1.281 GB, free: 64.54 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005886/4.708, allocations: 5.9 MB / 1.286 GB, free: 59.12 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07094/4.779, allocations: 22.08 MB / 1.308 GB, free: 57.88 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006906/4.786, allocations: 1.734 MB / 1.31 GB, free: 57.79 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003486/4.79, allocations: 125.5 kB / 1.31 GB, free: 57.79 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009864/4.8, allocations: 0.6 MB / 1.31 GB, free: 57.79 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002522/4.802, allocations: 375.9 kB / 1.311 GB, free: 57.78 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001252/4.803, allocations: 156.7 kB / 1.311 GB, free: 57.78 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01209/4.816, allocations: 4.009 MB / 1.315 GB, free: 57.56 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.31e-07/4.816, allocations: 0 / 1.315 GB, free: 57.56 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01653/4.832, allocations: 2.525 MB / 1.317 GB, free: 57.56 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 48 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],BodyBox1.v_0[1],BodyBox1.v_0[2],BodyBox1.v_0[3],BodyBox1.body.frame_a.r_0[1],BodyBox1.body.frame_a.r_0[2],BodyBox1.body.frame_a.r_0[3],BodyBox1.body.w_a[1],BodyBox1.body.w_a[2],BodyBox1.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (475): * Single equations (assignments): 449 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00251/4.835, allocations: 308.6 kB / 1.318 GB, free: 57.47 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.06154/4.896, allocations: 16.32 MB / 1.333 GB, free: 54.63 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/4.896, allocations: 2.875 kB / 1.333 GB, free: 54.63 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02209/4.918, allocations: 8.211 MB / 1.341 GB, free: 51.04 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01202/4.931, allocations: 0.9565 MB / 1.342 GB, free: 50.63 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06745/4.998, allocations: 30.7 MB / 1.372 GB, free: 33.32 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01765/5.016, allocations: 6.826 MB / 1.379 GB, free: 28.29 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.02182/5.038, allocations: 4.801 MB / 1.384 GB, free: 25.16 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004475/5.042, allocations: 0.5099 MB / 1.384 GB, free: 24.69 MB / 458.8 MB Notification: Performance of SimCode: time 2.094e-06/5.042, allocations: 0 / 1.384 GB, free: 24.69 MB / 458.8 MB Notification: Performance of Templates: time 0.5908/5.633, allocations: 84.25 MB / 1.467 GB, free: 75.55 MB / 474.8 MB