Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper") [: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.004651/0.004651, allocations: 175.9 kB / 7.449 MB, free: 2.516 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.352/1.352, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.002135/0.002135, allocations: 123.8 kB / 217.7 MB, free: 8.152 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.1832/0.1832, allocations: 37.98 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.899e-06/9.939e-06, allocations: 1.094 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 48.72 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3664/0.48, allocations: 93.63 MB / 491.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.4803, allocations: 71.94 kB / 491.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3623/0.8426, allocations: 139.4 MB / 0.6166 GB, free: 88 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.1973/1.04, allocations: 142.4 kB / 0.6167 GB, free: 105.4 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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02462/1.065, allocations: 6.481 MB / 0.623 GB, free: 104.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.584e-05/1.065, allocations: 11.34 kB / 0.623 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01859/1.083, allocations: 3.048 MB / 0.626 GB, free: 104 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02046/1.104, allocations: 7.716 MB / 0.6336 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006611/1.105, allocations: 257.2 kB / 0.6338 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005349/1.11, allocations: 468.4 kB / 0.6342 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03547/1.145, allocations: 11.67 MB / 0.6456 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05738/1.203, allocations: 16.87 MB / 0.6621 GB, free: 98.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007828/1.204, allocations: 93.19 kB / 0.6622 GB, free: 98.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006292/1.21, allocations: 47.06 kB / 0.6623 GB, free: 98.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006756/1.217, allocations: 2.042 MB / 0.6642 GB, free: 98.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1463/1.363, allocations: 77.91 MB / 0.7403 GB, free: 46.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004896/1.368, allocations: 2.955 MB / 0.7432 GB, free: 44.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002553/1.371, allocations: 2.074 MB / 0.7452 GB, free: 44.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/1.384, allocations: 8.88 MB / 0.7539 GB, free: 39.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/1.384, allocations: 62.53 kB / 0.754 GB, free: 38.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=279): time 6.672e-06/1.384, allocations: 3.531 kB / 0.754 GB, free: 38.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=309): time 0.04668/1.431, allocations: 17.95 MB / 0.7715 GB, free: 23.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/1.431, allocations: 162.5 kB / 0.7717 GB, free: 23.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006462/1.437, allocations: 4.486 MB / 0.776 GB, free: 19.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008525/1.438, allocations: 25.7 kB / 0.7761 GB, free: 19.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002947/1.441, allocations: 4.961 MB / 0.7809 GB, free: 15.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/1.443, allocations: 1.152 MB / 0.782 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004028/1.443, allocations: 0 / 0.782 GB, free: 14.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004753/1.444, allocations: 0.7158 MB / 0.7827 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003236/1.447, allocations: 2.545 MB / 0.7852 GB, free: 11.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005293/1.452, allocations: 8.412 MB / 0.7934 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1981/1.65, allocations: 4.902 MB / 0.7982 GB, free: 91.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001733/1.651, allocations: 60.19 kB / 0.7983 GB, free: 91.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=1285) (initialization): time 0.01993/1.671, allocations: 9.598 MB / 0.8077 GB, free: 91.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.671, allocations: 2.719 kB / 0.8077 GB, free: 91.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00034/1.671, allocations: 210.4 kB / 0.8079 GB, free: 91.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003496/1.671, allocations: 314.8 kB / 0.8082 GB, free: 91.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009572/1.681, allocations: 2.421 MB / 0.8105 GB, free: 91.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003064/1.681, allocations: 416.8 kB / 0.8109 GB, free: 90.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008578/1.69, allocations: 411 kB / 0.8113 GB, free: 90.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001956/1.692, allocations: 0.5796 MB / 0.8119 GB, free: 90.97 MB / 426.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: 69 (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 (1261): * Single equations (assignments): 1258 * Array equations: 3 * Algorithm blocks: 0 * 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.001743/1.694, allocations: 0.6332 MB / 0.8125 GB, free: 90.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/1.695, allocations: 495.6 kB / 0.813 GB, free: 90.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004757/1.699, allocations: 2.928 MB / 0.8158 GB, free: 90.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.035e-05/1.699, allocations: 27.59 kB / 0.8159 GB, free: 90.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.699, allocations: 3.562 kB / 0.8159 GB, free: 90.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/1.699, allocations: 13.41 kB / 0.8159 GB, free: 90.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/1.72, allocations: 11.05 MB / 0.8267 GB, free: 88.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-05/1.72, allocations: 36.38 kB / 0.8267 GB, free: 88.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002339/1.723, allocations: 0.5744 MB / 0.8273 GB, free: 88.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.942e-05/1.723, allocations: 45.97 kB / 0.8273 GB, free: 88.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/1.723, allocations: 53.34 kB / 0.8274 GB, free: 88.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-05/1.723, allocations: 61.45 kB / 0.8274 GB, free: 88.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.292e-05/1.723, allocations: 46.69 kB / 0.8275 GB, free: 88.68 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00727/1.73, allocations: 10.07 MB / 0.8373 GB, free: 82.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/1.732, allocations: 0.7505 MB / 0.838 GB, free: 81.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.733, allocations: 47.16 kB / 0.8381 GB, free: 81.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/1.736, allocations: 148.6 kB / 0.8382 GB, free: 81.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/1.736, allocations: 238.8 kB / 0.8384 GB, free: 81.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/1.736, allocations: 124 kB / 0.8386 GB, free: 81.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.005012/1.741, allocations: 2.943 MB / 0.8414 GB, free: 81.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009986/1.751, allocations: 1.301 MB / 0.8427 GB, free: 81.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 136 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 287 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000896/1.752, allocations: 207.7 kB / 0.8429 GB, free: 81.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00964/1.762, allocations: 5.841 MB / 0.8486 GB, free: 80.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.699e-05/1.762, allocations: 9.953 kB / 0.8486 GB, free: 80.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002073/1.764, allocations: 1.401 MB / 0.85 GB, free: 80.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/1.768, allocations: 0.5065 MB / 0.8505 GB, free: 80.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/1.794, allocations: 12.67 MB / 0.8629 GB, free: 77.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008768/1.803, allocations: 5.682 MB / 0.8684 GB, free: 76.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/1.803, allocations: 0 / 0.8684 GB, free: 76.21 MB / 426.7 MB Notification: Performance of Templates: time 0.08815/1.891, allocations: 44.76 MB / 0.9121 GB, free: 57.57 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)