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.001592/0.001591, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.527/1.527, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001582/0.001581, allocations: 118 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.851e-05, allocations: 4 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2974/0.4176, allocations: 72.06 MB / 414.6 MB, free: 23.79 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.4178, allocations: 68.72 kB / 414.7 MB, free: 23.75 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.008614/0.4264, allocations: 3.654 MB / 418.3 MB, free: 20.77 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4265, allocations: 0 / 418.3 MB, free: 20.77 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.4265, allocations: 4 kB / 418.4 MB, free: 20.76 MB / 315.1 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.0004805/0.427, allocations: 483.5 kB / 418.8 MB, free: 20.26 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.427, allocations: 11.31 kB / 418.8 MB, free: 20.25 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.4271, allocations: 23.72 kB / 418.9 MB, free: 20.23 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.4273, allocations: 226 kB / 419.1 MB, free: 19.98 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4273, allocations: 4 kB / 419.1 MB, free: 19.98 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.4273, allocations: 15.81 kB / 419.1 MB, free: 19.96 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002089/0.4276, allocations: 117.2 kB / 419.2 MB, free: 19.89 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.4278, allocations: 169.7 kB / 419.4 MB, free: 19.75 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4278, allocations: 6.969 kB / 419.4 MB, free: 19.74 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.4278, allocations: 4 kB / 419.4 MB, free: 19.74 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4279, allocations: 4.844 kB / 419.4 MB, free: 19.73 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.4287, allocations: 0.747 MB / 420.1 MB, free: 19.05 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.429, allocations: 172.9 kB / 420.3 MB, free: 18.91 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.4292, allocations: 93.97 kB / 420.4 MB, free: 18.84 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.4292, allocations: 0 / 420.4 MB, free: 18.84 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.4292, allocations: 40.62 kB / 420.4 MB, free: 18.8 MB / 315.1 MB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.4292, allocations: 0 / 420.4 MB, free: 18.8 MB / 315.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008919/0.4301, allocations: 0.7125 MB / 421.2 MB, free: 18.07 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.4302, allocations: 87.8 kB / 421.2 MB, free: 17.97 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.4302, allocations: 143.3 kB / 421.4 MB, free: 17.84 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.4303, allocations: 25.7 kB / 421.4 MB, free: 17.81 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.4303, allocations: 141.6 kB / 421.5 MB, free: 17.69 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.4304, allocations: 99.62 kB / 421.6 MB, free: 17.6 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.4304, allocations: 0 / 421.6 MB, free: 17.6 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.4305, allocations: 330 kB / 422 MB, free: 17.28 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.338e-05/0.4306, allocations: 47.62 kB / 422 MB, free: 17.25 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.4306, allocations: 101.1 kB / 422.1 MB, free: 17.16 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.015e-05/0.4307, allocations: 57.22 kB / 422.2 MB, free: 17.12 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4308, allocations: 0 / 422.2 MB, free: 17.12 MB / 315.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002455/0.431, allocations: 196.1 kB / 422.4 MB, free: 16.97 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.431, allocations: 11.88 kB / 422.4 MB, free: 16.96 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.431, allocations: 4 kB / 422.4 MB, free: 16.96 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4311, allocations: 4 kB / 422.4 MB, free: 16.95 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.4313, allocations: 67.77 kB / 422.4 MB, free: 16.89 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.4313, allocations: 4 kB / 422.4 MB, free: 16.89 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.4314, allocations: 4 kB / 422.4 MB, free: 16.88 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.4314, allocations: 8 kB / 422.5 MB, free: 16.88 MB / 315.1 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 6.437e-05/0.4315, allocations: 121.3 kB / 422.6 MB, free: 16.75 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.4316, allocations: 19.72 kB / 422.6 MB, free: 16.73 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.655e-05/0.4316, allocations: 28.59 kB / 422.6 MB, free: 16.72 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4316, allocations: 4 kB / 422.6 MB, free: 16.71 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4317, allocations: 2.5 kB / 422.6 MB, free: 16.71 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4317, allocations: 0 / 422.6 MB, free: 16.71 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.4322, allocations: 0.5262 MB / 423.2 MB, free: 16.22 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4323, allocations: 0 / 423.2 MB, free: 16.22 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.4325, allocations: 60.66 kB / 423.2 MB, free: 16.16 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4325, allocations: 0 / 423.2 MB, free: 16.16 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.4326, allocations: 7.984 kB / 423.2 MB, free: 16.15 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4326, allocations: 0 / 423.2 MB, free: 16.15 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4326, allocations: 4 kB / 423.2 MB, free: 16.15 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.433, allocations: 494.7 kB / 423.7 MB, free: 15.69 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.433, allocations: 96.86 kB / 423.8 MB, free: 15.58 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.433, allocations: 0 / 423.8 MB, free: 15.58 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.4332, allocations: 13.64 kB / 423.8 MB, free: 15.57 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.4333, allocations: 18.78 kB / 423.8 MB, free: 15.55 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.4333, allocations: 10.5 kB / 423.8 MB, free: 15.54 MB / 315.1 MB Notification: Performance of sorting global known variables: time 5.175e-05/0.4334, allocations: 112.4 kB / 424 MB, free: 15.45 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.382e-06/0.4334, allocations: 0 / 424 MB, free: 15.45 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.4337, allocations: 47.94 kB / 424 MB, free: 15.4 MB / 315.1 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.000104/0.4338, allocations: 107.4 kB / 424.1 MB, free: 15.29 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.434, allocations: 135.9 kB / 424.2 MB, free: 15.2 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.434, allocations: 0 / 424.2 MB, free: 15.2 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.4341, allocations: 83.02 kB / 424.3 MB, free: 15.13 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.4344, allocations: 23.5 kB / 424.3 MB, free: 15.12 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00081/0.4353, allocations: 0.5271 MB / 424.9 MB, free: 14.6 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.4355, allocations: 0.7557 MB / 425.6 MB, free: 13.82 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 9.204e-05/0.4356, allocations: 18.08 kB / 425.6 MB, free: 13.8 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.4356, allocations: 27.72 kB / 425.7 MB, free: 13.78 MB / 315.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4356, allocations: 0 / 425.7 MB, free: 13.78 MB / 315.1 MB Notification: Performance of Templates: time 0.003701/0.4393, allocations: 1.666 MB / 427.3 MB, free: 12.16 MB / 315.1 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)