Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.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.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.1_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004044/0.004053, allocations: 351 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.721/3.721, 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.0036/0.0036, allocations: 218.1 kB / 397.9 MB, free: 4.961 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.4954/0.4954, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004516, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.09402, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4179/0.5119, allocations: 92.82 MB / 0.6974 GB, free: 19.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.5123, allocations: 79.97 kB / 0.6974 GB, free: 19.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6455/1.158, allocations: 81.13 MB / 0.7767 GB, free: 85.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.876e-06/1.158, allocations: 0 / 0.7767 GB, free: 85.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003031/1.158, allocations: 91.28 kB / 0.7768 GB, free: 85.43 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01726/1.175, allocations: 4.12 MB / 0.7808 GB, free: 83.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.175, allocations: 8.781 kB / 0.7808 GB, free: 83.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/1.194, allocations: 2.259 MB / 0.783 GB, free: 83.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/1.207, allocations: 3.978 MB / 0.7869 GB, free: 82.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/1.207, allocations: 318.8 kB / 0.7872 GB, free: 82.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002429/1.21, allocations: 426.2 kB / 0.7876 GB, free: 82.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03404/1.244, allocations: 10.33 MB / 0.7977 GB, free: 79.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004455/1.244, allocations: 61.78 kB / 0.7977 GB, free: 79.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003056/1.248, allocations: 204.2 kB / 0.7979 GB, free: 79.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003378/1.251, allocations: 0.9972 MB / 0.7989 GB, free: 79.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03352/1.285, allocations: 8.338 MB / 0.8071 GB, free: 78.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06984/1.354, allocations: 48.23 MB / 0.8542 GB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01802/1.373, allocations: 3.571 MB / 0.8576 GB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007343/1.38, allocations: 1.548 MB / 0.8592 GB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04096/1.421, allocations: 6.934 MB / 0.8659 GB, free: 35.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00561/1.427, allocations: 48.5 kB / 0.866 GB, free: 35.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 7.735e-06/1.427, allocations: 0 / 0.866 GB, free: 35.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.06724/1.494, allocations: 14.02 MB / 0.8797 GB, free: 23.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001562/1.496, allocations: 1.59 MB / 0.8812 GB, free: 21.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009098/1.505, allocations: 3.898 MB / 0.885 GB, free: 18.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004678/1.505, allocations: 49.45 kB / 0.8851 GB, free: 17.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002767/1.508, allocations: 3.137 MB / 0.8881 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.509, allocations: 0.6334 MB / 0.8888 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007501/1.51, allocations: 117.8 kB / 0.8889 GB, free: 14.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003938/1.51, allocations: 0.5583 MB / 0.8894 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005038/1.515, allocations: 1.999 MB / 0.8914 GB, free: 11.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009794/1.525, allocations: 5.8 MB / 0.897 GB, free: 3.793 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/1.536, allocations: 3.32 MB / 0.9003 GB, free: 488 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-05/1.536, allocations: 40 kB / 0.9003 GB, free: 448 kB / 410.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02566/1.562, allocations: 8.238 MB / 0.9084 GB, free: 8.188 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/1.562, allocations: 67.55 kB / 0.9084 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008936/1.571, allocations: 2.447 MB / 0.9108 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005517/1.576, allocations: 1.052 MB / 0.9118 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0088/1.585, allocations: 1.4 MB / 0.9132 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007318/1.593, allocations: 4.321 MB / 0.9174 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006828/1.599, allocations: 379.4 kB / 0.9178 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/1.601, allocations: 376.9 kB / 0.9181 GB, free: 13.88 MB / 442.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 (750): * Single equations (assignments): 741 * 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 {1} * 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.005423/1.606, allocations: 2.069 MB / 0.9202 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009605/1.607, allocations: 335.6 kB / 0.9205 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.617, allocations: 2.951 MB / 0.9234 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008808/1.626, allocations: 2.472 MB / 0.9258 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.626, allocations: 0 / 0.9258 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-05/1.626, allocations: 7.984 kB / 0.9258 GB, free: 6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3518/1.978, allocations: 9.22 MB / 0.9348 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/1.978, allocations: 3.125 kB / 0.9348 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/1.981, allocations: 251 kB / 0.935 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005805/1.987, allocations: 1.017 MB / 0.936 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004344/1.987, allocations: 37.88 kB / 0.9361 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009222/1.996, allocations: 4.833 MB / 0.9408 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001282/1.998, allocations: 1.457 MB / 0.9422 GB, free: 99.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/2.012, allocations: 5.219 MB / 0.9473 GB, free: 99.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/2.014, allocations: 398.5 kB / 0.9477 GB, free: 99.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009929/2.015, allocations: 39 kB / 0.9477 GB, free: 99.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002921/2.018, allocations: 125.6 kB / 0.9478 GB, free: 99.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004506/2.018, allocations: 102.6 kB / 0.9479 GB, free: 99.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/2.018, allocations: 54.45 kB / 0.948 GB, free: 99.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007198/2.026, allocations: 2.402 MB / 0.9503 GB, free: 99.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.346e-06/2.026, allocations: 0.8438 kB / 0.9503 GB, free: 99.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007537/2.033, allocations: 1.01 MB / 0.9513 GB, free: 99.2 MB / 442.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.0008139/2.034, allocations: 167.6 kB / 0.9515 GB, free: 99.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01532/2.049, allocations: 5.309 MB / 0.9567 GB, free: 98.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/2.049, allocations: 0 / 0.9567 GB, free: 98.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007016/2.057, allocations: 2.117 MB / 0.9587 GB, free: 98.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005086/2.062, allocations: 437.7 kB / 0.9591 GB, free: 98.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/2.088, allocations: 11.06 MB / 0.9699 GB, free: 93.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007308/2.095, allocations: 3.292 MB / 0.9732 GB, free: 93.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008733/2.104, allocations: 1.886 MB / 0.975 GB, free: 92.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/2.105, allocations: 237.5 kB / 0.9752 GB, free: 92.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.693e-06/2.105, allocations: 0 / 0.9752 GB, free: 92.97 MB / 442.7 MB Notification: Performance of Templates: time 0.1049/2.21, allocations: 32.67 MB / 1.007 GB, free: 86.94 MB / 442.7 MB