Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008902/0.008902, allocations: 174.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.669/1.669, allocations: 194.5 MB / 210.3 MB, free: 7.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001725/0.001725, allocations: 128.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.211/0.211, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005613/0.000561, allocations: 15.41 kB / 406.2 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.147, allocations: 54.87 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5121/0.6591, allocations: 101.6 MB / 0.5495 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.6594, allocations: 80.97 kB / 0.5495 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3667/1.026, allocations: 144.8 MB / 0.691 GB, free: 14.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.966e-06/1.026, allocations: 0 / 0.691 GB, free: 14.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007133/1.027, allocations: 148 kB / 0.6911 GB, free: 14.7 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.02888/1.056, allocations: 6.971 MB / 0.6979 GB, free: 7.633 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.056, allocations: 8.031 kB / 0.6979 GB, free: 7.625 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01932/1.075, allocations: 3.625 MB / 0.7015 GB, free: 3.984 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02428/1.1, allocations: 7.671 MB / 0.709 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009072/1.1, allocations: 0.5936 MB / 0.7096 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005749/1.106, allocations: 0.7771 MB / 0.7103 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3244/1.431, allocations: 21.83 MB / 0.7316 GB, free: 78.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004387/1.431, allocations: 95.44 kB / 0.7317 GB, free: 78.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002146/1.433, allocations: 379 kB / 0.7321 GB, free: 78.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003721/1.437, allocations: 1.94 MB / 0.734 GB, free: 78.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03809/1.475, allocations: 17.7 MB / 0.7513 GB, free: 78.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08862/1.564, allocations: 79.4 MB / 0.8288 GB, free: 45.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/1.58, allocations: 6.675 MB / 0.8353 GB, free: 43.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01461/1.595, allocations: 9.773 MB / 0.8449 GB, free: 38.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01285/1.608, allocations: 4.408 MB / 0.8492 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=287): time 4.779e-06/1.608, allocations: 3.938 kB / 0.8492 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=323): time 0.07485/1.683, allocations: 25.11 MB / 0.8737 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/1.683, allocations: 166 kB / 0.8739 GB, free: 27.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0128/1.696, allocations: 5.412 MB / 0.8792 GB, free: 23.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007092/1.697, allocations: 73.7 kB / 0.8792 GB, free: 23.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00507/1.702, allocations: 5.274 MB / 0.8844 GB, free: 18.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00177/1.703, allocations: 1.235 MB / 0.8856 GB, free: 17.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/1.705, allocations: 199.6 kB / 0.8858 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001198/1.706, allocations: 0.7124 MB / 0.8865 GB, free: 16.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006436/1.712, allocations: 2.905 MB / 0.8893 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/1.724, allocations: 8.636 MB / 0.8977 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2791/2.003, allocations: 4.953 MB / 0.9026 GB, free: 88.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002366/2.003, allocations: 57.81 kB / 0.9026 GB, free: 88.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02625/2.03, allocations: 11.33 MB / 0.9137 GB, free: 88.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004286/2.03, allocations: 119.2 kB / 0.9138 GB, free: 88.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006282/2.031, allocations: 202.6 kB / 0.914 GB, free: 88.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007749/2.032, allocations: 303.1 kB / 0.9143 GB, free: 88.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008859/2.04, allocations: 2.406 MB / 0.9166 GB, free: 88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000498/2.041, allocations: 403.7 kB / 0.917 GB, free: 87.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008307/2.049, allocations: 0.6429 MB / 0.9176 GB, free: 87.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001958/2.051, allocations: 0.5682 MB / 0.9182 GB, free: 87.91 MB / 0.4948 GB 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.009263/2.061, allocations: 3.372 MB / 0.9215 GB, free: 87.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001818/2.062, allocations: 0.5376 MB / 0.922 GB, free: 87.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008956/2.071, allocations: 3.475 MB / 0.9254 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.225e-05/2.071, allocations: 33.38 kB / 0.9254 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/2.072, allocations: 4.5 kB / 0.9254 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.475e-05/2.072, allocations: 19.02 kB / 0.9255 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02577/2.097, allocations: 13.65 MB / 0.9388 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-05/2.097, allocations: 36.66 kB / 0.9388 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/2.1, allocations: 0.6056 MB / 0.9394 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-05/2.1, allocations: 50.69 kB / 0.9395 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/2.1, allocations: 103.9 kB / 0.9396 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.097e-05/2.1, allocations: 63.53 kB / 0.9396 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.148e-05/2.1, allocations: 56.88 kB / 0.9397 GB, free: 85.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008747/2.109, allocations: 12.08 MB / 0.9515 GB, free: 76.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002367/2.111, allocations: 0.8428 MB / 0.9523 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008115/2.112, allocations: 93.34 kB / 0.9524 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/2.114, allocations: 223 kB / 0.9526 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/2.115, allocations: 299.7 kB / 0.9529 GB, free: 76.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/2.115, allocations: 127.2 kB / 0.953 GB, free: 76.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006802/2.122, allocations: 3.796 MB / 0.9567 GB, free: 75.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/2.122, allocations: 2.516 kB / 0.9567 GB, free: 75.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009337/2.131, allocations: 1.556 MB / 0.9582 GB, free: 75.84 MB / 0.4948 GB 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.000849/2.132, allocations: 276.8 kB / 0.9585 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01133/2.143, allocations: 6.584 MB / 0.9649 GB, free: 75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.891e-05/2.143, allocations: 3.969 kB / 0.9649 GB, free: 75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/2.147, allocations: 1.855 MB / 0.9668 GB, free: 74.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006354/2.153, allocations: 0.704 MB / 0.9674 GB, free: 74.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/2.188, allocations: 18.55 MB / 0.9856 GB, free: 66.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00947/2.198, allocations: 5.252 MB / 0.9907 GB, free: 64.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008742/2.206, allocations: 2.755 MB / 0.9934 GB, free: 64.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/2.208, allocations: 407.9 kB / 0.9938 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of SimCode: time 8.91e-07/2.208, allocations: 0 / 0.9938 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.09048/2.299, allocations: 46.97 MB / 1.04 GB, free: 41.89 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1)