Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.002416/0.002416, allocations: 184.2 kB / 7.457 MB, free: 2.512 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.22/1.22, allocations: 194.2 MB / 202.1 MB, free: 8.727 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.001591/0.001591, allocations: 111.9 kB / 247.1 MB, free: 6.391 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.1688/0.1688, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.167e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 54.87 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.4482, allocations: 100.3 MB / 0.5351 GB, free: 136 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.4485, allocations: 74.34 kB / 0.5352 GB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd: time 0.5931/1.042, allocations: 139.4 MB / 0.6714 GB, free: 85.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003113/1.042, allocations: 146.3 kB / 0.6715 GB, free: 85.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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.01907/1.061, allocations: 6.48 MB / 0.6778 GB, free: 83.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.061, allocations: 9.938 kB / 0.6779 GB, free: 83.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/1.077, allocations: 3.041 MB / 0.6808 GB, free: 83.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01774/1.094, allocations: 7.723 MB / 0.6884 GB, free: 82.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/1.095, allocations: 261.1 kB / 0.6886 GB, free: 82.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003631/1.098, allocations: 470 kB / 0.6891 GB, free: 82.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02281/1.121, allocations: 11.67 MB / 0.7005 GB, free: 82.51 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03448/1.156, allocations: 16.87 MB / 0.7169 GB, free: 78.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000369/1.156, allocations: 98.19 kB / 0.717 GB, free: 78.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002257/1.158, allocations: 45.19 kB / 0.7171 GB, free: 78.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003253/1.162, allocations: 2.041 MB / 0.7191 GB, free: 78.17 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08569/1.247, allocations: 77.91 MB / 0.7951 GB, free: 24.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006715/1.254, allocations: 2.949 MB / 0.798 GB, free: 22.89 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00522/1.259, allocations: 2.078 MB / 0.8001 GB, free: 22.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02003/1.28, allocations: 8.897 MB / 0.8087 GB, free: 14.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/1.28, allocations: 56.56 kB / 0.8088 GB, free: 14.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=279): time 6.953e-06/1.28, allocations: 0 / 0.8088 GB, free: 14.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=309): time 0.05402/1.334, allocations: 18.09 MB / 0.8265 GB, free: 15.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/1.334, allocations: 162.5 kB / 0.8266 GB, free: 15.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01141/1.345, allocations: 4.493 MB / 0.831 GB, free: 11.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007222/1.346, allocations: 25.7 kB / 0.831 GB, free: 11.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004614/1.351, allocations: 4.952 MB / 0.8359 GB, free: 6.996 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001864/1.353, allocations: 1.149 MB / 0.837 GB, free: 5.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/1.354, allocations: 0 / 0.837 GB, free: 5.961 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001206/1.355, allocations: 0.7175 MB / 0.8377 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005638/1.361, allocations: 2.544 MB / 0.8402 GB, free: 3.059 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.371, allocations: 8.412 MB / 0.8484 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008287/1.38, allocations: 4.611 MB / 0.8529 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000211/1.38, allocations: 60 kB / 0.853 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1285) (initialization): time 0.1994/1.579, allocations: 9.595 MB / 0.8623 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.579, allocations: 5.594 kB / 0.8623 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002607/1.58, allocations: 209.6 kB / 0.8625 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/1.58, allocations: 310.9 kB / 0.8628 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008683/1.588, allocations: 2.428 MB / 0.8652 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000326/1.589, allocations: 421.7 kB / 0.8656 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008692/1.598, allocations: 405.5 kB / 0.866 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/1.6, allocations: 0.5834 MB / 0.8666 GB, free: 146.7 MB / 0.4948 GB 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.00175/1.602, allocations: 0.623 MB / 0.8672 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009054/1.602, allocations: 494.3 kB / 0.8676 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004741/1.607, allocations: 2.927 MB / 0.8705 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.1e-05/1.607, allocations: 32.55 kB / 0.8705 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1.607, allocations: 0 / 0.8705 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/1.607, allocations: 17.81 kB / 0.8705 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01967/1.627, allocations: 11.06 MB / 0.8813 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/1.627, allocations: 30.62 kB / 0.8814 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/1.629, allocations: 0.5703 MB / 0.8819 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.173e-05/1.629, allocations: 50.31 kB / 0.882 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/1.63, allocations: 52.48 kB / 0.882 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-05/1.63, allocations: 63.8 kB / 0.8821 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.289e-05/1.63, allocations: 49.84 kB / 0.8821 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006589/1.636, allocations: 10.07 MB / 0.892 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/1.638, allocations: 0.752 MB / 0.8927 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006633/1.639, allocations: 53.48 kB / 0.8927 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/1.641, allocations: 144.7 kB / 0.8929 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/1.641, allocations: 236.3 kB / 0.8931 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/1.641, allocations: 121 kB / 0.8932 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00426/1.646, allocations: 2.947 MB / 0.8961 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007603/1.653, allocations: 1.298 MB / 0.8974 GB, free: 137.7 MB / 0.4948 GB 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.0005126/1.654, allocations: 210 kB / 0.8976 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007596/1.662, allocations: 5.841 MB / 0.9033 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.965e-05/1.662, allocations: 7.812 kB / 0.9033 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/1.663, allocations: 1.393 MB / 0.9046 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/1.666, allocations: 0.5068 MB / 0.9051 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/1.692, allocations: 12.67 MB / 0.9175 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00706/1.7, allocations: 5.677 MB / 0.9231 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/1.7, allocations: 0 / 0.9231 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.1028/1.802, allocations: 44.76 MB / 0.9668 GB, free: 119.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)