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.001705/0.001705, allocations: 182.1 kB / 12.74 MB, free: 2.582 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.6/1.6, allocations: 194.3 MB / 207.5 MB, free: 3.398 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.001605/0.001605, allocations: 105.1 kB / 252.6 MB, free: 4.801 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2189/0.2189, allocations: 39.95 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.244e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.5659, allocations: 101.5 MB / 0.5436 GB, free: 6.297 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.5662, allocations: 76.77 kB / 0.5437 GB, free: 6.258 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7412/1.307, allocations: 145 MB / 0.6853 GB, free: 87.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.307, allocations: 0 / 0.6853 GB, free: 87.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005314/1.308, allocations: 148.5 kB / 0.6854 GB, free: 87.68 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.02574/1.334, allocations: 6.635 MB / 0.6919 GB, free: 84.92 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.334, allocations: 10.84 kB / 0.6919 GB, free: 84.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01851/1.352, allocations: 3.621 MB / 0.6955 GB, free: 84.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01931/1.372, allocations: 7.647 MB / 0.7029 GB, free: 83.63 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007661/1.372, allocations: 0.5939 MB / 0.7035 GB, free: 83.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004885/1.377, allocations: 0.7803 MB / 0.7043 GB, free: 83.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06253/1.44, allocations: 21.55 MB / 0.7253 GB, free: 79.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009384/1.441, allocations: 91.31 kB / 0.7254 GB, free: 79.22 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005771/1.447, allocations: 383 kB / 0.7258 GB, free: 79.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004778/1.452, allocations: 1.941 MB / 0.7277 GB, free: 79.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04488/1.496, allocations: 17.2 MB / 0.7445 GB, free: 77.16 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09626/1.593, allocations: 79.41 MB / 0.822 GB, free: 7.145 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01737/1.61, allocations: 6.517 MB / 0.8284 GB, free: 1.848 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/1.613, allocations: 2.059 MB / 0.8304 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01748/1.631, allocations: 9.777 MB / 0.8399 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01557/1.646, allocations: 4.33 MB / 0.8442 GB, free: 2.098 MB / 490.7 MB Notification: Performance of pre-optimization done (n=287): time 6.742e-06/1.646, allocations: 0 / 0.8442 GB, free: 2.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=323): time 0.4121/2.059, allocations: 22.7 MB / 0.8663 GB, free: 92.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/2.059, allocations: 168.1 kB / 0.8665 GB, free: 92.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008366/2.067, allocations: 5.263 MB / 0.8716 GB, free: 92.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007848/2.068, allocations: 75.98 kB / 0.8717 GB, free: 92.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006376/2.074, allocations: 5.272 MB / 0.8768 GB, free: 89.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002298/2.077, allocations: 1.233 MB / 0.878 GB, free: 88.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/2.078, allocations: 197.9 kB / 0.8782 GB, free: 88.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005896/2.078, allocations: 0.7148 MB / 0.8789 GB, free: 88.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004455/2.083, allocations: 2.643 MB / 0.8815 GB, free: 88.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008138/2.091, allocations: 8.353 MB / 0.8897 GB, free: 81.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008672/2.1, allocations: 4.671 MB / 0.8942 GB, free: 81.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/2.1, allocations: 59.88 kB / 0.8943 GB, free: 81.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02445/2.124, allocations: 10.79 MB / 0.9048 GB, free: 80.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/2.125, allocations: 122.9 kB / 0.9049 GB, free: 80.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002839/2.125, allocations: 201.9 kB / 0.9051 GB, free: 80.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/2.125, allocations: 299.8 kB / 0.9054 GB, free: 80.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00892/2.134, allocations: 2.397 MB / 0.9078 GB, free: 79.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003461/2.135, allocations: 402.8 kB / 0.9081 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009696/2.144, allocations: 0.6437 MB / 0.9088 GB, free: 79.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002374/2.147, allocations: 0.5708 MB / 0.9093 GB, free: 79.79 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 () * 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.00238/2.149, allocations: 0.8598 MB / 0.9102 GB, free: 79.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/2.151, allocations: 0.5475 MB / 0.9107 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005577/2.156, allocations: 3.212 MB / 0.9138 GB, free: 78.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.119e-05/2.156, allocations: 35.44 kB / 0.9139 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/2.156, allocations: 0 / 0.9139 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.601e-05/2.156, allocations: 19.81 kB / 0.9139 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/2.181, allocations: 13.46 MB / 0.927 GB, free: 72.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.119e-05/2.181, allocations: 34.75 kB / 0.9271 GB, free: 72.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/2.184, allocations: 0.6034 MB / 0.9277 GB, free: 72.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-05/2.184, allocations: 53 kB / 0.9277 GB, free: 72.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/2.184, allocations: 101.6 kB / 0.9278 GB, free: 72.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.305e-05/2.184, allocations: 70.92 kB / 0.9279 GB, free: 72.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-05/2.184, allocations: 52.5 kB / 0.9279 GB, free: 72.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008893/2.193, allocations: 11.79 MB / 0.9394 GB, free: 62.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002707/2.196, allocations: 0.8414 MB / 0.9403 GB, free: 61.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001131/2.197, allocations: 97.92 kB / 0.9404 GB, free: 61.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00279/2.2, allocations: 226 kB / 0.9406 GB, free: 61.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003789/2.2, allocations: 298.7 kB / 0.9409 GB, free: 61.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/2.2, allocations: 127.3 kB / 0.941 GB, free: 61.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006822/2.207, allocations: 3.646 MB / 0.9445 GB, free: 60.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.207, allocations: 0 / 0.9445 GB, free: 60.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01101/2.218, allocations: 1.558 MB / 0.9461 GB, free: 59.96 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) * 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.0009133/2.219, allocations: 261.7 kB / 0.9463 GB, free: 59.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01014/2.229, allocations: 6.225 MB / 0.9524 GB, free: 54.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.583e-05/2.229, allocations: 4 kB / 0.9524 GB, free: 54.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003006/2.232, allocations: 1.762 MB / 0.9541 GB, free: 53.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005507/2.238, allocations: 0.7103 MB / 0.9548 GB, free: 52.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02564/2.264, allocations: 12.83 MB / 0.9673 GB, free: 40.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006171/2.27, allocations: 5.256 MB / 0.9725 GB, free: 36.65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00701/2.277, allocations: 2.755 MB / 0.9752 GB, free: 34.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/2.278, allocations: 400 kB / 0.9755 GB, free: 34.53 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/2.278, allocations: 0 / 0.9755 GB, free: 34.53 MB / 490.7 MB Notification: Performance of Templates: time 0.08547/2.364, allocations: 47 MB / 1.021 GB, free: 12.32 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)