Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.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.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.2_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002838/0.002843, allocations: 362.4 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 3.975/3.975, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.003599/0.003599, allocations: 229.6 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.5082/0.5082, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004961, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 54.88 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4865/0.5872, allocations: 101.6 MB / 0.7793 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.5875, allocations: 84.19 kB / 0.7794 GB, free: 15.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9995/1.587, allocations: 143.9 MB / 0.9199 GB, free: 88.92 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.587, allocations: 0 / 0.9199 GB, free: 88.92 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005582/1.588, allocations: 149.4 kB / 0.92 GB, free: 88.92 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: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.03778/1.626, allocations: 6.97 MB / 0.9268 GB, free: 85.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.626, allocations: 14.08 kB / 0.9269 GB, free: 85.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04251/1.668, allocations: 3.373 MB / 0.9301 GB, free: 85.49 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0216/1.69, allocations: 6.323 MB / 0.9363 GB, free: 84.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001291/1.691, allocations: 0.5878 MB / 0.9369 GB, free: 84.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00664/1.698, allocations: 0.7839 MB / 0.9377 GB, free: 84.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07712/1.775, allocations: 21.67 MB / 0.9588 GB, free: 80.19 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000635/1.776, allocations: 97.36 kB / 0.9589 GB, free: 80.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005799/1.782, allocations: 377.6 kB / 0.9593 GB, free: 80.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00862/1.79, allocations: 1.94 MB / 0.9612 GB, free: 80.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0642/1.854, allocations: 17.47 MB / 0.9782 GB, free: 76.83 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1194/1.974, allocations: 79.3 MB / 1.056 GB, free: 4.316 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03251/2.007, allocations: 6.666 MB / 1.062 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006815/2.013, allocations: 2.143 MB / 1.064 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.029/2.042, allocations: 9.651 MB / 1.074 GB, free: 1.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4393/2.482, allocations: 4.422 MB / 1.078 GB, free: 96.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=287): time 1.767e-05/2.482, allocations: 0 / 1.078 GB, free: 96.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=323): time 0.1884/2.67, allocations: 24.43 MB / 1.102 GB, free: 92.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/2.67, allocations: 164.7 kB / 1.102 GB, free: 92.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02227/2.693, allocations: 6.073 MB / 1.108 GB, free: 92.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00102/2.694, allocations: 74.64 kB / 1.108 GB, free: 92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008707/2.703, allocations: 5.271 MB / 1.113 GB, free: 89.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002696/2.705, allocations: 1.235 MB / 1.114 GB, free: 88.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001949/2.707, allocations: 195.3 kB / 1.115 GB, free: 88.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001702/2.709, allocations: 0.7089 MB / 1.115 GB, free: 88.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01565/2.725, allocations: 2.916 MB / 1.118 GB, free: 88.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02107/2.746, allocations: 8.667 MB / 1.127 GB, free: 81.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02106/2.767, allocations: 4.887 MB / 1.131 GB, free: 80.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003402/2.767, allocations: 56.78 kB / 1.131 GB, free: 80.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.05298/2.82, allocations: 11.32 MB / 1.142 GB, free: 78.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003972/2.821, allocations: 126.9 kB / 1.143 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005718/2.822, allocations: 201.4 kB / 1.143 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/2.822, allocations: 300.6 kB / 1.143 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02294/2.845, allocations: 2.404 MB / 1.145 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000664/2.846, allocations: 400.1 kB / 1.146 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0183/2.864, allocations: 0.6467 MB / 1.146 GB, free: 78.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003027/2.867, allocations: 0.5652 MB / 1.147 GB, free: 78.17 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: 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.01347/2.881, allocations: 3.372 MB / 1.15 GB, free: 76.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001938/2.883, allocations: 0.5371 MB / 1.151 GB, free: 76.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01965/2.903, allocations: 3.481 MB / 1.154 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.209e-05/2.903, allocations: 37.34 kB / 1.154 GB, free: 74.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-05/2.903, allocations: 7 kB / 1.154 GB, free: 74.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.333e-05/2.903, allocations: 18.58 kB / 1.154 GB, free: 74.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05778/2.961, allocations: 13.64 MB / 1.168 GB, free: 69.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001061/2.961, allocations: 32.69 kB / 1.168 GB, free: 69.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007023/2.968, allocations: 0.6119 MB / 1.168 GB, free: 69.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/2.968, allocations: 54.89 kB / 1.168 GB, free: 69.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008012/2.969, allocations: 98.92 kB / 1.168 GB, free: 69.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.649e-05/2.969, allocations: 63.02 kB / 1.168 GB, free: 69.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.245e-05/2.969, allocations: 54.38 kB / 1.168 GB, free: 69.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02212/2.991, allocations: 6.108 MB / 1.174 GB, free: 65.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004163/2.995, allocations: 0.8389 MB / 1.175 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002078/2.998, allocations: 104.8 kB / 1.175 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007513/3.005, allocations: 216.3 kB / 1.176 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/3.006, allocations: 309.8 kB / 1.176 GB, free: 64.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004272/3.007, allocations: 129.6 kB / 1.176 GB, free: 64.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01554/3.022, allocations: 3.789 MB / 1.18 GB, free: 60.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.683e-06/3.022, allocations: 0 / 1.18 GB, free: 60.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01712/3.039, allocations: 1.554 MB / 1.181 GB, free: 59.39 MB / 490.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.001413/3.041, allocations: 268.5 kB / 1.181 GB, free: 59.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02594/3.067, allocations: 6.586 MB / 1.188 GB, free: 53.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.61e-05/3.067, allocations: 5.875 kB / 1.188 GB, free: 53.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009077/3.076, allocations: 1.854 MB / 1.19 GB, free: 51.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/3.087, allocations: 0.7523 MB / 1.19 GB, free: 51.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0524/3.139, allocations: 18.63 MB / 1.209 GB, free: 33.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/3.152, allocations: 5.248 MB / 1.214 GB, free: 29.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01341/3.165, allocations: 2.754 MB / 1.216 GB, free: 27.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/3.168, allocations: 404.8 kB / 1.217 GB, free: 27.48 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/3.168, allocations: 0 / 1.217 GB, free: 27.48 MB / 490.7 MB Notification: Performance of Templates: time 0.5569/3.724, allocations: 47.07 MB / 1.263 GB, free: 86.36 MB / 0.4949 GB