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") [: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.2+maint.om/package.mo): time 0.00465/0.00465, allocations: 181 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.275/1.275, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001786/0.001785, allocations: 115.9 kB / 247.1 MB, free: 6.375 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.1634/0.1634, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.646e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08264/0.08266, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2513/0.334, allocations: 100.8 MB / 0.5356 GB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.3342, allocations: 72.09 kB / 0.5357 GB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5187/0.8529, allocations: 139.9 MB / 0.6723 GB, free: 85.58 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002637/0.8532, allocations: 142.9 kB / 0.6725 GB, free: 85.58 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.01718/0.8704, allocations: 6.571 MB / 0.6789 GB, free: 83.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.8705, allocations: 10.5 kB / 0.6789 GB, free: 83.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/0.886, allocations: 3.051 MB / 0.6819 GB, free: 82.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01912/0.9052, allocations: 7.731 MB / 0.6894 GB, free: 81.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/0.9057, allocations: 261.8 kB / 0.6897 GB, free: 81.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00356/0.9093, allocations: 463.2 kB / 0.6901 GB, free: 81.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01823/0.9275, allocations: 11.68 MB / 0.7015 GB, free: 81.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03076/0.9583, allocations: 16.88 MB / 0.718 GB, free: 77.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002911/0.9586, allocations: 98.22 kB / 0.7181 GB, free: 77.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001454/0.9601, allocations: 46.19 kB / 0.7181 GB, free: 77.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002801/0.9629, allocations: 2.043 MB / 0.7201 GB, free: 77.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08273/1.046, allocations: 78 MB / 0.7963 GB, free: 23.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004919/1.051, allocations: 2.963 MB / 0.7992 GB, free: 22.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00388/1.055, allocations: 2.086 MB / 0.8012 GB, free: 21.62 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01911/1.074, allocations: 8.92 MB / 0.8099 GB, free: 13.87 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003027/1.077, allocations: 2.009 MB / 0.8119 GB, free: 12.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=282): time 6.783e-06/1.077, allocations: 0 / 0.8119 GB, free: 12.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=312): time 0.04959/1.126, allocations: 18.01 MB / 0.8295 GB, free: 13.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/1.126, allocations: 162.5 kB / 0.8296 GB, free: 12.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.137, allocations: 4.5 MB / 0.834 GB, free: 8.891 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006264/1.137, allocations: 25.7 kB / 0.8341 GB, free: 8.859 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00508/1.142, allocations: 5.06 MB / 0.839 GB, free: 4.293 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001574/1.144, allocations: 1.163 MB / 0.8401 GB, free: 3.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009916/1.145, allocations: 4 kB / 0.8401 GB, free: 3.246 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009195/1.146, allocations: 0.7127 MB / 0.8408 GB, free: 2.645 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0046/1.15, allocations: 2.562 MB / 0.8433 GB, free: 340 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.192/1.342, allocations: 9.231 MB / 0.8524 GB, free: 135.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007928/1.35, allocations: 4.634 MB / 0.8569 GB, free: 135.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001986/1.351, allocations: 59.41 kB / 0.8569 GB, free: 135.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1290) (initialization): time 0.01909/1.37, allocations: 9.622 MB / 0.8663 GB, free: 135.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.37, allocations: 2.844 kB / 0.8663 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003387/1.37, allocations: 212.6 kB / 0.8665 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/1.37, allocations: 310.2 kB / 0.8668 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008893/1.379, allocations: 2.445 MB / 0.8692 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003417/1.38, allocations: 412.7 kB / 0.8696 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009258/1.389, allocations: 437.7 kB / 0.87 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002492/1.392, allocations: 0.5802 MB / 0.8706 GB, free: 135.3 MB / 490.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.003111/1.395, allocations: 0.6311 MB / 0.8712 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/1.396, allocations: 497.2 kB / 0.8717 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005319/1.401, allocations: 2.942 MB / 0.8746 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.031e-05/1.401, allocations: 26.84 kB / 0.8746 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/1.401, allocations: 1.875 kB / 0.8746 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/1.401, allocations: 17.66 kB / 0.8746 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01988/1.421, allocations: 11.05 MB / 0.8854 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/1.421, allocations: 28.88 kB / 0.8854 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/1.424, allocations: 0.5919 MB / 0.886 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-05/1.424, allocations: 51.53 kB / 0.8861 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/1.424, allocations: 52.78 kB / 0.8861 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.483e-05/1.424, allocations: 63.5 kB / 0.8862 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.661e-05/1.424, allocations: 49.25 kB / 0.8862 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007008/1.431, allocations: 9.905 MB / 0.8959 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/1.434, allocations: 0.7527 MB / 0.8966 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008312/1.434, allocations: 53.86 kB / 0.8967 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/1.437, allocations: 168.7 kB / 0.8968 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000449/1.438, allocations: 247.4 kB / 0.8971 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/1.438, allocations: 127.5 kB / 0.8972 GB, free: 126.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.006788/1.445, allocations: 2.951 MB / 0.9001 GB, free: 126 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008702/1.453, allocations: 1.309 MB / 0.9014 GB, free: 126 MB / 490.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.0005867/1.454, allocations: 204 kB / 0.9016 GB, free: 125.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008398/1.462, allocations: 5.886 MB / 0.9073 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.311e-05/1.462, allocations: 3.969 kB / 0.9073 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002688/1.465, allocations: 1.657 MB / 0.9089 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/1.468, allocations: 0.5191 MB / 0.9094 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.495, allocations: 12.7 MB / 0.9218 GB, free: 121.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01028/1.505, allocations: 5.692 MB / 0.9274 GB, free: 120.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.213e-06/1.505, allocations: 0 / 0.9274 GB, free: 120.6 MB / 490.7 MB Notification: Performance of Templates: time 0.0889/1.594, allocations: 45.43 MB / 0.9718 GB, free: 96.07 MB / 490.7 MB 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)