Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00111/0.001111, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.206/1.206, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00167/0.00167, allocations: 107.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1713/0.1713, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.12e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.08917, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3171/0.4063, allocations: 94.81 MB / 0.4888 GB, free: 16.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.4066, allocations: 75.19 kB / 0.4889 GB, free: 16.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5528/0.9594, allocations: 145 MB / 0.6304 GB, free: 66.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.9594, allocations: 3.781 kB / 0.6304 GB, free: 66.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000311/0.9597, allocations: 143.3 kB / 0.6306 GB, free: 66.38 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.02287/0.9826, allocations: 6.628 MB / 0.6371 GB, free: 63.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.9827, allocations: 9.188 kB / 0.6371 GB, free: 63.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01809/1.001, allocations: 3.628 MB / 0.6406 GB, free: 63.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01719/1.018, allocations: 7.639 MB / 0.6481 GB, free: 62.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005643/1.019, allocations: 0.5901 MB / 0.6486 GB, free: 62.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003407/1.022, allocations: 0.7817 MB / 0.6494 GB, free: 62.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04836/1.07, allocations: 21.55 MB / 0.6704 GB, free: 58.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003525/1.071, allocations: 99.72 kB / 0.6705 GB, free: 58.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002049/1.073, allocations: 378 kB / 0.6709 GB, free: 58.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00281/1.076, allocations: 1.937 MB / 0.6728 GB, free: 58.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0373/1.113, allocations: 17.19 MB / 0.6896 GB, free: 57.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08481/1.198, allocations: 79.43 MB / 0.7672 GB, free: 7.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0158/1.214, allocations: 6.514 MB / 0.7735 GB, free: 2.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/1.216, allocations: 2.06 MB / 0.7755 GB, free: 352 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01729/1.234, allocations: 9.77 MB / 0.7851 GB, free: 7.926 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01426/1.248, allocations: 4.335 MB / 0.7893 GB, free: 4.891 MB / 458.7 MB Notification: Performance of pre-optimization done (n=287): time 1.023e-05/1.248, allocations: 0 / 0.7893 GB, free: 4.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=323): time 0.2799/1.528, allocations: 22.7 MB / 0.8115 GB, free: 88.78 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/1.528, allocations: 164 kB / 0.8116 GB, free: 88.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006344/1.534, allocations: 5.266 MB / 0.8168 GB, free: 88.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004678/1.535, allocations: 70.95 kB / 0.8168 GB, free: 88.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003166/1.538, allocations: 5.281 MB / 0.822 GB, free: 85.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.539, allocations: 1.233 MB / 0.8232 GB, free: 84.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/1.539, allocations: 192.4 kB / 0.8234 GB, free: 84.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003534/1.54, allocations: 0.7189 MB / 0.8241 GB, free: 84.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/1.543, allocations: 2.642 MB / 0.8267 GB, free: 84.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006141/1.549, allocations: 8.359 MB / 0.8348 GB, free: 77.15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007114/1.556, allocations: 4.671 MB / 0.8394 GB, free: 77.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001455/1.557, allocations: 58 kB / 0.8394 GB, free: 77.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0164/1.573, allocations: 10.78 MB / 0.85 GB, free: 76.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/1.573, allocations: 123.1 kB / 0.8501 GB, free: 76.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002407/1.573, allocations: 204.5 kB / 0.8503 GB, free: 76.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00038/1.574, allocations: 300.3 kB / 0.8506 GB, free: 76.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007566/1.581, allocations: 2.407 MB / 0.8529 GB, free: 75.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002164/1.582, allocations: 399.6 kB / 0.8533 GB, free: 75.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007051/1.589, allocations: 0.6354 MB / 0.8539 GB, free: 75.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009286/1.59, allocations: 0.5676 MB / 0.8545 GB, free: 75.81 MB / 458.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.001157/1.591, allocations: 0.8591 MB / 0.8553 GB, free: 75.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000737/1.592, allocations: 0.5423 MB / 0.8558 GB, free: 75.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004815/1.596, allocations: 3.215 MB / 0.859 GB, free: 74.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.344e-05/1.596, allocations: 31.75 kB / 0.859 GB, free: 74.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.596, allocations: 3.406 kB / 0.859 GB, free: 74.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/1.596, allocations: 15.47 kB / 0.859 GB, free: 74.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/1.618, allocations: 13.46 MB / 0.8722 GB, free: 70.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/1.618, allocations: 30.91 kB / 0.8722 GB, free: 70.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/1.621, allocations: 0.6102 MB / 0.8728 GB, free: 70.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-05/1.621, allocations: 54.91 kB / 0.8729 GB, free: 70.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/1.621, allocations: 104 kB / 0.873 GB, free: 70.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.263e-05/1.621, allocations: 71.14 kB / 0.873 GB, free: 70.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.761e-05/1.621, allocations: 48.59 kB / 0.8731 GB, free: 70.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007215/1.628, allocations: 11.81 MB / 0.8846 GB, free: 59.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/1.63, allocations: 0.8388 MB / 0.8854 GB, free: 58.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/1.632, allocations: 94.7 kB / 0.8855 GB, free: 58.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/1.634, allocations: 225 kB / 0.8857 GB, free: 58.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/1.635, allocations: 296.5 kB / 0.886 GB, free: 58.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.635, allocations: 128.8 kB / 0.8861 GB, free: 58.67 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005199/1.64, allocations: 3.644 MB / 0.8897 GB, free: 57.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.64, allocations: 0 / 0.8897 GB, free: 57.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008958/1.649, allocations: 1.559 MB / 0.8912 GB, free: 57.2 MB / 458.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.0007395/1.65, allocations: 268.5 kB / 0.8915 GB, free: 57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009426/1.659, allocations: 6.222 MB / 0.8975 GB, free: 53.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.78e-05/1.659, allocations: 8.125 kB / 0.8975 GB, free: 53.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0027/1.662, allocations: 1.755 MB / 0.8993 GB, free: 52.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/1.666, allocations: 0.7063 MB / 0.9 GB, free: 51.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/1.688, allocations: 12.83 MB / 0.9125 GB, free: 39.78 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005599/1.694, allocations: 5.252 MB / 0.9176 GB, free: 35.92 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006787/1.701, allocations: 2.759 MB / 0.9203 GB, free: 34.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.702, allocations: 401.6 kB / 0.9207 GB, free: 33.8 MB / 458.7 MB Notification: Performance of SimCode: time 7.32e-07/1.702, allocations: 0 / 0.9207 GB, free: 33.8 MB / 458.7 MB Notification: Performance of Templates: time 0.2968/1.998, allocations: 46.98 MB / 0.9666 GB, free: 65.04 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1)