Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.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.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6715/0.6715, allocations: 110.9 MB / 125.9 MB, free: 6.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001629/0.001629, allocations: 143.4 kB / 151.8 MB, free: 4.965 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002592, allocations: 4 kB / 184.9 MB, free: 3.902 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 25.16 MB / 210 MB, free: 29.77 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.03614/0.1584, allocations: 33.92 MB / 244 MB, free: 15.89 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.1586, allocations: 59.97 kB / 244 MB, free: 15.84 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0138/0.1724, allocations: 5.274 MB / 249.3 MB, free: 10.58 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1725, allocations: 0 / 249.3 MB, free: 10.58 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1725, allocations: 8 kB / 249.3 MB, free: 10.57 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0008873/0.1734, allocations: 0.5457 MB / 249.8 MB, free: 9.977 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1734, allocations: 8.031 kB / 249.9 MB, free: 9.969 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.1735, allocations: 36.8 kB / 249.9 MB, free: 9.934 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1738, allocations: 206.6 kB / 250.1 MB, free: 9.691 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.1738, allocations: 20.56 kB / 250.1 MB, free: 9.672 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.1739, allocations: 24 kB / 250.1 MB, free: 9.648 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.1744, allocations: 256.8 kB / 250.4 MB, free: 9.391 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.1744, allocations: 7.906 kB / 250.4 MB, free: 9.383 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.1744, allocations: 12 kB / 250.4 MB, free: 9.371 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.1745, allocations: 8 kB / 250.4 MB, free: 9.363 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.175, allocations: 250.1 kB / 250.7 MB, free: 9.117 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.1762, allocations: 0.7523 MB / 251.4 MB, free: 8.316 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.1767, allocations: 328.2 kB / 251.7 MB, free: 7.992 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.1768, allocations: 4 kB / 251.7 MB, free: 7.988 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.1768, allocations: 30.56 kB / 251.8 MB, free: 7.949 MB / 186.7 MB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.1768, allocations: 0 / 251.8 MB, free: 7.949 MB / 186.7 MB Notification: Performance of matching and sorting (n=55): time 0.00395/0.1808, allocations: 1.911 MB / 253.7 MB, free: 5.945 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1808, allocations: 59.97 kB / 253.7 MB, free: 5.875 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.181, allocations: 164.7 kB / 253.9 MB, free: 5.707 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.181, allocations: 37.7 kB / 253.9 MB, free: 5.664 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1812, allocations: 141 kB / 254.1 MB, free: 5.523 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.1813, allocations: 189.2 kB / 254.3 MB, free: 5.336 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.1813, allocations: 8 kB / 254.3 MB, free: 5.328 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1815, allocations: 342.8 kB / 254.6 MB, free: 4.984 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.1819, allocations: 157 kB / 254.8 MB, free: 4.832 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.1822, allocations: 161 kB / 254.9 MB, free: 4.672 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.1825, allocations: 174.2 kB / 255.1 MB, free: 4.504 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1825, allocations: 0 / 255.1 MB, free: 4.504 MB / 186.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007889/0.1833, allocations: 458.6 kB / 255.5 MB, free: 4.051 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1833, allocations: 9.875 kB / 255.5 MB, free: 4.043 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1833, allocations: 0 / 255.5 MB, free: 4.043 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1834, allocations: 1.312 kB / 255.5 MB, free: 4.043 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.1838, allocations: 111.9 kB / 255.6 MB, free: 3.934 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.1838, allocations: 4 kB / 255.7 MB, free: 3.93 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.1841, allocations: 31.98 kB / 255.7 MB, free: 3.898 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.1841, allocations: 19.92 kB / 255.7 MB, free: 3.879 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0002224/0.1843, allocations: 165.7 kB / 255.9 MB, free: 3.707 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.1844, allocations: 27.72 kB / 255.9 MB, free: 3.68 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1845, allocations: 41.56 kB / 255.9 MB, free: 3.641 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1845, allocations: 7.984 kB / 255.9 MB, free: 3.633 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.1845, allocations: 4 kB / 255.9 MB, free: 3.629 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.1846, allocations: 3.984 kB / 255.9 MB, free: 3.625 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.1864, allocations: 1.255 MB / 257.2 MB, free: 2.258 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.1865, allocations: 4 kB / 257.2 MB, free: 2.254 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.1869, allocations: 115.8 kB / 257.3 MB, free: 2.141 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.1869, allocations: 9.938 kB / 257.3 MB, free: 2.133 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.187, allocations: 20.33 kB / 257.3 MB, free: 2.113 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.187, allocations: 4 kB / 257.4 MB, free: 2.109 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.187, allocations: 15.94 kB / 257.4 MB, free: 2.094 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.1884, allocations: 1.046 MB / 258.4 MB, free: 0.8672 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/0.1885, allocations: 100.8 kB / 258.5 MB, free: 0.75 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.1885, allocations: 16 kB / 258.5 MB, free: 0.7344 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.1888, allocations: 35.97 kB / 258.6 MB, free: 0.6992 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.1889, allocations: 51.59 kB / 258.6 MB, free: 0.6484 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.1889, allocations: 20 kB / 258.6 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.189, allocations: 136.5 kB / 258.8 MB, free: 0.4961 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.189, allocations: 0 / 258.8 MB, free: 0.4961 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.1894, allocations: 88 kB / 258.9 MB, free: 420 kB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 55 * 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.0001697/0.1896, allocations: 121.2 kB / 259 MB, free: 292 kB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007271/0.1903, allocations: 403 kB / 259.4 MB, free: 15.88 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1903, allocations: 4 kB / 259.4 MB, free: 15.88 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.1907, allocations: 236.5 kB / 259.6 MB, free: 15.65 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.1912, allocations: 65.97 kB / 259.7 MB, free: 15.58 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1927, allocations: 1.134 MB / 260.8 MB, free: 14.38 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.193, allocations: 0.7959 MB / 261.6 MB, free: 13.55 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.1932, allocations: 39.22 kB / 261.6 MB, free: 13.52 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.218e-05/0.1933, allocations: 35.42 kB / 261.7 MB, free: 13.48 MB / 202.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1933, allocations: 0 / 261.7 MB, free: 13.48 MB / 202.7 MB Notification: Performance of Templates: time 0.006292/0.1996, allocations: 3.453 MB / 265.1 MB, free: 10.05 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)