Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.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/Modelica 3.1.0+maint.om/package.mo): time 0.8228/0.8228, allocations: 110.8 MB / 118 MB, free: 14.56 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001685/0.001685, allocations: 160 kB / 143.7 MB, free: 4.887 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.121e-06/6.162e-06, allocations: 0 / 173.5 MB, free: 23.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03859/0.03861, allocations: 25.16 MB / 198.6 MB, free: 13.95 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.1669, allocations: 32.95 MB / 231.6 MB, free: 4.684 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001254/0.167, allocations: 59.38 kB / 231.6 MB, free: 4.684 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.008386/0.1754, allocations: 3.495 MB / 235.1 MB, free: 4.441 MB / 170.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1755, allocations: 3.969 kB / 235.1 MB, free: 4.441 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004183/0.1759, allocations: 477 kB / 235.6 MB, free: 4.035 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1759, allocations: 17.16 kB / 235.6 MB, free: 4.031 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.176, allocations: 23.38 kB / 235.6 MB, free: 4.02 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1761, allocations: 198.8 kB / 235.8 MB, free: 3.801 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1761, allocations: 7.75 kB / 235.8 MB, free: 3.801 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.1762, allocations: 19.53 kB / 235.9 MB, free: 3.793 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000222/0.1764, allocations: 122.9 kB / 236 MB, free: 3.793 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.1766, allocations: 188.2 kB / 236.2 MB, free: 3.73 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1767, allocations: 7.938 kB / 236.2 MB, free: 3.727 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1767, allocations: 0 / 236.2 MB, free: 3.727 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1767, allocations: 5.328 kB / 236.2 MB, free: 3.727 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/0.1774, allocations: 0.7198 MB / 236.9 MB, free: 3.285 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.1777, allocations: 191.9 kB / 237.1 MB, free: 3.23 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.1779, allocations: 109.5 kB / 237.2 MB, free: 3.203 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1779, allocations: 3.844 kB / 237.2 MB, free: 3.203 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.1779, allocations: 34.56 kB / 237.2 MB, free: 3.16 MB / 170.7 MB Notification: Performance of pre-optimization done (n=28): time 1.313e-06/0.1779, allocations: 0 / 237.2 MB, free: 3.16 MB / 170.7 MB Notification: Performance of matching and sorting (n=40): time 0.00163/0.1796, allocations: 1.671 MB / 238.9 MB, free: 1.824 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.1796, allocations: 106.7 kB / 239 MB, free: 1.699 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.1797, allocations: 133.2 kB / 239.1 MB, free: 1.598 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1797, allocations: 25.7 kB / 239.2 MB, free: 1.566 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.1798, allocations: 129.6 kB / 239.3 MB, free: 1.457 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.1799, allocations: 146.3 kB / 239.4 MB, free: 1.359 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.1799, allocations: 0 / 239.4 MB, free: 1.359 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.219e-05/0.18, allocations: 336.3 kB / 239.8 MB, free: 1.043 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1801, allocations: 68.88 kB / 239.8 MB, free: 1.039 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1802, allocations: 129.8 kB / 239.9 MB, free: 0.9805 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1804, allocations: 90.89 kB / 240 MB, free: 0.9766 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1804, allocations: 0 / 240 MB, free: 0.9766 MB / 170.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003243/0.1807, allocations: 277.3 kB / 240.3 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.1807, allocations: 3.75 kB / 240.3 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1807, allocations: 3.75 kB / 240.3 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1807, allocations: 3.75 kB / 240.3 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.1811, allocations: 85.78 kB / 240.4 MB, free: 0.9062 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.1811, allocations: 7.906 kB / 240.4 MB, free: 0.9023 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.819e-05/0.1812, allocations: 1.031 kB / 240.4 MB, free: 0.9023 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.1812, allocations: 10.97 kB / 240.4 MB, free: 0.9023 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * 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 6.347e-05/0.1813, allocations: 116.3 kB / 240.5 MB, free: 0.7852 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-05/0.1814, allocations: 28.59 kB / 240.6 MB, free: 0.7734 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.372e-05/0.1814, allocations: 25.11 kB / 240.6 MB, free: 0.7656 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1814, allocations: 7.625 kB / 240.6 MB, free: 0.7656 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.1815, allocations: 0 / 240.6 MB, free: 0.7656 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1815, allocations: 2.953 kB / 240.6 MB, free: 0.7656 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1825, allocations: 0.9258 MB / 241.5 MB, free: 232 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1825, allocations: 4.5 kB / 241.5 MB, free: 232 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/0.1829, allocations: 89.48 kB / 241.6 MB, free: 220 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.1829, allocations: 7.719 kB / 241.6 MB, free: 220 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1829, allocations: 3.875 kB / 241.6 MB, free: 220 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1829, allocations: 9.422 kB / 241.6 MB, free: 216 kB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1829, allocations: 3.781 kB / 241.6 MB, free: 216 kB / 170.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005834/0.1835, allocations: 0.7545 MB / 242.4 MB, free: 15.64 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.1836, allocations: 105.6 kB / 242.5 MB, free: 15.53 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.1836, allocations: 3.812 kB / 242.5 MB, free: 15.53 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1838, allocations: 4.797 kB / 242.5 MB, free: 15.53 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.1839, allocations: 29.98 kB / 242.5 MB, free: 15.52 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1839, allocations: 12.91 kB / 242.5 MB, free: 15.52 MB / 186.7 MB Notification: Performance of sort global known variables: time 6.95e-05/0.184, allocations: 114.3 kB / 242.7 MB, free: 15.45 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003886/0.1844, allocations: 53.66 kB / 242.7 MB, free: 15.45 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * Array equations: 0 * 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.0001348/0.1845, allocations: 116.1 kB / 242.8 MB, free: 15.34 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.1848, allocations: 215.8 kB / 243 MB, free: 15.32 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1848, allocations: 0 / 243 MB, free: 15.32 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1849, allocations: 110.7 kB / 243.1 MB, free: 15.31 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.1854, allocations: 58.83 kB / 243.2 MB, free: 15.3 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1866, allocations: 0.7071 MB / 243.9 MB, free: 14.81 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.187, allocations: 0.7949 MB / 244.7 MB, free: 14.1 MB / 186.7 MB Notification: Performance of SimCode: time 2.71e-07/0.187, allocations: 0 / 244.7 MB, free: 14.1 MB / 186.7 MB Notification: Performance of Templates: time 0.005501/0.1925, allocations: 2.61 MB / 247.3 MB, free: 13.71 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)