Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2409, allocations: 46.63 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002934/0.2438, allocations: 1.835 MB / 327.1 MB, free: 384 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006375/0.2502, allocations: 3.531 MB / 330.7 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2504, allocations: 10.66 kB / 330.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.2509, allocations: 127.6 kB / 330.8 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.2511, allocations: 36.28 kB / 330.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.2554, allocations: 1.774 MB / 332.6 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.2557, allocations: 303.1 kB / 332.9 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2558, allocations: 24.75 kB / 332.9 MB, free: 12.28 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.256, allocations: 115.5 kB / 333 MB, free: 12.17 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.2562, allocations: 107.4 kB / 333.1 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.2562, allocations: 12 kB / 333.2 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.2565, allocations: 151.7 kB / 333.3 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2566, allocations: 71.73 kB / 333.4 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.2567, allocations: 99.3 kB / 333.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.2571, allocations: 334.9 kB / 333.8 MB, free: 11.41 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2571, allocations: 0 / 333.8 MB, free: 11.41 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2571, allocations: 0 / 333.8 MB, free: 11.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2571, allocations: 0 / 333.8 MB, free: 11.41 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007833/0.2579, allocations: 0.5763 MB / 334.4 MB, free: 10.78 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2579, allocations: 12.03 kB / 334.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.258, allocations: 28.56 kB / 334.4 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.2583, allocations: 284.2 kB / 334.7 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2583, allocations: 12.5 kB / 334.7 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.2584, allocations: 23.92 kB / 334.7 MB, free: 10.39 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.2587, allocations: 194.1 kB / 334.9 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2587, allocations: 0 / 334.9 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.2588, allocations: 8 kB / 334.9 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2588, allocations: 0 / 334.9 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.259, allocations: 91.88 kB / 335 MB, free: 10.06 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008579/0.2598, allocations: 492.4 kB / 335.5 MB, free: 9.531 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.2601, allocations: 174.5 kB / 335.7 MB, free: 9.352 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.2603, allocations: 60.86 kB / 335.7 MB, free: 9.289 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.2603, allocations: 4 kB / 335.7 MB, free: 9.285 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.2603, allocations: 30.56 kB / 335.8 MB, free: 9.246 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.2603, allocations: 3.984 kB / 335.8 MB, free: 9.242 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004544/0.2608, allocations: 217.2 kB / 336 MB, free: 9.023 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.2609, allocations: 298.7 kB / 336.3 MB, free: 8.664 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.2612, allocations: 280.5 kB / 336.5 MB, free: 8.375 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.2613, allocations: 33.69 kB / 336.6 MB, free: 8.336 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2614, allocations: 156.4 kB / 336.7 MB, free: 8.18 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.2614, allocations: 47.3 kB / 336.8 MB, free: 8.133 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.689e-05/0.2615, allocations: 61.69 kB / 336.8 MB, free: 8.066 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2617, allocations: 342.8 kB / 337.2 MB, free: 7.723 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.2618, allocations: 103.9 kB / 337.3 MB, free: 7.621 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.2621, allocations: 176.5 kB / 337.4 MB, free: 7.418 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.2624, allocations: 209.5 kB / 337.6 MB, free: 7.207 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2624, allocations: 4 kB / 337.7 MB, free: 7.203 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004442/0.2629, allocations: 305.1 kB / 337.9 MB, free: 6.898 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2629, allocations: 8 kB / 338 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.2629, allocations: 4.078 kB / 338 MB, free: 6.887 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2629, allocations: 7.938 kB / 338 MB, free: 6.879 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.2632, allocations: 47.97 kB / 338 MB, free: 6.832 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2632, allocations: 112 / 338 MB, free: 6.832 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2633, allocations: 39.55 kB / 338.1 MB, free: 6.793 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.2634, allocations: 8 kB / 338.1 MB, free: 6.785 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.2635, allocations: 145.8 kB / 338.2 MB, free: 6.633 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.2636, allocations: 27.72 kB / 338.2 MB, free: 6.605 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.2636, allocations: 29.97 kB / 338.3 MB, free: 6.574 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2636, allocations: 4 kB / 338.3 MB, free: 6.57 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2636, allocations: 0 / 338.3 MB, free: 6.57 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2637, allocations: 3.938 kB / 338.3 MB, free: 6.566 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.2639, allocations: 269.4 kB / 338.5 MB, free: 6.254 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2639, allocations: 0 / 338.5 MB, free: 6.254 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.2641, allocations: 27.92 kB / 338.6 MB, free: 6.227 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2641, allocations: 0 / 338.6 MB, free: 6.227 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2642, allocations: 8 kB / 338.6 MB, free: 6.219 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2642, allocations: 7.984 kB / 338.6 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2642, allocations: 0 / 338.6 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.2646, allocations: 327.1 kB / 338.9 MB, free: 5.875 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.2647, allocations: 104.7 kB / 339 MB, free: 5.754 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.2647, allocations: 8.062 kB / 339 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.2649, allocations: 7.984 kB / 339 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.2649, allocations: 15.92 kB / 339 MB, free: 5.723 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2649, allocations: 11.94 kB / 339 MB, free: 5.711 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.2651, allocations: 191.1 kB / 339.2 MB, free: 5.527 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2651, allocations: 0 / 339.2 MB, free: 5.527 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003383/0.2655, allocations: 75.98 kB / 339.3 MB, free: 5.453 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002221/0.2657, allocations: 135.2 kB / 339.4 MB, free: 5.309 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.2662, allocations: 296.9 kB / 339.7 MB, free: 5 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2662, allocations: 4 kB / 339.7 MB, free: 4.996 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.2663, allocations: 63.91 kB / 339.8 MB, free: 4.934 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.2668, allocations: 85.27 kB / 339.9 MB, free: 4.852 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.2677, allocations: 0.549 MB / 340.4 MB, free: 4.277 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.2681, allocations: 0.7675 MB / 341.2 MB, free: 3.484 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.2682, allocations: 45.91 kB / 341.2 MB, free: 3.441 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.2683, allocations: 19.44 kB / 341.3 MB, free: 3.426 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2683, allocations: 0 / 341.3 MB, free: 3.426 MB / 270.1 MB Notification: Performance of Templates: time 0.007233/0.2755, allocations: 3.752 MB / 345 MB, free: 15.68 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)