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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003185/0.003185, allocations: 177.5 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.252/1.252, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001511/0.001511, allocations: 107.8 kB / 217.7 MB, free: 8.203 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.1854/0.1854, allocations: 37.97 MB / 294.8 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.496e-06/8.526e-06, allocations: 1.188 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 48.71 MB / 398.2 MB, free: 5.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.4782, allocations: 94.07 MB / 492.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4785, allocations: 75.7 kB / 492.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.6197/1.098, allocations: 139.9 MB / 0.6175 GB, free: 67.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004128/1.099, allocations: 150.6 kB / 0.6176 GB, free: 67.7 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.02261/1.121, allocations: 6.564 MB / 0.624 GB, free: 66.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.121, allocations: 10.06 kB / 0.624 GB, free: 66.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/1.138, allocations: 3.049 MB / 0.627 GB, free: 66.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/1.157, allocations: 7.722 MB / 0.6346 GB, free: 65.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005441/1.158, allocations: 258.8 kB / 0.6348 GB, free: 65.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004173/1.162, allocations: 466.5 kB / 0.6352 GB, free: 65.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02545/1.187, allocations: 11.68 MB / 0.6467 GB, free: 65.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03744/1.225, allocations: 16.89 MB / 0.6632 GB, free: 61.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004377/1.225, allocations: 93.86 kB / 0.6632 GB, free: 61.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003696/1.229, allocations: 51.59 kB / 0.6633 GB, free: 61.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003574/1.233, allocations: 2.036 MB / 0.6653 GB, free: 61.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/1.335, allocations: 78.02 MB / 0.7415 GB, free: 24.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004907/1.34, allocations: 2.946 MB / 0.7443 GB, free: 22.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0029/1.343, allocations: 2.098 MB / 0.7464 GB, free: 20.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01777/1.36, allocations: 8.913 MB / 0.7551 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002408/1.363, allocations: 2 MB / 0.7571 GB, free: 10.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=282): time 4.618e-06/1.363, allocations: 0 / 0.7571 GB, free: 10.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=312): time 0.05082/1.414, allocations: 18.01 MB / 0.7746 GB, free: 11.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/1.414, allocations: 162 kB / 0.7748 GB, free: 11.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009071/1.423, allocations: 4.496 MB / 0.7792 GB, free: 7.488 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001/1.424, allocations: 33.64 kB / 0.7792 GB, free: 7.449 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007444/1.431, allocations: 5.06 MB / 0.7842 GB, free: 2.887 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002246/1.434, allocations: 1.167 MB / 0.7853 GB, free: 1.836 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/1.435, allocations: 0 / 0.7853 GB, free: 1.836 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007178/1.436, allocations: 0.7194 MB / 0.786 GB, free: 1.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009622/1.445, allocations: 2.998 MB / 0.7889 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1978/1.643, allocations: 8.426 MB / 0.7972 GB, free: 121.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007234/1.65, allocations: 4.62 MB / 0.8017 GB, free: 121.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002579/1.651, allocations: 61.56 kB / 0.8017 GB, free: 121.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=1290) (initialization): time 0.02292/1.674, allocations: 9.634 MB / 0.8111 GB, free: 121.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.674, allocations: 7.125 kB / 0.8111 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006215/1.674, allocations: 210 kB / 0.8113 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/1.675, allocations: 309.7 kB / 0.8116 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009856/1.685, allocations: 2.448 MB / 0.814 GB, free: 121 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005612/1.685, allocations: 414.8 kB / 0.8144 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009335/1.695, allocations: 427.5 kB / 0.8148 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002459/1.697, allocations: 0.5787 MB / 0.8154 GB, free: 120.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * 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 (1265): * Single equations (assignments): 1261 * 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.003564/1.701, allocations: 0.638 MB / 0.816 GB, free: 120.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/1.702, allocations: 496.5 kB / 0.8165 GB, free: 120.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006477/1.709, allocations: 2.935 MB / 0.8194 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.091e-05/1.709, allocations: 27.28 kB / 0.8194 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.178e-05/1.709, allocations: 6.969 kB / 0.8194 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-05/1.709, allocations: 12.75 kB / 0.8194 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02346/1.732, allocations: 11.06 MB / 0.8302 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-05/1.732, allocations: 29.22 kB / 0.8302 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/1.735, allocations: 0.5974 MB / 0.8308 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.374e-05/1.735, allocations: 45.69 kB / 0.8309 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/1.735, allocations: 51.81 kB / 0.8309 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-05/1.735, allocations: 67.36 kB / 0.831 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.412e-05/1.735, allocations: 50.08 kB / 0.831 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007408/1.743, allocations: 9.898 MB / 0.8407 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002251/1.745, allocations: 0.757 MB / 0.8414 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007978/1.746, allocations: 44.3 kB / 0.8415 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/1.748, allocations: 173.6 kB / 0.8416 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/1.749, allocations: 244.8 kB / 0.8419 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/1.749, allocations: 125.9 kB / 0.842 GB, free: 111.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.004913/1.754, allocations: 2.954 MB / 0.8449 GB, free: 111.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01069/1.765, allocations: 1.31 MB / 0.8462 GB, free: 111.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 136 * 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 (293): * Single equations (assignments): 288 * 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.0007049/1.765, allocations: 207.9 kB / 0.8464 GB, free: 111.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009417/1.775, allocations: 5.884 MB / 0.8521 GB, free: 110.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.271e-05/1.775, allocations: 6.312 kB / 0.8521 GB, free: 110.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003007/1.778, allocations: 1.663 MB / 0.8537 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/1.781, allocations: 0.5159 MB / 0.8542 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/1.809, allocations: 12.69 MB / 0.8666 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008777/1.818, allocations: 5.693 MB / 0.8722 GB, free: 106.1 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/1.818, allocations: 0 / 0.8722 GB, free: 106.1 MB / 458.7 MB Notification: Performance of Templates: time 0.09071/1.908, allocations: 45.44 MB / 0.9166 GB, free: 86.88 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)