Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.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.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003049/0.003054, allocations: 363.1 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.085/4.085, allocations: 388.9 MB / 405.6 MB, free: 9.594 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.003546/0.003546, allocations: 236.4 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.5211/0.5211, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004608, allocations: 15.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 54.85 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.6036, allocations: 101.2 MB / 0.7789 GB, free: 372 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.6039, allocations: 85.27 kB / 0.779 GB, free: 328 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9507/1.555, allocations: 143.4 MB / 0.919 GB, free: 88.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.555, allocations: 0 / 0.919 GB, free: 88.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003784/1.555, allocations: 145.9 kB / 0.9191 GB, free: 88.9 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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.03124/1.586, allocations: 6.876 MB / 0.9258 GB, free: 86.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/1.586, allocations: 11.3 kB / 0.9258 GB, free: 86.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04224/1.629, allocations: 3.371 MB / 0.9291 GB, free: 85.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02802/1.657, allocations: 6.314 MB / 0.9353 GB, free: 84.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001145/1.658, allocations: 0.5926 MB / 0.9359 GB, free: 84.72 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006059/1.664, allocations: 0.7793 MB / 0.9366 GB, free: 84.72 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07902/1.743, allocations: 21.62 MB / 0.9578 GB, free: 80.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006083/1.744, allocations: 102.7 kB / 0.9578 GB, free: 80.22 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004205/1.748, allocations: 377.1 kB / 0.9582 GB, free: 80.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005399/1.753, allocations: 1.943 MB / 0.9601 GB, free: 80.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06426/1.818, allocations: 17.39 MB / 0.9771 GB, free: 77.03 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1226/1.94, allocations: 79.2 MB / 1.054 GB, free: 5.457 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03091/1.971, allocations: 6.58 MB / 1.061 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006487/1.978, allocations: 2.1 MB / 1.063 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0284/2.006, allocations: 9.618 MB / 1.072 GB, free: 2.824 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/2.007, allocations: 60.52 kB / 1.072 GB, free: 2.758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=284): time 6.331e-06/2.007, allocations: 4 kB / 1.072 GB, free: 2.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=320): time 0.5187/2.525, allocations: 24.24 MB / 1.096 GB, free: 93.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/2.525, allocations: 165 kB / 1.096 GB, free: 93.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01663/2.542, allocations: 6.054 MB / 1.102 GB, free: 92.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008563/2.543, allocations: 77.33 kB / 1.102 GB, free: 92.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005084/2.548, allocations: 5.172 MB / 1.107 GB, free: 90.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002171/2.55, allocations: 1.219 MB / 1.108 GB, free: 89.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/2.552, allocations: 194.8 kB / 1.109 GB, free: 89.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007817/2.553, allocations: 0.7117 MB / 1.109 GB, free: 89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009594/2.562, allocations: 2.867 MB / 1.112 GB, free: 88.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01359/2.576, allocations: 8.619 MB / 1.121 GB, free: 81.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/2.589, allocations: 4.807 MB / 1.125 GB, free: 81.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000231/2.589, allocations: 62.84 kB / 1.125 GB, free: 81.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.03343/2.622, allocations: 11.2 MB / 1.136 GB, free: 80.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/2.623, allocations: 92.69 kB / 1.136 GB, free: 80.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003235/2.623, allocations: 200.8 kB / 1.136 GB, free: 80.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003194/2.623, allocations: 304.1 kB / 1.137 GB, free: 80.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01518/2.639, allocations: 2.387 MB / 1.139 GB, free: 79.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004392/2.639, allocations: 398.3 kB / 1.139 GB, free: 79.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01195/2.651, allocations: 0.6282 MB / 1.14 GB, free: 79.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002284/2.653, allocations: 0.5595 MB / 1.141 GB, free: 79.51 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * Number of states: 0 () * Number of discrete variables: 69 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1236): * Single equations (assignments): 1233 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009932/2.663, allocations: 3.372 MB / 1.144 GB, free: 77.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001524/2.665, allocations: 0.5391 MB / 1.144 GB, free: 77.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/2.68, allocations: 3.386 MB / 1.148 GB, free: 76.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.611e-05/2.68, allocations: 34.88 kB / 1.148 GB, free: 76.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/2.68, allocations: 0.5625 kB / 1.148 GB, free: 76.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-05/2.68, allocations: 14.02 kB / 1.148 GB, free: 76.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0469/2.727, allocations: 13.69 MB / 1.161 GB, free: 70.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.106e-05/2.728, allocations: 35.38 kB / 1.161 GB, free: 70.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00453/2.732, allocations: 0.5935 MB / 1.162 GB, free: 70.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.739e-05/2.732, allocations: 50.03 kB / 1.162 GB, free: 70.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004915/2.733, allocations: 98.41 kB / 1.162 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.593e-05/2.733, allocations: 71.27 kB / 1.162 GB, free: 70.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.193e-05/2.733, allocations: 50.58 kB / 1.162 GB, free: 70.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/2.747, allocations: 6.184 MB / 1.168 GB, free: 66.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003342/2.75, allocations: 0.8349 MB / 1.169 GB, free: 66.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002036/2.752, allocations: 104.7 kB / 1.169 GB, free: 66.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00573/2.758, allocations: 197.5 kB / 1.169 GB, free: 66.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008705/2.759, allocations: 298.5 kB / 1.169 GB, free: 66.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003044/2.759, allocations: 126.4 kB / 1.17 GB, free: 66.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01077/2.77, allocations: 3.781 MB / 1.173 GB, free: 64.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.77, allocations: 0 / 1.173 GB, free: 64.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01193/2.782, allocations: 1.545 MB / 1.175 GB, free: 64.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (301): * Single equations (assignments): 298 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/2.783, allocations: 274.3 kB / 1.175 GB, free: 63.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01695/2.8, allocations: 6.443 MB / 1.181 GB, free: 58.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.988e-05/2.8, allocations: 8 kB / 1.181 GB, free: 58.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004112/2.805, allocations: 1.528 MB / 1.183 GB, free: 57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008158/2.813, allocations: 0.7457 MB / 1.184 GB, free: 56.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04234/2.855, allocations: 18.59 MB / 1.202 GB, free: 38.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01465/2.87, allocations: 5.246 MB / 1.207 GB, free: 34.94 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01882/2.889, allocations: 2.748 MB / 1.21 GB, free: 33.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003032/2.892, allocations: 405.1 kB / 1.21 GB, free: 32.82 MB / 490.7 MB Notification: Performance of SimCode: time 1.904e-06/2.892, allocations: 0 / 1.21 GB, free: 32.82 MB / 490.7 MB Notification: Performance of Templates: time 0.1862/3.078, allocations: 46.48 MB / 1.255 GB, free: 8.484 MB / 0.4949 GB