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.7133/0.7133, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001649/0.001649, allocations: 151.4 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.206e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05187/0.05191, allocations: 25.18 MB / 205.4 MB, free: 8.434 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05141/0.1034, allocations: 34.58 MB / 240 MB, free: 5.801 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.1036, allocations: 67.97 kB / 240 MB, free: 5.734 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009803/0.1134, allocations: 3.578 MB / 243.6 MB, free: 2.141 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1135, allocations: 0 / 243.6 MB, free: 2.141 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.1135, allocations: 11.98 kB / 243.6 MB, free: 2.129 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.0006369/0.1141, allocations: 482.1 kB / 244.1 MB, free: 1.609 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.1142, allocations: 8.031 kB / 244.1 MB, free: 1.602 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.1143, allocations: 27.66 kB / 244.1 MB, free: 1.574 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1146, allocations: 219 kB / 244.3 MB, free: 1.32 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.1146, allocations: 16.44 kB / 244.4 MB, free: 1.305 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.1147, allocations: 19.94 kB / 244.4 MB, free: 1.285 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.1151, allocations: 197.9 kB / 244.6 MB, free: 1.082 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.1151, allocations: 11.84 kB / 244.6 MB, free: 1.07 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.1151, allocations: 11.95 kB / 244.6 MB, free: 1.059 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1152, allocations: 4 kB / 244.6 MB, free: 1.055 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.1154, allocations: 117.2 kB / 244.7 MB, free: 0.9414 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1166, allocations: 0.7853 MB / 245.5 MB, free: 92 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1111/0.2277, allocations: 178.6 kB / 245.7 MB, free: 41.26 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.228, allocations: 96.8 kB / 245.8 MB, free: 41.24 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.2281, allocations: 5.969 kB / 245.8 MB, free: 41.24 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.2281, allocations: 37.84 kB / 245.8 MB, free: 41.2 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 2.314e-06/0.2281, allocations: 0 / 245.8 MB, free: 41.2 MB / 186.7 MB Notification: Performance of matching and sorting (n=25): time 0.001338/0.2294, allocations: 0.7542 MB / 246.6 MB, free: 40.74 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.2295, allocations: 81.3 kB / 246.6 MB, free: 40.65 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2297, allocations: 158.9 kB / 246.8 MB, free: 40.55 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2297, allocations: 30.61 kB / 246.8 MB, free: 40.52 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.2297, allocations: 135.4 kB / 247 MB, free: 40.43 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.2298, allocations: 92.11 kB / 247 MB, free: 40.38 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.2298, allocations: 3.812 kB / 247.1 MB, free: 40.38 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.2299, allocations: 337 kB / 247.4 MB, free: 40.07 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.23, allocations: 51.7 kB / 247.4 MB, free: 40.07 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.2301, allocations: 97.27 kB / 247.5 MB, free: 40.03 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.2302, allocations: 62.92 kB / 247.6 MB, free: 40.03 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2302, allocations: 0 / 247.6 MB, free: 40.03 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003122/0.2306, allocations: 218.4 kB / 247.8 MB, free: 39.98 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2306, allocations: 9.703 kB / 247.8 MB, free: 39.98 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2306, allocations: 1.188 kB / 247.8 MB, free: 39.98 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2306, allocations: 2.875 kB / 247.8 MB, free: 39.98 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.2309, allocations: 63.31 kB / 247.9 MB, free: 39.98 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.2309, allocations: 6.203 kB / 247.9 MB, free: 39.98 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.231, allocations: 12.27 kB / 247.9 MB, free: 39.98 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2311, allocations: 10.95 kB / 247.9 MB, free: 39.98 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.629e-05/0.2311, allocations: 120.9 kB / 248 MB, free: 39.87 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.2312, allocations: 20.45 kB / 248 MB, free: 39.86 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.436e-05/0.2313, allocations: 28.3 kB / 248.1 MB, free: 39.86 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2313, allocations: 4.672 kB / 248.1 MB, free: 39.86 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2313, allocations: 1.344 kB / 248.1 MB, free: 39.86 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2313, allocations: 1.922 kB / 248.1 MB, free: 39.86 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008052/0.2321, allocations: 0.5773 MB / 248.7 MB, free: 39.52 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.2321, allocations: 1.953 kB / 248.7 MB, free: 39.52 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.2324, allocations: 58.3 kB / 248.7 MB, free: 39.52 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2325, allocations: 2.5 kB / 248.7 MB, free: 39.52 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.2325, allocations: 8.828 kB / 248.7 MB, free: 39.52 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.2325, allocations: 1.734 kB / 248.7 MB, free: 39.52 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2325, allocations: 6.359 kB / 248.7 MB, free: 39.52 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.2332, allocations: 0.4918 MB / 249.2 MB, free: 39.2 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.978e-05/0.2333, allocations: 103.8 kB / 249.3 MB, free: 39.1 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.2333, allocations: 6.844 kB / 249.3 MB, free: 39.1 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.2335, allocations: 12.73 kB / 249.3 MB, free: 39.1 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.2335, allocations: 18.81 kB / 249.4 MB, free: 39.1 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.2336, allocations: 9.828 kB / 249.4 MB, free: 39.1 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.2337, allocations: 136.7 kB / 249.5 MB, free: 39.02 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2337, allocations: 0 / 249.5 MB, free: 39.02 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.2341, allocations: 48.22 kB / 249.6 MB, free: 39.02 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.0001256/0.2342, allocations: 111.8 kB / 249.7 MB, free: 38.93 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.2345, allocations: 155.6 kB / 249.8 MB, free: 38.91 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2345, allocations: 2.906 kB / 249.8 MB, free: 38.91 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.2347, allocations: 86.03 kB / 249.9 MB, free: 38.91 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.235, allocations: 25.53 kB / 249.9 MB, free: 38.91 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009128/0.236, allocations: 0.5437 MB / 250.5 MB, free: 38.57 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.2362, allocations: 0.7522 MB / 251.2 MB, free: 37.87 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.2363, allocations: 23.11 kB / 251.2 MB, free: 37.87 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.2364, allocations: 20.61 kB / 251.3 MB, free: 37.86 MB / 186.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2364, allocations: 0 / 251.3 MB, free: 37.86 MB / 186.7 MB Notification: Performance of Templates: time 0.004929/0.2413, allocations: 1.788 MB / 253.1 MB, free: 37.71 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)