Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.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.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.1_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002739/0.002738, allocations: 347.2 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.686/3.686, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003624/0.003624, allocations: 226.1 kB / 397.9 MB, free: 4.891 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.5008/0.5008, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006408/0.0006411, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09198, allocations: 48.7 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5395, allocations: 94.47 MB / 0.699 GB, free: 18.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000399/0.54, allocations: 75.97 kB / 0.6991 GB, free: 18.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8683/1.408, allocations: 143.4 MB / 0.8391 GB, free: 71.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.336e-06/1.408, allocations: 0 / 0.8391 GB, free: 71.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000396/1.409, allocations: 144 kB / 0.8392 GB, free: 70.89 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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02664/1.435, allocations: 6.874 MB / 0.8459 GB, free: 63.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.436, allocations: 12.02 kB / 0.846 GB, free: 63.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02768/1.463, allocations: 3.374 MB / 0.8493 GB, free: 60.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01898/1.482, allocations: 6.308 MB / 0.8554 GB, free: 54.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008386/1.483, allocations: 0.5905 MB / 0.856 GB, free: 53.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00464/1.488, allocations: 0.7758 MB / 0.8567 GB, free: 53.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07542/1.563, allocations: 21.63 MB / 0.8779 GB, free: 29.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005419/1.564, allocations: 95.06 kB / 0.878 GB, free: 29.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004077/1.568, allocations: 378.9 kB / 0.8783 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005294/1.573, allocations: 1.944 MB / 0.8802 GB, free: 27.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0635/1.637, allocations: 17.38 MB / 0.8972 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7459/2.383, allocations: 79.21 MB / 0.9745 GB, free: 24.45 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03263/2.415, allocations: 6.569 MB / 0.981 GB, free: 23.78 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006314/2.422, allocations: 2.106 MB / 0.983 GB, free: 23.74 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02736/2.449, allocations: 9.621 MB / 0.9924 GB, free: 21.42 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.359e-05/2.449, allocations: 66.66 kB / 0.9925 GB, free: 21.38 MB / 426.8 MB Notification: Performance of pre-optimization done (n=284): time 6.713e-06/2.449, allocations: 0 / 0.9925 GB, free: 21.38 MB / 426.8 MB Notification: Performance of matching and sorting (n=320): time 0.1266/2.576, allocations: 24.25 MB / 1.016 GB, free: 16.57 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/2.576, allocations: 161 kB / 1.016 GB, free: 16.41 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01444/2.591, allocations: 6.058 MB / 1.022 GB, free: 14.64 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006766/2.591, allocations: 72.52 kB / 1.022 GB, free: 14.57 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004477/2.596, allocations: 5.169 MB / 1.027 GB, free: 10.61 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001824/2.598, allocations: 1.217 MB / 1.029 GB, free: 9.727 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/2.599, allocations: 194.2 kB / 1.029 GB, free: 9.574 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0007362/2.6, allocations: 0.7142 MB / 1.029 GB, free: 9.09 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009611/2.609, allocations: 2.865 MB / 1.032 GB, free: 8.23 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01357/2.623, allocations: 8.624 MB / 1.041 GB, free: 15.7 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/2.637, allocations: 4.817 MB / 1.045 GB, free: 13.92 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002062/2.637, allocations: 55.84 kB / 1.045 GB, free: 13.92 MB / 442.8 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.0358/2.673, allocations: 11.2 MB / 1.056 GB, free: 8.035 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/2.673, allocations: 92 kB / 1.056 GB, free: 7.945 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005263/2.674, allocations: 207.8 kB / 1.057 GB, free: 7.746 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/2.674, allocations: 300 kB / 1.057 GB, free: 7.453 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01634/2.691, allocations: 2.38 MB / 1.059 GB, free: 5.383 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005643/2.691, allocations: 403.4 kB / 1.06 GB, free: 5.031 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/2.703, allocations: 0.6226 MB / 1.06 GB, free: 4.496 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002477/2.706, allocations: 0.5623 MB / 1.061 GB, free: 3.941 MB / 442.8 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.01104/2.717, allocations: 3.38 MB / 1.064 GB, free: 0.9688 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/2.719, allocations: 0.536 MB / 1.065 GB, free: 436 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/2.733, allocations: 3.416 MB / 1.068 GB, free: 13.69 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001158/2.733, allocations: 36 kB / 1.068 GB, free: 13.66 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/2.734, allocations: 0 / 1.068 GB, free: 13.66 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.785e-05/2.734, allocations: 14.81 kB / 1.068 GB, free: 13.66 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04449/2.778, allocations: 13.71 MB / 1.081 GB, free: 1.828 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001117/2.778, allocations: 32 kB / 1.081 GB, free: 1.797 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004915/2.783, allocations: 0.5878 MB / 1.082 GB, free: 1.293 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.416e-05/2.783, allocations: 52 kB / 1.082 GB, free: 1.242 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006428/2.784, allocations: 105.7 kB / 1.082 GB, free: 1.145 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.092e-05/2.784, allocations: 66.73 kB / 1.082 GB, free: 1.086 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.968e-05/2.784, allocations: 51.81 kB / 1.082 GB, free: 1.035 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/2.801, allocations: 6.184 MB / 1.088 GB, free: 10.83 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003936/2.805, allocations: 0.8378 MB / 1.089 GB, free: 10.04 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002081/2.807, allocations: 95.36 kB / 1.089 GB, free: 9.949 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005517/2.812, allocations: 201.6 kB / 1.089 GB, free: 9.797 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009853/2.813, allocations: 288.3 kB / 1.09 GB, free: 9.578 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004402/2.814, allocations: 128.8 kB / 1.09 GB, free: 9.457 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01272/2.827, allocations: 3.78 MB / 1.093 GB, free: 6.367 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.373e-06/2.827, allocations: 4 kB / 1.093 GB, free: 6.363 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01255/2.839, allocations: 1.548 MB / 1.095 GB, free: 4.82 MB / 474.8 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.001205/2.841, allocations: 281 kB / 1.095 GB, free: 4.555 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.3439/3.184, allocations: 6.563 MB / 1.102 GB, free: 118.4 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.977e-05/3.185, allocations: 9.438 kB / 1.102 GB, free: 118.4 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004854/3.189, allocations: 1.531 MB / 1.103 GB, free: 118.4 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00769/3.197, allocations: 0.7439 MB / 1.104 GB, free: 118.4 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04576/3.243, allocations: 18.58 MB / 1.122 GB, free: 110.1 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01444/3.257, allocations: 5.25 MB / 1.127 GB, free: 109.2 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01514/3.273, allocations: 2.757 MB / 1.13 GB, free: 109 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002568/3.275, allocations: 398.5 kB / 1.13 GB, free: 109 MB / 474.8 MB Notification: Performance of SimCode: time 2.766e-06/3.275, allocations: 0 / 1.13 GB, free: 109 MB / 474.8 MB Notification: Performance of Templates: time 0.1449/3.42, allocations: 46.48 MB / 1.176 GB, free: 103.2 MB / 474.8 MB