Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.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.FreeBodies2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.r_0.1.|body.r_0.2.|body.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.r_0.1.|bodyBox.r_0.2.|bodyBox.r_0.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.r_0.1.|bodyCylinder.r_0.2.|bodyCylinder.r_0.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.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.r_0.1.|bodyShape.r_0.2.|bodyShape.r_0.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002792/0.002796, allocations: 360.6 kB / 15.95 MB, free: 6.203 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.147/4.147, allocations: 388.9 MB / 405.6 MB, free: 9.566 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.003506/0.003506, allocations: 227.6 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.6399/0.6399, allocations: 80.04 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5107/0.6367, allocations: 99.36 MB / 0.7771 GB, free: 2.316 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.6371, allocations: 82.7 kB / 0.7772 GB, free: 2.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9922/1.629, allocations: 141.6 MB / 0.9155 GB, free: 84.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.967e-06/1.629, allocations: 0 / 0.9155 GB, free: 84.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008797/1.63, allocations: 152.2 kB / 0.9157 GB, free: 84.46 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.07172/1.702, allocations: 9.287 MB / 0.9247 GB, free: 81.39 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.702, allocations: 9.688 kB / 0.9247 GB, free: 81.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04954/1.752, allocations: 6.038 MB / 0.9306 GB, free: 80.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03469/1.786, allocations: 9.524 MB / 0.9399 GB, free: 79.94 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007789/1.787, allocations: 0.5551 MB / 0.9405 GB, free: 79.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004464/1.792, allocations: 0.7676 MB / 0.9412 GB, free: 79.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05719/1.849, allocations: 17.42 MB / 0.9582 GB, free: 75.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000737/1.85, allocations: 105.3 kB / 0.9583 GB, free: 75.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003858/1.854, allocations: 363 kB / 0.9587 GB, free: 75.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004044/1.858, allocations: 1.597 MB / 0.9603 GB, free: 75.63 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05027/1.908, allocations: 14.05 MB / 0.974 GB, free: 73.26 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.127/2.035, allocations: 78.85 MB / 1.051 GB, free: 6.523 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03525/2.07, allocations: 6.942 MB / 1.058 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00998/2.08, allocations: 3.356 MB / 1.061 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4001/2.481, allocations: 14.58 MB / 1.075 GB, free: 94.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.593e-05/2.481, allocations: 62.84 kB / 1.075 GB, free: 94.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=259): time 9.538e-06/2.481, allocations: 0 / 1.075 GB, free: 94.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=287): time 0.139/2.62, allocations: 27.46 MB / 1.102 GB, free: 89.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005405/2.625, allocations: 6.251 MB / 1.108 GB, free: 83.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01798/2.643, allocations: 6.576 MB / 1.115 GB, free: 83.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001042/2.644, allocations: 72.12 kB / 1.115 GB, free: 83.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005587/2.65, allocations: 5.275 MB / 1.12 GB, free: 80.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002468/2.653, allocations: 1.184 MB / 1.121 GB, free: 80.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/2.655, allocations: 189.8 kB / 1.121 GB, free: 80.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001117/2.656, allocations: 0.7178 MB / 1.122 GB, free: 79.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01093/2.667, allocations: 3.927 MB / 1.126 GB, free: 79.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01635/2.683, allocations: 9.752 MB / 1.135 GB, free: 72.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/2.698, allocations: 5.973 MB / 1.141 GB, free: 72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002818/2.698, allocations: 60.62 kB / 1.141 GB, free: 72 MB / 490.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.08062/2.779, allocations: 16.37 MB / 1.157 GB, free: 66.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/2.779, allocations: 91.78 kB / 1.157 GB, free: 66.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03535/2.814, allocations: 7.699 MB / 1.165 GB, free: 64.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02989/2.844, allocations: 3.918 MB / 1.169 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01474/2.859, allocations: 2.298 MB / 1.171 GB, free: 63.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02425/2.884, allocations: 13.6 MB / 1.184 GB, free: 53.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/2.899, allocations: 0.8589 MB / 1.185 GB, free: 52.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002952/2.902, allocations: 0.5917 MB / 1.186 GB, free: 52.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1195): * Single equations (assignments): 1170 * Array equations: 11 * 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 {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 prepare postOptimizeDAE: time 0.01101/2.913, allocations: 3.42 MB / 1.189 GB, free: 49.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/2.915, allocations: 0.5823 MB / 1.189 GB, free: 48.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02857/2.944, allocations: 7.593 MB / 1.197 GB, free: 42.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02428/2.968, allocations: 6.74 MB / 1.203 GB, free: 37.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-05/2.968, allocations: 8 kB / 1.203 GB, free: 37.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.023e-05/2.968, allocations: 20.17 kB / 1.203 GB, free: 37.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02188/2.99, allocations: 7.424 MB / 1.211 GB, free: 31.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.121e-05/2.99, allocations: 0 / 1.211 GB, free: 31.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006516/2.997, allocations: 0.6055 MB / 1.211 GB, free: 31.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01726/3.014, allocations: 3.136 MB / 1.214 GB, free: 29.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001093/3.015, allocations: 93.84 kB / 1.214 GB, free: 29.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/3.036, allocations: 14.01 MB / 1.228 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004436/3.041, allocations: 6.02 MB / 1.234 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03453/3.075, allocations: 11.62 MB / 1.245 GB, free: 13.27 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/3.078, allocations: 0.6379 MB / 1.246 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002626/3.081, allocations: 71.97 kB / 1.246 GB, free: 12.54 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00759/3.088, allocations: 384.4 kB / 1.246 GB, free: 12.16 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001476/3.09, allocations: 209.6 kB / 1.247 GB, free: 11.96 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004548/3.09, allocations: 95.92 kB / 1.247 GB, free: 11.87 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01337/3.104, allocations: 4.088 MB / 1.251 GB, free: 7.797 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.032e-06/3.104, allocations: 0 / 1.251 GB, free: 7.797 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01947/3.123, allocations: 2.038 MB / 1.253 GB, free: 5.766 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[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 (233): * Single equations (assignments): 216 * Array equations: 3 * 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.002022/3.126, allocations: 234.4 kB / 1.253 GB, free: 5.543 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.4208/3.546, allocations: 11.27 MB / 1.264 GB, free: 97.68 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/3.546, allocations: 3.938 kB / 1.264 GB, free: 97.68 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01851/3.565, allocations: 5.337 MB / 1.269 GB, free: 96.13 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01121/3.576, allocations: 0.8671 MB / 1.27 GB, free: 96.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0544/3.631, allocations: 22.38 MB / 1.292 GB, free: 86.95 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01502/3.646, allocations: 5.408 MB / 1.297 GB, free: 86.05 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.02852/3.674, allocations: 2.928 MB / 1.3 GB, free: 85.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003692/3.678, allocations: 426.3 kB / 1.3 GB, free: 85.79 MB / 0.4949 GB Notification: Performance of SimCode: time 2.154e-06/3.678, allocations: 0 / 1.3 GB, free: 85.79 MB / 0.4949 GB Notification: Performance of Templates: time 0.2641/3.942, allocations: 74.97 MB / 1.374 GB, free: 54.6 MB / 0.4949 GB