Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004209/0.004215, allocations: 361.5 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.113/4.113, allocations: 388.9 MB / 405.6 MB, free: 9.602 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.003558/0.003557, allocations: 234.1 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.5507/0.5507, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004783, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.09718, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.5654, allocations: 99.55 MB / 0.7773 GB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5657, allocations: 83.33 kB / 0.7774 GB, free: 1.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3684/0.9341, allocations: 81.32 MB / 0.8568 GB, free: 8.266 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.929e-06/0.9342, allocations: 3.984 kB / 0.8568 GB, free: 8.262 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003069/0.9345, allocations: 84 kB / 0.8569 GB, free: 8.18 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.02464/0.9592, allocations: 4.121 MB / 0.8609 GB, free: 3.988 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001716/0.9594, allocations: 11.97 kB / 0.8609 GB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02112/0.9806, allocations: 2.276 MB / 0.8631 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01387/0.9945, allocations: 3.983 MB / 0.867 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000518/0.9951, allocations: 312.3 kB / 0.8673 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002509/0.9976, allocations: 431.8 kB / 0.8677 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03328/1.031, allocations: 10.33 MB / 0.8778 GB, free: 1.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003569/1.031, allocations: 59.41 kB / 0.8779 GB, free: 1.461 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002296/1.034, allocations: 207.9 kB / 0.8781 GB, free: 1.258 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003405/1.037, allocations: 0.9946 MB / 0.879 GB, free: 264 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03799/1.075, allocations: 8.344 MB / 0.8872 GB, free: 7.891 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.446/1.521, allocations: 48.21 MB / 0.9343 GB, free: 72.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/1.537, allocations: 3.574 MB / 0.9378 GB, free: 72.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003844/1.541, allocations: 1.542 MB / 0.9393 GB, free: 72.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01729/1.558, allocations: 6.953 MB / 0.9461 GB, free: 70.17 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/1.558, allocations: 54.66 kB / 0.9461 GB, free: 70.13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 6.802e-06/1.558, allocations: 0 / 0.9461 GB, free: 70.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=155): time 0.06206/1.62, allocations: 14.02 MB / 0.9598 GB, free: 67.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001354/1.622, allocations: 1.588 MB / 0.9614 GB, free: 65.49 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008892/1.63, allocations: 3.897 MB / 0.9652 GB, free: 65.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004632/1.631, allocations: 49.28 kB / 0.9652 GB, free: 65.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002913/1.634, allocations: 3.141 MB / 0.9683 GB, free: 62.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.635, allocations: 0.6289 MB / 0.9689 GB, free: 62.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007896/1.636, allocations: 121.8 kB / 0.969 GB, free: 62.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004492/1.636, allocations: 0.5544 MB / 0.9695 GB, free: 61.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005152/1.642, allocations: 2.005 MB / 0.9715 GB, free: 61.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007978/1.65, allocations: 5.802 MB / 0.9772 GB, free: 55.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007644/1.657, allocations: 3.325 MB / 0.9804 GB, free: 54.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/1.658, allocations: 39.72 kB / 0.9805 GB, free: 54.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02462/1.682, allocations: 8.334 MB / 0.9886 GB, free: 51.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.682, allocations: 68.34 kB / 0.9887 GB, free: 51.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008932/1.691, allocations: 2.532 MB / 0.9911 GB, free: 50.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006155/1.698, allocations: 1.132 MB / 0.9922 GB, free: 50.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00829/1.706, allocations: 1.391 MB / 0.9936 GB, free: 50.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007558/1.713, allocations: 4.654 MB / 0.9981 GB, free: 47.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007179/1.721, allocations: 386.7 kB / 0.9985 GB, free: 47.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/1.722, allocations: 380.2 kB / 0.9989 GB, free: 47.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.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 (747): * Single equations (assignments): 738 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006268/1.729, allocations: 2.066 MB / 1.001 GB, free: 46.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009727/1.73, allocations: 342.4 kB / 1.001 GB, free: 45.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/1.74, allocations: 2.944 MB / 1.004 GB, free: 44.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008465/1.749, allocations: 2.468 MB / 1.006 GB, free: 44.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/1.749, allocations: 3.75 kB / 1.006 GB, free: 44.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.304e-05/1.749, allocations: 6.891 kB / 1.007 GB, free: 44.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02831/1.777, allocations: 9.223 MB / 1.016 GB, free: 37.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/1.777, allocations: 3.938 kB / 1.016 GB, free: 37.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.78, allocations: 254.9 kB / 1.016 GB, free: 37.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005416/1.785, allocations: 1.006 MB / 1.017 GB, free: 36.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004463/1.786, allocations: 39.8 kB / 1.017 GB, free: 36.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00834/1.794, allocations: 4.853 MB / 1.022 GB, free: 32.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001194/1.795, allocations: 1.448 MB / 1.023 GB, free: 30.83 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/1.809, allocations: 5.224 MB / 1.028 GB, free: 26.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/1.811, allocations: 402.4 kB / 1.028 GB, free: 25.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/1.812, allocations: 31.47 kB / 1.028 GB, free: 25.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/1.815, allocations: 125.3 kB / 1.029 GB, free: 25.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006072/1.816, allocations: 111.3 kB / 1.029 GB, free: 25.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.816, allocations: 50.89 kB / 1.029 GB, free: 25.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006444/1.823, allocations: 2.401 MB / 1.031 GB, free: 23.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.823, allocations: 0 / 1.031 GB, free: 23.74 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007569/1.83, allocations: 1.012 MB / 1.032 GB, free: 22.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009548/1.831, allocations: 177.8 kB / 1.032 GB, free: 22.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02232/1.854, allocations: 5.41 MB / 1.038 GB, free: 17.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/1.854, allocations: 4 kB / 1.038 GB, free: 17.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01046/1.864, allocations: 2.113 MB / 1.04 GB, free: 15.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007617/1.872, allocations: 438.3 kB / 1.04 GB, free: 15.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/1.911, allocations: 11.05 MB / 1.051 GB, free: 5.527 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01104/1.922, allocations: 3.304 MB / 1.054 GB, free: 2.531 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01324/1.935, allocations: 1.888 MB / 1.056 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001928/1.937, allocations: 239.4 kB / 1.056 GB, free: 420 kB / 474.7 MB Notification: Performance of SimCode: time 2.165e-06/1.938, allocations: 0 / 1.056 GB, free: 420 kB / 474.7 MB Notification: Performance of Templates: time 0.4938/2.431, allocations: 33.29 MB / 1.089 GB, free: 106.9 MB / 490.7 MB