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.6614/0.6614, allocations: 110.9 MB / 125.9 MB, free: 6.227 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001573/0.001573, allocations: 139.4 kB / 151.8 MB, free: 5.004 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.000269, allocations: 4 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 25.15 MB / 210 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04261/0.1842, allocations: 34.67 MB / 244.7 MB, free: 15.16 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.1845, allocations: 68.72 kB / 244.8 MB, free: 15.09 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009608/0.1941, allocations: 3.58 MB / 248.4 MB, free: 11.53 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1942, allocations: 2.344 kB / 248.4 MB, free: 11.53 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1942, allocations: 8 kB / 248.4 MB, free: 11.52 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006536/0.1948, allocations: 498.6 kB / 248.9 MB, free: 10.98 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1949, allocations: 12.03 kB / 248.9 MB, free: 10.97 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.195, allocations: 23.72 kB / 248.9 MB, free: 10.95 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.1952, allocations: 227.5 kB / 249.1 MB, free: 10.69 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1952, allocations: 16.44 kB / 249.1 MB, free: 10.67 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.1953, allocations: 19.91 kB / 249.2 MB, free: 10.65 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.1957, allocations: 213.8 kB / 249.4 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.1957, allocations: 4 kB / 249.4 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.1957, allocations: 11.95 kB / 249.4 MB, free: 10.42 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1957, allocations: 8 kB / 249.4 MB, free: 10.41 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.196, allocations: 149.1 kB / 249.5 MB, free: 10.27 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1972, allocations: 0.7853 MB / 250.3 MB, free: 9.414 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.1976, allocations: 205.6 kB / 250.5 MB, free: 9.195 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1976, allocations: 4 kB / 250.5 MB, free: 9.191 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1976, allocations: 34.56 kB / 250.6 MB, free: 9.148 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.1976, allocations: 4 kB / 250.6 MB, free: 9.145 MB / 186.7 MB Notification: Performance of matching and sorting (n=25): time 0.00147/0.1991, allocations: 0.8644 MB / 251.4 MB, free: 8.191 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.1992, allocations: 82.7 kB / 251.5 MB, free: 8.094 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1993, allocations: 159.8 kB / 251.7 MB, free: 7.934 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1994, allocations: 33.7 kB / 251.7 MB, free: 7.895 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.1995, allocations: 144.2 kB / 251.8 MB, free: 7.75 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.1995, allocations: 86.75 kB / 251.9 MB, free: 7.664 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.1995, allocations: 4 kB / 251.9 MB, free: 7.66 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1997, allocations: 330.8 kB / 252.2 MB, free: 7.328 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.1998, allocations: 67.97 kB / 252.3 MB, free: 7.262 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.2, allocations: 112.2 kB / 252.4 MB, free: 7.137 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.2002, allocations: 78.86 kB / 252.5 MB, free: 7.062 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2002, allocations: 8 kB / 252.5 MB, free: 7.055 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003937/0.2006, allocations: 249.2 kB / 252.7 MB, free: 6.805 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2006, allocations: 4 kB / 252.8 MB, free: 6.801 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2006, allocations: 4 kB / 252.8 MB, free: 6.797 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2006, allocations: 0 / 252.8 MB, free: 6.797 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.2009, allocations: 64 kB / 252.8 MB, free: 6.734 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2009, allocations: 4 kB / 252.8 MB, free: 6.73 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.201, allocations: 18.75 kB / 252.8 MB, free: 6.715 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.201, allocations: 7.984 kB / 252.8 MB, free: 6.707 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 () * Number of clocked 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 0.0001118/0.2012, allocations: 141.7 kB / 253 MB, free: 6.559 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.2012, allocations: 19.72 kB / 253 MB, free: 6.539 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.391e-05/0.2013, allocations: 25.88 kB / 253 MB, free: 6.516 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2013, allocations: 8 kB / 253 MB, free: 6.508 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2013, allocations: 0 / 253 MB, free: 6.508 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.2013, allocations: 7.984 kB / 253 MB, free: 6.5 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007962/0.2021, allocations: 0.5713 MB / 253.6 MB, free: 5.863 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2021, allocations: 0 / 253.6 MB, free: 5.863 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.2024, allocations: 59.91 kB / 253.7 MB, free: 5.805 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2024, allocations: 0 / 253.7 MB, free: 5.805 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.2025, allocations: 14.98 kB / 253.7 MB, free: 5.793 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2025, allocations: 4 kB / 253.7 MB, free: 5.789 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2025, allocations: 0 / 253.7 MB, free: 5.789 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.2031, allocations: 0.5351 MB / 254.2 MB, free: 5.203 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.2032, allocations: 108.9 kB / 254.3 MB, free: 5.078 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.2033, allocations: 11.98 kB / 254.3 MB, free: 5.066 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.2034, allocations: 12 kB / 254.4 MB, free: 5.055 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.2035, allocations: 15.97 kB / 254.4 MB, free: 5.039 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.2035, allocations: 12 kB / 254.4 MB, free: 5.027 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.846e-05/0.2036, allocations: 136.1 kB / 254.5 MB, free: 4.895 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2036, allocations: 0 / 254.5 MB, free: 4.895 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003093/0.2039, allocations: 52 kB / 254.6 MB, free: 4.844 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 () * Number of clocked 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.0001286/0.2041, allocations: 107.2 kB / 254.7 MB, free: 4.727 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000364/0.2044, allocations: 179.8 kB / 254.9 MB, free: 4.551 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2044, allocations: 0 / 254.9 MB, free: 4.551 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.2046, allocations: 105.4 kB / 255 MB, free: 4.449 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.205, allocations: 34.69 kB / 255 MB, free: 4.422 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2062, allocations: 0.8262 MB / 255.8 MB, free: 3.559 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.2065, allocations: 0.7481 MB / 256.6 MB, free: 2.785 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 9.826e-05/0.2066, allocations: 21.94 kB / 256.6 MB, free: 2.766 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.2067, allocations: 19.44 kB / 256.6 MB, free: 2.746 MB / 186.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2067, allocations: 0 / 256.6 MB, free: 2.746 MB / 186.7 MB Notification: Performance of Templates: time 0.004445/0.2111, allocations: 1.756 MB / 258.4 MB, free: 1.016 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)