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.0009857/0.0009857, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001129/0.001128, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004799/0.00048, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3149, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00195/0.3169, allocations: 1.484 MB / 328 MB, free: 220 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.008266/0.3252, allocations: 3.406 MB / 331.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.3256, allocations: 6.094 kB / 331.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007063/0.3264, allocations: 103.7 kB / 331.5 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.3265, allocations: 33.16 kB / 331.5 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005326/0.3319, allocations: 1.352 MB / 332.9 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000628/0.3325, allocations: 263.7 kB / 333.1 MB, free: 12.65 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.3327, allocations: 29.39 kB / 333.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.333, allocations: 96.28 kB / 333.2 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.3332, allocations: 99.16 kB / 333.3 MB, free: 12.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.3332, allocations: 9.625 kB / 333.3 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.3337, allocations: 118.2 kB / 333.5 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3338, allocations: 66.11 kB / 333.5 MB, free: 12.42 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.142e-05/0.3339, allocations: 62.27 kB / 333.6 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.3343, allocations: 235.5 kB / 333.8 MB, free: 12.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3343, allocations: 0 / 333.8 MB, free: 12.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.3343, allocations: 0 / 333.8 MB, free: 12.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3343, allocations: 0 / 333.8 MB, free: 12.14 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.001163/0.3355, allocations: 0.5451 MB / 334.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.3356, allocations: 12.02 kB / 334.4 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.3356, allocations: 31.62 kB / 334.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.3361, allocations: 263.2 kB / 334.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3362, allocations: 16.14 kB / 334.7 MB, free: 11.19 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.3362, allocations: 15.98 kB / 334.7 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.3367, allocations: 203.8 kB / 334.9 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3367, allocations: 0 / 334.9 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.3368, allocations: 8 kB / 334.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3368, allocations: 4 kB / 334.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.337, allocations: 88.5 kB / 335 MB, free: 10.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.338, allocations: 0.4928 MB / 335.5 MB, free: 10.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.3384, allocations: 170.4 kB / 335.6 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3385, allocations: 60.77 kB / 335.7 MB, free: 10.06 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3385, allocations: 4 kB / 335.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.3386, allocations: 38.56 kB / 335.7 MB, free: 10.01 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.3386, allocations: 0 / 335.7 MB, free: 10.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005018/0.3391, allocations: 225.3 kB / 336 MB, free: 9.781 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.3393, allocations: 290.7 kB / 336.2 MB, free: 9.43 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.3396, allocations: 280.6 kB / 336.5 MB, free: 9.141 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.3397, allocations: 33.69 kB / 336.6 MB, free: 9.102 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3398, allocations: 160.4 kB / 336.7 MB, free: 8.941 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.3399, allocations: 47.27 kB / 336.8 MB, free: 8.895 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/0.3399, allocations: 0 / 336.8 MB, free: 8.895 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.34, allocations: 342.8 kB / 337.1 MB, free: 8.551 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.3402, allocations: 95.95 kB / 337.2 MB, free: 8.457 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.3404, allocations: 184.5 kB / 337.4 MB, free: 8.246 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.3407, allocations: 123.9 kB / 337.5 MB, free: 8.125 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3407, allocations: 0 / 337.5 MB, free: 8.125 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004516/0.3411, allocations: 305.5 kB / 337.8 MB, free: 7.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3412, allocations: 8 kB / 337.8 MB, free: 7.812 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.3412, allocations: 0 / 337.8 MB, free: 7.812 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3412, allocations: 4 kB / 337.8 MB, free: 7.809 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.3415, allocations: 55.89 kB / 337.8 MB, free: 7.754 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3415, allocations: 4 kB / 337.9 MB, free: 7.75 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3417, allocations: 31.64 kB / 337.9 MB, free: 7.719 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.3417, allocations: 11.98 kB / 337.9 MB, free: 7.707 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.3419, allocations: 157.7 kB / 338 MB, free: 7.543 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.342, allocations: 23.72 kB / 338.1 MB, free: 7.52 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.613e-05/0.3421, allocations: 33.95 kB / 338.1 MB, free: 7.484 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3421, allocations: 0 / 338.1 MB, free: 7.484 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.3421, allocations: 0 / 338.1 MB, free: 7.484 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3421, allocations: 0 / 338.1 MB, free: 7.484 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.3426, allocations: 269.4 kB / 338.4 MB, free: 7.172 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3426, allocations: 7.984 kB / 338.4 MB, free: 7.164 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.3428, allocations: 27.98 kB / 338.4 MB, free: 7.137 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3428, allocations: 0 / 338.4 MB, free: 7.137 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.3428, allocations: 4.109 kB / 338.4 MB, free: 7.133 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3429, allocations: 7.938 kB / 338.4 MB, free: 7.125 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3429, allocations: 0 / 338.4 MB, free: 7.125 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.3434, allocations: 339.5 kB / 338.7 MB, free: 6.777 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/0.3435, allocations: 100.8 kB / 338.8 MB, free: 6.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.3435, allocations: 16.05 kB / 338.9 MB, free: 6.645 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.3437, allocations: 12.09 kB / 338.9 MB, free: 6.633 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.3437, allocations: 11.92 kB / 338.9 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.3438, allocations: 0 / 338.9 MB, free: 6.621 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.344, allocations: 199.1 kB / 339.1 MB, free: 6.43 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.344, allocations: 0 / 339.1 MB, free: 6.43 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003994/0.3444, allocations: 68 kB / 339.1 MB, free: 6.363 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 (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.0003091/0.3447, allocations: 155.3 kB / 339.3 MB, free: 6.199 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004455/0.3452, allocations: 280.9 kB / 339.6 MB, free: 5.906 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3452, allocations: 4 kB / 339.6 MB, free: 5.902 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3453, allocations: 63.91 kB / 339.6 MB, free: 5.84 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.3458, allocations: 72.33 kB / 339.7 MB, free: 5.77 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3472, allocations: 0.6126 MB / 340.3 MB, free: 5.133 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.3478, allocations: 0.7754 MB / 341.1 MB, free: 4.332 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.3479, allocations: 46.03 kB / 341.1 MB, free: 4.289 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.348, allocations: 27.44 kB / 341.2 MB, free: 4.262 MB / 270.1 MB Notification: Performance of SimCode: time 2.61e-07/0.348, allocations: 0 / 341.2 MB, free: 4.262 MB / 270.1 MB Notification: Performance of Templates: time 0.007732/0.3557, allocations: 3.463 MB / 344.6 MB, free: 0.8008 MB / 270.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)