Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.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.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002695/0.002699, allocations: 346.5 kB / 15.93 MB, free: 6.219 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.538/3.538, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003518/0.003517, allocations: 220.4 kB / 397.9 MB, free: 6.152 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4946/0.4946, allocations: 76.1 MB / 0.5014 GB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004772, allocations: 12 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09157, allocations: 48.71 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.5475, allocations: 94.91 MB / 0.6994 GB, free: 8.988 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000411/0.548, allocations: 79.16 kB / 0.6995 GB, free: 8.949 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9429/1.491, allocations: 143.9 MB / 0.84 GB, free: 79.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.491, allocations: 0 / 0.84 GB, free: 79.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003789/1.491, allocations: 145.1 kB / 0.8401 GB, free: 79.42 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.02734/1.519, allocations: 6.972 MB / 0.8469 GB, free: 76.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.519, allocations: 7.031 kB / 0.8469 GB, free: 76.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02774/1.547, allocations: 3.373 MB / 0.8502 GB, free: 75.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01938/1.566, allocations: 6.326 MB / 0.8564 GB, free: 75.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009073/1.567, allocations: 0.5958 MB / 0.857 GB, free: 75.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004703/1.572, allocations: 0.7796 MB / 0.8577 GB, free: 75.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1064/1.678, allocations: 21.67 MB / 0.8789 GB, free: 70.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005509/1.679, allocations: 95.36 kB / 0.879 GB, free: 70.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004195/1.683, allocations: 383.5 kB / 0.8794 GB, free: 69.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005445/1.688, allocations: 1.934 MB / 0.8813 GB, free: 69.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06405/1.753, allocations: 17.47 MB / 0.8983 GB, free: 60.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4504/2.203, allocations: 79.29 MB / 0.9758 GB, free: 74.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0333/2.236, allocations: 6.666 MB / 0.9823 GB, free: 74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00627/2.243, allocations: 2.145 MB / 0.9844 GB, free: 73.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02642/2.269, allocations: 9.651 MB / 0.9938 GB, free: 71.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02612/2.295, allocations: 4.421 MB / 0.9981 GB, free: 71.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=287): time 1.049e-05/2.295, allocations: 0 / 0.9981 GB, free: 71.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=323): time 0.1297/2.425, allocations: 24.42 MB / 1.022 GB, free: 67.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/2.425, allocations: 167.2 kB / 1.022 GB, free: 67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0157/2.441, allocations: 6.071 MB / 1.028 GB, free: 66.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007208/2.442, allocations: 75.92 kB / 1.028 GB, free: 66.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005945/2.448, allocations: 5.275 MB / 1.033 GB, free: 63.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002011/2.45, allocations: 1.229 MB / 1.034 GB, free: 62.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/2.451, allocations: 196.6 kB / 1.035 GB, free: 62.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001126/2.452, allocations: 0.7141 MB / 1.035 GB, free: 62.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01081/2.463, allocations: 2.913 MB / 1.038 GB, free: 62.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01453/2.478, allocations: 8.672 MB / 1.047 GB, free: 54.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/2.491, allocations: 4.882 MB / 1.051 GB, free: 52.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002175/2.492, allocations: 56.28 kB / 1.051 GB, free: 52.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03516/2.527, allocations: 11.33 MB / 1.063 GB, free: 49.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001823/2.527, allocations: 117.4 kB / 1.063 GB, free: 49.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003581/2.527, allocations: 203.3 kB / 1.063 GB, free: 49.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/2.528, allocations: 298.7 kB / 1.063 GB, free: 49.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0151/2.543, allocations: 2.402 MB / 1.065 GB, free: 49.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000436/2.543, allocations: 401.9 kB / 1.066 GB, free: 48.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/2.556, allocations: 0.6417 MB / 1.066 GB, free: 48.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002347/2.558, allocations: 0.5624 MB / 1.067 GB, free: 48.72 MB / 442.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: 74 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1240): * Single equations (assignments): 1236 * Array equations: 3 * Algorithm blocks: 1 * 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.009398/2.567, allocations: 3.371 MB / 1.07 GB, free: 46.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/2.569, allocations: 0.5476 MB / 1.071 GB, free: 45.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/2.581, allocations: 3.475 MB / 1.074 GB, free: 42.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-05/2.581, allocations: 37.59 kB / 1.074 GB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/2.581, allocations: 4 kB / 1.074 GB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.125e-05/2.581, allocations: 13.08 kB / 1.074 GB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03764/2.619, allocations: 13.65 MB / 1.088 GB, free: 30.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.106e-05/2.619, allocations: 36.5 kB / 1.088 GB, free: 30.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004523/2.624, allocations: 0.6063 MB / 1.088 GB, free: 30.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.944e-05/2.624, allocations: 55.95 kB / 1.088 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003752/2.624, allocations: 107 kB / 1.088 GB, free: 30.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.864e-05/2.624, allocations: 66.47 kB / 1.088 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-05/2.624, allocations: 51.75 kB / 1.089 GB, free: 30.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/2.638, allocations: 6.113 MB / 1.095 GB, free: 24.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003117/2.641, allocations: 0.8353 MB / 1.095 GB, free: 23.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/2.643, allocations: 110.7 kB / 1.095 GB, free: 23.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005098/2.648, allocations: 216.6 kB / 1.096 GB, free: 23.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008387/2.649, allocations: 295.2 kB / 1.096 GB, free: 22.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003019/2.649, allocations: 127.5 kB / 1.096 GB, free: 22.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01043/2.66, allocations: 3.796 MB / 1.1 GB, free: 19.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.32e-07/2.66, allocations: 0 / 1.1 GB, free: 19.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01274/2.672, allocations: 1.561 MB / 1.101 GB, free: 18.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 299 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001699/2.674, allocations: 277.2 kB / 1.102 GB, free: 17.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02111/2.695, allocations: 6.583 MB / 1.108 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.943e-05/2.695, allocations: 5.938 kB / 1.108 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005879/2.701, allocations: 1.85 MB / 1.11 GB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007114/2.709, allocations: 0.7661 MB / 1.111 GB, free: 9.672 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04515/2.754, allocations: 18.61 MB / 1.129 GB, free: 8.094 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01371/2.767, allocations: 5.253 MB / 1.134 GB, free: 4.227 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01407/2.782, allocations: 2.754 MB / 1.137 GB, free: 1.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002225/2.784, allocations: 403.4 kB / 1.137 GB, free: 1.336 MB / 458.7 MB Notification: Performance of SimCode: time 1.142e-06/2.784, allocations: 3.938 kB / 1.137 GB, free: 1.332 MB / 458.7 MB Notification: Performance of Templates: time 0.4963/3.28, allocations: 47.06 MB / 1.183 GB, free: 99.49 MB / 474.7 MB