Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006799/0.006799, allocations: 164.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.319/1.319, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001343/0.001343, allocations: 110.5 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003018, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 38.77 MB / 312.9 MB, free: 38.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08078/0.2857, allocations: 67.53 MB / 380.4 MB, free: 6.984 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.286, allocations: 67.97 kB / 380.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.296, allocations: 3.7 MB / 384.2 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2961, allocations: 0 / 384.2 MB, free: 3.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.2961, allocations: 4 kB / 384.2 MB, free: 3.203 MB / 282.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.0007079/0.2968, allocations: 0.4911 MB / 384.7 MB, free: 2.664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2969, allocations: 8.031 kB / 384.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.2969, allocations: 35.72 kB / 384.7 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.2972, allocations: 227.1 kB / 384.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2972, allocations: 16.39 kB / 385 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.2972, allocations: 24 kB / 385 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.2977, allocations: 217.3 kB / 385.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.2977, allocations: 0 / 385.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.2977, allocations: 12 kB / 385.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2977, allocations: 7.984 kB / 385.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.298, allocations: 148.5 kB / 385.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.2992, allocations: 0.8111 MB / 386.2 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.2996, allocations: 206 kB / 386.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.2996, allocations: 3.938 kB / 386.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.2997, allocations: 34.56 kB / 386.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.2997, allocations: 0 / 386.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001592/0.3013, allocations: 0.8883 MB / 387.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3013, allocations: 89.5 kB / 387.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3015, allocations: 162.4 kB / 387.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3015, allocations: 29.7 kB / 387.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.3016, allocations: 140.4 kB / 387.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.3017, allocations: 94.58 kB / 387.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.3017, allocations: 8 kB / 387.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3018, allocations: 330.8 kB / 388.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3019, allocations: 67.97 kB / 388.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.3021, allocations: 116.2 kB / 388.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3023, allocations: 88.97 kB / 388.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3023, allocations: 0 / 388.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000401/0.3027, allocations: 252.3 kB / 388.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3027, allocations: 8 kB / 388.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3027, allocations: 4.094 kB / 388.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3028, allocations: 4 kB / 388.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.303, allocations: 63.91 kB / 388.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.303, allocations: 7.953 kB / 388.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3031, allocations: 8 kB / 388.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3032, allocations: 11.98 kB / 388.7 MB, free: 14.3 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 () * 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 0.0001194/0.3033, allocations: 137.8 kB / 388.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.3034, allocations: 23.72 kB / 388.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.457e-05/0.3034, allocations: 25.88 kB / 388.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3034, allocations: 4 kB / 388.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3034, allocations: 0 / 388.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3035, allocations: 7.938 kB / 388.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.3042, allocations: 0.5871 MB / 389.5 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3042, allocations: 4 kB / 389.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.3045, allocations: 55.91 kB / 389.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3046, allocations: 7.953 kB / 389.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.3046, allocations: 8 kB / 389.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3046, allocations: 0 / 389.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3046, allocations: 0 / 389.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.3052, allocations: 0.5583 MB / 390.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.448e-05/0.3053, allocations: 108.8 kB / 390.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.3054, allocations: 12 kB / 390.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.3055, allocations: 15.92 kB / 390.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.3056, allocations: 23.94 kB / 390.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3056, allocations: 4 kB / 390.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.175e-05/0.3057, allocations: 136.2 kB / 390.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.713e-06/0.3057, allocations: 0 / 390.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.3061, allocations: 55.94 kB / 390.5 MB, free: 12.39 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 () * 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 0.0001327/0.3062, allocations: 107.2 kB / 390.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.3066, allocations: 187.8 kB / 390.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3066, allocations: 0 / 390.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.3068, allocations: 100.2 kB / 390.9 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3071, allocations: 40.19 kB / 390.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.3083, allocations: 0.8259 MB / 391.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3086, allocations: 0.752 MB / 392.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.601e-05/0.3087, allocations: 21.95 kB / 392.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.3088, allocations: 19.44 kB / 392.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3088, allocations: 0 / 392.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of Templates: time 0.004222/0.313, allocations: 1.781 MB / 394.3 MB, free: 8.512 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1)