Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001155/0.001155, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.482/1.482, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001628/0.001628, allocations: 118.3 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.427e-05, allocations: 8 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09188/0.09193, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3889/0.4808, allocations: 72.73 MB / 422.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.4812, allocations: 75.34 kB / 422.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.4964, allocations: 3.679 MB / 425.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4964, allocations: 3.875 kB / 425.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.4964, allocations: 3.812 kB / 425.9 MB, free: 10.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006122/0.4971, allocations: 479.4 kB / 426.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4971, allocations: 7.312 kB / 426.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.4972, allocations: 26.88 kB / 426.4 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.4974, allocations: 226 kB / 426.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.4975, allocations: 14.81 kB / 426.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.4975, allocations: 26.25 kB / 426.7 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.4979, allocations: 203.9 kB / 426.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.498, allocations: 0 / 426.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.498, allocations: 10.84 kB / 426.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.498, allocations: 3.844 kB / 426.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.4983, allocations: 122.9 kB / 427 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.4995, allocations: 0.8031 MB / 427.8 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.4999, allocations: 187.1 kB / 428 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.5001, allocations: 97.14 kB / 428.1 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.5002, allocations: 11.81 kB / 428.1 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.5002, allocations: 38.45 kB / 428.2 MB, free: 8.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.5002, allocations: 0 / 428.2 MB, free: 8.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001059/0.5013, allocations: 0.7576 MB / 428.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.5013, allocations: 85.08 kB / 429 MB, free: 8.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.5014, allocations: 160.6 kB / 429.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.5014, allocations: 29.45 kB / 429.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.5015, allocations: 141 kB / 429.3 MB, free: 7.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.5016, allocations: 91.38 kB / 429.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.5016, allocations: 10.47 kB / 429.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.5016, allocations: 331.4 kB / 429.7 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.5017, allocations: 51.55 kB / 429.8 MB, free: 7.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-05/0.5018, allocations: 105.2 kB / 429.9 MB, free: 7.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.5019, allocations: 73.58 kB / 430 MB, free: 7.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.502, allocations: 0 / 430 MB, free: 7.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002681/0.5022, allocations: 221.6 kB / 430.2 MB, free: 7.297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5023, allocations: 3.844 kB / 430.2 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5023, allocations: 3.938 kB / 430.2 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5023, allocations: 3.906 kB / 430.2 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.5025, allocations: 66.22 kB / 430.3 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.5025, allocations: 0 / 430.3 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.5027, allocations: 23.33 kB / 430.3 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.5027, allocations: 11.28 kB / 430.3 MB, free: 7.27 MB / 298.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 (32): * Single equations (assignments): 32 * 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 7.604e-05/0.5028, allocations: 120.2 kB / 430.4 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.5028, allocations: 23.48 kB / 430.4 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/0.5029, allocations: 27.25 kB / 430.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5029, allocations: 448 / 430.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.5029, allocations: 7.828 kB / 430.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5029, allocations: 0 / 430.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.5036, allocations: 0.5771 MB / 431 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5036, allocations: 0 / 431 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.5039, allocations: 61.56 kB / 431.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5039, allocations: 3.844 kB / 431.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.5039, allocations: 11.33 kB / 431.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.5039, allocations: 0 / 431.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5039, allocations: 8.031 kB / 431.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.5044, allocations: 0.4953 MB / 431.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.5045, allocations: 104.4 kB / 431.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.5045, allocations: 7.156 kB / 431.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.5047, allocations: 7.531 kB / 431.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.5047, allocations: 22.81 kB / 431.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.5047, allocations: 3.906 kB / 431.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.929e-05/0.5048, allocations: 127.6 kB / 431.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5048, allocations: 4 kB / 431.9 MB, free: 6.168 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003042/0.5051, allocations: 57.27 kB / 432 MB, free: 6.164 MB / 298.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 (26): * Single equations (assignments): 26 * 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.0001307/0.5053, allocations: 105.8 kB / 432.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.5055, allocations: 154 kB / 432.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5056, allocations: 0 / 432.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.5057, allocations: 86.59 kB / 432.3 MB, free: 6.047 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.5061, allocations: 36.7 kB / 432.3 MB, free: 6.031 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/0.5069, allocations: 0.5504 MB / 432.9 MB, free: 5.625 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.507, allocations: 0.7537 MB / 433.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.286e-05/0.5071, allocations: 29.38 kB / 433.7 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.5072, allocations: 18.81 kB / 433.7 MB, free: 4.867 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5072, allocations: 0 / 433.7 MB, free: 4.867 MB / 298.7 MB Notification: Performance of Templates: time 0.004121/0.5113, allocations: 1.81 MB / 435.5 MB, free: 3.988 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1)