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.00163/0.00163, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002017, allocations: 192.9 kB / 16.25 MB, free: 6.625 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.605/1.605, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.001417/0.001417, allocations: 63.91 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2998, allocations: 46.62 MB / 324.8 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002589/0.3024, allocations: 1.871 MB / 326.7 MB, free: 452 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.005604/0.308, allocations: 3.6 MB / 330.3 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.3082, allocations: 10.22 kB / 330.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005191/0.3088, allocations: 114.8 kB / 330.4 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3089, allocations: 31.97 kB / 330.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004847/0.3138, allocations: 1.596 MB / 332.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.3142, allocations: 300.4 kB / 332.4 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3143, allocations: 40.72 kB / 332.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.3144, allocations: 111.5 kB / 332.5 MB, free: 12.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.3146, allocations: 99.42 kB / 332.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.3146, allocations: 12 kB / 332.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.3149, allocations: 155.7 kB / 332.8 MB, free: 12.17 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.315, allocations: 67.81 kB / 332.8 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.066e-05/0.3151, allocations: 107.3 kB / 332.9 MB, free: 12 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.3155, allocations: 330.9 kB / 333.3 MB, free: 11.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3155, allocations: 4 kB / 333.3 MB, free: 11.67 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3155, allocations: 0 / 333.3 MB, free: 11.67 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3156, allocations: 0 / 333.3 MB, free: 11.67 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.0008659/0.3164, allocations: 0.5763 MB / 333.8 MB, free: 11.05 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3165, allocations: 8.031 kB / 333.8 MB, free: 11.04 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.3166, allocations: 36.56 kB / 333.9 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.3169, allocations: 284.2 kB / 334.2 MB, free: 10.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3169, allocations: 16.5 kB / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.3169, allocations: 15.94 kB / 334.2 MB, free: 10.65 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.3172, allocations: 202.1 kB / 334.4 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3172, allocations: 0 / 334.4 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3173, allocations: 8 kB / 334.4 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3173, allocations: 3.984 kB / 334.4 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.3175, allocations: 87.88 kB / 334.5 MB, free: 10.32 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.3183, allocations: 496.4 kB / 335 MB, free: 9.785 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.3186, allocations: 162.5 kB / 335.1 MB, free: 9.617 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3187, allocations: 60.86 kB / 335.2 MB, free: 9.555 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3187, allocations: 4 kB / 335.2 MB, free: 9.551 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3187, allocations: 38.55 kB / 335.2 MB, free: 9.504 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.3187, allocations: 4 kB / 335.2 MB, free: 9.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.000437/0.3192, allocations: 221.2 kB / 335.4 MB, free: 9.277 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.3193, allocations: 286.7 kB / 335.7 MB, free: 8.93 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.3196, allocations: 284.5 kB / 336 MB, free: 8.641 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.3196, allocations: 25.7 kB / 336 MB, free: 8.609 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3198, allocations: 164.4 kB / 336.2 MB, free: 8.445 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.3198, allocations: 47.28 kB / 336.2 MB, free: 8.398 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.3199, allocations: 65.7 kB / 336.3 MB, free: 8.328 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3201, allocations: 342.8 kB / 336.6 MB, free: 7.984 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.3202, allocations: 99.94 kB / 336.7 MB, free: 7.887 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.3205, allocations: 176.5 kB / 336.9 MB, free: 7.684 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.3208, allocations: 213.2 kB / 337.1 MB, free: 7.469 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3208, allocations: 0 / 337.1 MB, free: 7.469 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004301/0.3212, allocations: 309.3 kB / 337.4 MB, free: 7.16 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3213, allocations: 8 kB / 337.4 MB, free: 7.152 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.3213, allocations: 3.984 kB / 337.4 MB, free: 7.148 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3213, allocations: 4 kB / 337.4 MB, free: 7.145 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.3216, allocations: 43.97 kB / 337.5 MB, free: 7.102 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3216, allocations: 112 / 337.5 MB, free: 7.102 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3217, allocations: 43.55 kB / 337.5 MB, free: 7.059 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3217, allocations: 11.98 kB / 337.5 MB, free: 7.047 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.000133/0.3218, allocations: 145.8 kB / 337.7 MB, free: 6.895 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.3219, allocations: 23.72 kB / 337.7 MB, free: 6.871 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.322, allocations: 29.97 kB / 337.7 MB, free: 6.84 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.322, allocations: 0 / 337.7 MB, free: 6.84 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.322, allocations: 4 kB / 337.7 MB, free: 6.836 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.322, allocations: 3.938 kB / 337.7 MB, free: 6.832 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3223, allocations: 265.5 kB / 338 MB, free: 6.523 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3223, allocations: 4 kB / 338 MB, free: 6.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.3225, allocations: 27.92 kB / 338 MB, free: 6.492 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3225, allocations: 0 / 338 MB, free: 6.492 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3225, allocations: 8 kB / 338 MB, free: 6.484 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3225, allocations: 0 / 338 MB, free: 6.484 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3225, allocations: 4 kB / 338 MB, free: 6.48 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.3229, allocations: 327.1 kB / 338.4 MB, free: 6.145 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.323, allocations: 112.7 kB / 338.5 MB, free: 6.016 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.3231, allocations: 8.062 kB / 338.5 MB, free: 6.008 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3232, allocations: 4 kB / 338.5 MB, free: 6.004 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.543e-05/0.3232, allocations: 15.92 kB / 338.5 MB, free: 5.988 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3232, allocations: 7.938 kB / 338.5 MB, free: 5.98 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.3234, allocations: 195.1 kB / 338.7 MB, free: 5.793 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3234, allocations: 0 / 338.7 MB, free: 5.793 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003376/0.3238, allocations: 87.97 kB / 338.8 MB, free: 5.707 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.0002657/0.324, allocations: 135.2 kB / 338.9 MB, free: 5.562 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000449/0.3245, allocations: 292.9 kB / 339.2 MB, free: 5.258 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3245, allocations: 0 / 339.2 MB, free: 5.258 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3246, allocations: 67.89 kB / 339.3 MB, free: 5.191 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.3251, allocations: 73.3 kB / 339.3 MB, free: 5.121 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009406/0.326, allocations: 0.6154 MB / 339.9 MB, free: 4.48 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3264, allocations: 0.7753 MB / 340.7 MB, free: 3.68 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.3265, allocations: 41.91 kB / 340.8 MB, free: 3.641 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.3266, allocations: 23.44 kB / 340.8 MB, free: 3.621 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3266, allocations: 4 kB / 340.8 MB, free: 3.617 MB / 270.1 MB Notification: Performance of Templates: time 0.007365/0.3339, allocations: 3.717 MB / 344.5 MB, free: 15.9 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)