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.001002/0.001002, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.189/1.189, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001493/0.001493, allocations: 105.8 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08213/0.08242, allocations: 44.5 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.3152, allocations: 72.8 MB / 427.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.3154, allocations: 70.94 kB / 427.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00837/0.3238, allocations: 3.686 MB / 431.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3238, allocations: 0 / 431.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3239, allocations: 4 kB / 431.6 MB, free: 13.64 MB / 314.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.0004775/0.3243, allocations: 0.4931 MB / 432.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3244, allocations: 8.031 kB / 432.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.3244, allocations: 23.72 kB / 432.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.3246, allocations: 237.8 kB / 432.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3246, allocations: 11.75 kB / 432.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.3247, allocations: 23.12 kB / 432.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.325, allocations: 215.3 kB / 432.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.325, allocations: 4 kB / 432.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.325, allocations: 4.5 kB / 432.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.325, allocations: 4 kB / 432.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.3253, allocations: 161.2 kB / 432.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/0.3261, allocations: 0.8044 MB / 433.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.3265, allocations: 205.3 kB / 433.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3265, allocations: 4 kB / 433.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.168e-05/0.3265, allocations: 39.69 kB / 433.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.223e-06/0.3265, allocations: 0 / 433.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001172/0.3277, allocations: 0.8732 MB / 434.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.3277, allocations: 85.05 kB / 434.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/0.3278, allocations: 153.9 kB / 434.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.3278, allocations: 32.58 kB / 435 MB, free: 10.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.3279, allocations: 148.4 kB / 435.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.3279, allocations: 95.77 kB / 435.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.328, allocations: 3.312 kB / 435.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.328, allocations: 330 kB / 435.5 MB, free: 9.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3281, allocations: 68.7 kB / 435.6 MB, free: 9.883 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.3283, allocations: 113.7 kB / 435.7 MB, free: 9.781 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3284, allocations: 88.19 kB / 435.8 MB, free: 9.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3284, allocations: 6.078 kB / 435.8 MB, free: 9.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003298/0.3288, allocations: 254 kB / 436.1 MB, free: 9.527 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3288, allocations: 4 kB / 436.1 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3288, allocations: 0 / 436.1 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3288, allocations: 4 kB / 436.1 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.329, allocations: 59.91 kB / 436.1 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3291, allocations: 4.094 kB / 436.1 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3292, allocations: 23.8 kB / 436.2 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3292, allocations: 14.31 kB / 436.2 MB, free: 9.43 MB / 314.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 (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.731e-05/0.3293, allocations: 133.1 kB / 436.3 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.3293, allocations: 23.77 kB / 436.3 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.3294, allocations: 31.77 kB / 436.4 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3294, allocations: 0 / 436.4 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3294, allocations: 4 kB / 436.4 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3294, allocations: 4 kB / 436.4 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/0.33, allocations: 0.5852 MB / 436.9 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.33, allocations: 0 / 436.9 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.3303, allocations: 63.06 kB / 437 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3303, allocations: 5.125 kB / 437 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3303, allocations: 9.5 kB / 437 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3303, allocations: 0 / 437 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3303, allocations: 4 kB / 437 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.3308, allocations: 0.5487 MB / 437.6 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.3308, allocations: 93.81 kB / 437.7 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3309, allocations: 9.578 kB / 437.7 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.331, allocations: 15.22 kB / 437.7 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.3311, allocations: 15.8 kB / 437.7 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3311, allocations: 8 kB / 437.7 MB, free: 7.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.957e-05/0.3312, allocations: 133.1 kB / 437.8 MB, free: 7.863 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3312, allocations: 0 / 437.8 MB, free: 7.863 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00029/0.3315, allocations: 56.03 kB / 437.9 MB, free: 7.816 MB / 314.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 (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 9.018e-05/0.3316, allocations: 109.4 kB / 438 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.3319, allocations: 190 kB / 438.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3319, allocations: 0 / 438.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.332, allocations: 103.8 kB / 438.3 MB, free: 7.484 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.3324, allocations: 31.67 kB / 438.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008847/0.3332, allocations: 0.8367 MB / 439.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.3334, allocations: 0.7481 MB / 439.9 MB, free: 5.871 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.724e-05/0.3335, allocations: 29.92 kB / 439.9 MB, free: 5.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.3336, allocations: 19.44 kB / 440 MB, free: 5.82 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.3336, allocations: 0 / 440 MB, free: 5.82 MB / 314.7 MB Notification: Performance of Templates: time 0.003699/0.3373, allocations: 1.784 MB / 441.7 MB, free: 4.09 MB / 314.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)