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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7185/0.7185, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002187/0.002187, allocations: 146.7 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002823, allocations: 4 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 25.15 MB / 210 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04385/0.1688, allocations: 33.78 MB / 243.8 MB, free: 60 kB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.1691, allocations: 64 kB / 243.9 MB, free: 15.99 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009725/0.1788, allocations: 3.833 MB / 247.7 MB, free: 12.18 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1789, allocations: 4 kB / 247.7 MB, free: 12.18 MB / 186.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1789, allocations: 4 kB / 247.7 MB, free: 12.18 MB / 186.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.0006497/0.1796, allocations: 495.2 kB / 248.2 MB, free: 11.64 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1796, allocations: 8.031 kB / 248.2 MB, free: 11.63 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.1797, allocations: 27.72 kB / 248.2 MB, free: 11.61 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.1799, allocations: 190.7 kB / 248.4 MB, free: 11.38 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.1799, allocations: 16.44 kB / 248.5 MB, free: 11.36 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.18, allocations: 28 kB / 248.5 MB, free: 11.34 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.1804, allocations: 222.2 kB / 248.7 MB, free: 11.11 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.1804, allocations: 3.953 kB / 248.7 MB, free: 11.1 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.1805, allocations: 8 kB / 248.7 MB, free: 11.09 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1805, allocations: 8 kB / 248.7 MB, free: 11.09 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.1807, allocations: 144.4 kB / 248.9 MB, free: 10.95 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1818, allocations: 0.7785 MB / 249.6 MB, free: 10.11 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.1822, allocations: 252 kB / 249.9 MB, free: 9.84 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1823, allocations: 4 kB / 249.9 MB, free: 9.836 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.1823, allocations: 38.56 kB / 249.9 MB, free: 9.789 MB / 186.7 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.1823, allocations: 4.219 kB / 249.9 MB, free: 9.785 MB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.002547/0.1849, allocations: 1.854 MB / 251.8 MB, free: 7.672 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.185, allocations: 110.8 kB / 251.9 MB, free: 7.539 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1851, allocations: 166.4 kB / 252.1 MB, free: 7.371 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1852, allocations: 37.7 kB / 252.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1853, allocations: 139.5 kB / 252.2 MB, free: 7.191 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.1854, allocations: 141.8 kB / 252.4 MB, free: 7.051 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.1854, allocations: 8 kB / 252.4 MB, free: 7.043 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1856, allocations: 338.8 kB / 252.7 MB, free: 6.703 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1857, allocations: 80.83 kB / 252.8 MB, free: 6.621 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.1859, allocations: 150.3 kB / 252.9 MB, free: 6.453 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1861, allocations: 102.7 kB / 253 MB, free: 6.355 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1861, allocations: 0 / 253 MB, free: 6.355 MB / 186.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004255/0.1865, allocations: 311 kB / 253.3 MB, free: 6.047 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1865, allocations: 8 kB / 253.3 MB, free: 6.039 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1865, allocations: 96 / 253.3 MB, free: 6.039 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1866, allocations: 8 kB / 253.3 MB, free: 6.031 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.1869, allocations: 85.53 kB / 253.4 MB, free: 5.949 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.1869, allocations: 4 kB / 253.4 MB, free: 5.945 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.952e-05/0.187, allocations: 12 kB / 253.4 MB, free: 5.934 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.187, allocations: 15.95 kB / 253.5 MB, free: 5.918 MB / 186.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 () * Number of clocked 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 0.000137/0.1872, allocations: 148.7 kB / 253.6 MB, free: 5.766 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.1872, allocations: 27.72 kB / 253.6 MB, free: 5.738 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.804e-05/0.1873, allocations: 36.12 kB / 253.7 MB, free: 5.703 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1873, allocations: 8 kB / 253.7 MB, free: 5.695 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1874, allocations: 0 / 253.7 MB, free: 5.695 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1874, allocations: 3.984 kB / 253.7 MB, free: 5.691 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.1885, allocations: 0.9919 MB / 254.7 MB, free: 4.613 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1886, allocations: 4 kB / 254.7 MB, free: 4.609 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/0.1889, allocations: 88.12 kB / 254.8 MB, free: 4.523 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1889, allocations: 4 kB / 254.8 MB, free: 4.52 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.189, allocations: 12 kB / 254.8 MB, free: 4.508 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.189, allocations: 9.797 kB / 254.8 MB, free: 4.5 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.189, allocations: 0 / 254.8 MB, free: 4.5 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.1897, allocations: 0.8076 MB / 255.6 MB, free: 3.578 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.1898, allocations: 104.8 kB / 255.7 MB, free: 3.457 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.1899, allocations: 12.06 kB / 255.7 MB, free: 3.445 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.1901, allocations: 11.98 kB / 255.7 MB, free: 3.434 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.1901, allocations: 31.91 kB / 255.8 MB, free: 3.402 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1901, allocations: 8 kB / 255.8 MB, free: 3.395 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1903, allocations: 136.2 kB / 255.9 MB, free: 3.262 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.864e-06/0.1903, allocations: 0 / 255.9 MB, free: 3.262 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003894/0.1907, allocations: 79.94 kB / 256 MB, free: 3.184 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 () * Number of clocked 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.0001442/0.1908, allocations: 124.5 kB / 256.1 MB, free: 3.055 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.1912, allocations: 243 kB / 256.3 MB, free: 2.82 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1912, allocations: 0 / 256.3 MB, free: 2.82 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1914, allocations: 125.4 kB / 256.5 MB, free: 2.699 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.1919, allocations: 60.41 kB / 256.5 MB, free: 2.641 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1934, allocations: 1.038 MB / 257.5 MB, free: 1.559 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1939, allocations: 0.7647 MB / 258.3 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.194, allocations: 34.94 kB / 258.3 MB, free: 0.7305 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.1941, allocations: 27.44 kB / 258.4 MB, free: 0.7031 MB / 186.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1941, allocations: 0 / 258.4 MB, free: 0.7031 MB / 186.7 MB Notification: Performance of Templates: time 0.005648/0.1997, allocations: 2.517 MB / 260.9 MB, free: 14.2 MB / 202.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)