Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7758/0.7758, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001622/0.001622, allocations: 147.4 kB / 144 MB, free: 9.801 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.539e-05/1.54e-05, allocations: 0 / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04753/0.04756, allocations: 25.17 MB / 199 MB, free: 2.656 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.1781, allocations: 33.9 MB / 232.9 MB, free: 6.066 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.1783, allocations: 59.97 kB / 233 MB, free: 6.008 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008184/0.1865, allocations: 3.551 MB / 236.5 MB, free: 2.508 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1866, allocations: 0 / 236.5 MB, free: 2.508 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1866, allocations: 4 kB / 236.5 MB, free: 2.504 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004509/0.187, allocations: 485.9 kB / 237 MB, free: 1.988 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1871, allocations: 9.781 kB / 237 MB, free: 1.98 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.1871, allocations: 23.72 kB / 237.1 MB, free: 1.957 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1873, allocations: 226 kB / 237.3 MB, free: 1.699 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1873, allocations: 8 kB / 237.3 MB, free: 1.691 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.1874, allocations: 12 kB / 237.3 MB, free: 1.68 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001928/0.1876, allocations: 108.8 kB / 237.4 MB, free: 1.574 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.1878, allocations: 174.6 kB / 237.6 MB, free: 1.395 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1878, allocations: 3.953 kB / 237.6 MB, free: 1.391 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.1879, allocations: 0.9375 kB / 237.6 MB, free: 1.391 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1879, allocations: 8 kB / 237.6 MB, free: 1.383 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/0.1887, allocations: 0.7352 MB / 238.3 MB, free: 0.5938 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.1889, allocations: 171.6 kB / 238.5 MB, free: 420 kB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.1891, allocations: 91.08 kB / 238.6 MB, free: 324 kB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1891, allocations: 4.25 kB / 238.6 MB, free: 320 kB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.1891, allocations: 35.48 kB / 238.6 MB, free: 276 kB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.1891, allocations: 2.188 kB / 238.6 MB, free: 276 kB / 170.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009235/0.1901, allocations: 0.701 MB / 239.3 MB, free: 15.48 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1901, allocations: 81.11 kB / 239.4 MB, free: 15.38 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1902, allocations: 137.5 kB / 239.5 MB, free: 15.24 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1903, allocations: 25.7 kB / 239.6 MB, free: 15.21 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.1903, allocations: 140.4 kB / 239.7 MB, free: 15.07 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.1904, allocations: 90.59 kB / 239.8 MB, free: 14.98 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.1904, allocations: 0 / 239.8 MB, free: 14.98 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1905, allocations: 334.8 kB / 240.1 MB, free: 14.64 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.1906, allocations: 48.88 kB / 240.2 MB, free: 14.59 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1907, allocations: 93.31 kB / 240.2 MB, free: 14.49 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1908, allocations: 63.94 kB / 240.3 MB, free: 14.43 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1908, allocations: 0 / 240.3 MB, free: 14.43 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002668/0.1911, allocations: 186.4 kB / 240.5 MB, free: 14.24 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1911, allocations: 8 kB / 240.5 MB, free: 14.23 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1912, allocations: 0 / 240.5 MB, free: 14.23 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1912, allocations: 4 kB / 240.5 MB, free: 14.23 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.1914, allocations: 64.59 kB / 240.6 MB, free: 14.16 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.1914, allocations: 0 / 240.6 MB, free: 14.16 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1915, allocations: 16.55 kB / 240.6 MB, free: 14.15 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.1916, allocations: 12.75 kB / 240.6 MB, free: 14.14 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.968e-05/0.1916, allocations: 104.9 kB / 240.7 MB, free: 14.03 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.1917, allocations: 23.75 kB / 240.7 MB, free: 14 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.437e-05/0.1918, allocations: 25.95 kB / 240.7 MB, free: 13.98 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1918, allocations: 4 kB / 240.7 MB, free: 13.98 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1918, allocations: 0.8125 kB / 240.7 MB, free: 13.98 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1918, allocations: 2.281 kB / 240.7 MB, free: 13.98 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006985/0.1925, allocations: 0.5302 MB / 241.3 MB, free: 13.39 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1925, allocations: 0 / 241.3 MB, free: 13.39 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.1928, allocations: 59.91 kB / 241.3 MB, free: 13.34 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1928, allocations: 0 / 241.3 MB, free: 13.34 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1928, allocations: 7.438 kB / 241.3 MB, free: 13.33 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1928, allocations: 8.094 kB / 241.4 MB, free: 13.32 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1928, allocations: 0 / 241.4 MB, free: 13.32 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.1933, allocations: 476.6 kB / 241.8 MB, free: 12.81 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.1934, allocations: 108.9 kB / 241.9 MB, free: 12.68 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1934, allocations: 4 kB / 241.9 MB, free: 12.68 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.1936, allocations: 7.984 kB / 241.9 MB, free: 12.67 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.1936, allocations: 15.98 kB / 242 MB, free: 12.66 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1937, allocations: 11.98 kB / 242 MB, free: 12.64 MB / 186.7 MB Notification: Performance of sorting global known variables: time 6.524e-05/0.1937, allocations: 115.3 kB / 242.1 MB, free: 12.53 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1937, allocations: 3.938 kB / 242.1 MB, free: 12.53 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.194, allocations: 40 kB / 242.1 MB, free: 12.49 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001054/0.1942, allocations: 95.25 kB / 242.2 MB, free: 12.39 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.1944, allocations: 135.9 kB / 242.3 MB, free: 12.25 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1944, allocations: 0 / 242.3 MB, free: 12.25 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1945, allocations: 77.75 kB / 242.4 MB, free: 12.18 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1948, allocations: 38.09 kB / 242.5 MB, free: 12.14 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/0.1957, allocations: 0.52 MB / 243 MB, free: 11.61 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.196, allocations: 0.7518 MB / 243.7 MB, free: 10.83 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 9.44e-05/0.1961, allocations: 25.83 kB / 243.8 MB, free: 10.8 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.1962, allocations: 23.38 kB / 243.8 MB, free: 10.78 MB / 186.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1962, allocations: 0 / 243.8 MB, free: 10.78 MB / 186.7 MB Notification: Performance of Templates: time 0.003839/0.2, allocations: 1.639 MB / 245.4 MB, free: 9.176 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1)