Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.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.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.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.|body1.body.Q.1.|body1.body.Q.2.|body1.body.Q.3.|body1.body.Q.4.|body1.body.frame_a.r_0.1.|body1.body.frame_a.r_0.2.|body1.body.frame_a.r_0.3.|body1.body.w_a.1.|body1.body.w_a.2.|body1.body.w_a.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.body.Q.1.|body2.body.Q.2.|body2.body.Q.3.|body2.body.Q.4.|body2.body.frame_a.r_0.1.|body2.body.frame_a.r_0.2.|body2.body.frame_a.r_0.3.|body2.body.w_a.1.|body2.body.w_a.2.|body2.body.w_a.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.body.Q.1.|body3.body.Q.2.|body3.body.Q.3.|body3.body.Q.4.|body3.body.frame_a.r_0.1.|body3.body.frame_a.r_0.2.|body3.body.frame_a.r_0.3.|body3.body.w_a.1.|body3.body.w_a.2.|body3.body.w_a.3.|body3.v_0.1.|body3.v_0.2.|body3.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.InitializationConversion.Bodies") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005261/0.005261, allocations: 359.1 kB / 15.95 MB, free: 6.207 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.293/4.293, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003589/0.003589, allocations: 225.8 kB / 451 MB, free: 145.1 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.5317/0.5317, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006492/0.0006495, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1044, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5185/0.623, allocations: 95.37 MB / 0.7732 GB, free: 6.215 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003873/0.6235, allocations: 87.44 kB / 0.7733 GB, free: 6.168 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4596/1.083, allocations: 101.3 MB / 0.8723 GB, free: 8.352 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.083, allocations: 3.938 kB / 0.8723 GB, free: 8.348 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000433/1.084, allocations: 88 kB / 0.8723 GB, free: 8.262 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: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.05873/1.142, allocations: 6.891 MB / 0.8791 GB, free: 1.293 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.142, allocations: 8.031 kB / 0.8791 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04877/1.191, allocations: 5.644 MB / 0.8846 GB, free: 11.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3848/1.576, allocations: 12.87 MB / 0.8972 GB, free: 102 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006777/1.577, allocations: 308.2 kB / 0.8975 GB, free: 102 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003366/1.58, allocations: 439 kB / 0.8979 GB, free: 102 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07562/1.656, allocations: 10.56 MB / 0.9082 GB, free: 99.04 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006069/1.657, allocations: 83.31 kB / 0.9083 GB, free: 99.04 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002663/1.659, allocations: 204.5 kB / 0.9085 GB, free: 99.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0043/1.664, allocations: 1.049 MB / 0.9095 GB, free: 99.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03226/1.696, allocations: 9.184 MB / 0.9185 GB, free: 99 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07977/1.776, allocations: 51.17 MB / 0.9684 GB, free: 65.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01386/1.79, allocations: 3.85 MB / 0.9722 GB, free: 63.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004493/1.794, allocations: 1.966 MB / 0.9741 GB, free: 62.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/1.794, allocations: 24.62 kB / 0.9741 GB, free: 62.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/1.795, allocations: 59.58 kB / 0.9742 GB, free: 62.53 MB / 474.7 MB Notification: Performance of pre-optimization done (n=188): time 6.402e-06/1.795, allocations: 0 / 0.9742 GB, free: 62.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=216): time 0.08838/1.883, allocations: 22.46 MB / 0.9961 GB, free: 52.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004693/1.888, allocations: 6.167 MB / 1.002 GB, free: 46.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01259/1.9, allocations: 5.091 MB / 1.007 GB, free: 44.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007457/1.901, allocations: 60.84 kB / 1.007 GB, free: 44.35 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004931/1.906, allocations: 3.506 MB / 1.011 GB, free: 41.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002092/1.908, allocations: 0.9131 MB / 1.011 GB, free: 41.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/1.91, allocations: 142.2 kB / 1.012 GB, free: 41.08 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005876/1.91, allocations: 0.6088 MB / 1.012 GB, free: 40.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008632/1.919, allocations: 3.122 MB / 1.015 GB, free: 39.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0112/1.93, allocations: 7.448 MB / 1.023 GB, free: 31.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/1.941, allocations: 4.66 MB / 1.027 GB, free: 27.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001505/1.941, allocations: 44 kB / 1.027 GB, free: 27.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.08304/2.024, allocations: 15.8 MB / 1.043 GB, free: 15.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/2.024, allocations: 72 kB / 1.043 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0733/2.098, allocations: 9.005 MB / 1.051 GB, free: 7.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09443/2.192, allocations: 6.735 MB / 1.058 GB, free: 1.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01458/2.207, allocations: 1.696 MB / 1.06 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4312/2.638, allocations: 15.79 MB / 1.075 GB, free: 99.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0206/2.659, allocations: 0.7892 MB / 1.076 GB, free: 99.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003292/2.662, allocations: 457.2 kB / 1.076 GB, free: 99.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 694 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (870): * Single equations (assignments): 845 * 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 {(3,100.0%),(4,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.01102/2.673, allocations: 2.345 MB / 1.079 GB, free: 99.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002347/2.676, allocations: 449.6 kB / 1.079 GB, free: 99.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/2.68, allocations: 0.6125 MB / 1.08 GB, free: 99.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03851/2.718, allocations: 6.013 MB / 1.085 GB, free: 98.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.333e-05/2.718, allocations: 7.469 kB / 1.085 GB, free: 98.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.158e-05/2.719, allocations: 11.61 kB / 1.085 GB, free: 98.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03729/2.756, allocations: 10.45 MB / 1.096 GB, free: 98.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.082e-05/2.756, allocations: 2.656 kB / 1.096 GB, free: 98.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004542/2.76, allocations: 441.6 kB / 1.096 GB, free: 98.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.024/2.785, allocations: 3.601 MB / 1.1 GB, free: 97.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008458/2.785, allocations: 87.61 kB / 1.1 GB, free: 97.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/2.806, allocations: 13.62 MB / 1.113 GB, free: 90.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004419/2.81, allocations: 5.851 MB / 1.119 GB, free: 84.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03504/2.845, allocations: 10.29 MB / 1.129 GB, free: 83.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/2.848, allocations: 0.529 MB / 1.129 GB, free: 83.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002196/2.85, allocations: 75.62 kB / 1.129 GB, free: 83.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006728/2.857, allocations: 345 kB / 1.13 GB, free: 83.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001345/2.858, allocations: 187.7 kB / 1.13 GB, free: 83.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00066/2.859, allocations: 72.25 kB / 1.13 GB, free: 83.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009767/2.869, allocations: 3.219 MB / 1.133 GB, free: 82.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.41e-07/2.869, allocations: 0 / 1.133 GB, free: 82.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0115/2.88, allocations: 1.636 MB / 1.135 GB, free: 82.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.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]) * 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 (156): * Single equations (assignments): 139 * 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.001244/2.881, allocations: 216.5 kB / 1.135 GB, free: 82.51 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02664/2.908, allocations: 9.285 MB / 1.144 GB, free: 78.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/2.908, allocations: 0 / 1.144 GB, free: 78.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01473/2.923, allocations: 4.665 MB / 1.149 GB, free: 76.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008844/2.932, allocations: 0.6628 MB / 1.149 GB, free: 76.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03484/2.967, allocations: 16.07 MB / 1.165 GB, free: 68.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00874/2.975, allocations: 3.802 MB / 1.169 GB, free: 66.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0109/2.986, allocations: 2.27 MB / 1.171 GB, free: 66.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002086/2.989, allocations: 315.1 kB / 1.171 GB, free: 66.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/2.989, allocations: 0 / 1.171 GB, free: 66.59 MB / 490.7 MB Notification: Performance of Templates: time 0.1602/3.149, allocations: 64.52 MB / 1.234 GB, free: 11.61 MB / 490.7 MB