Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001049/0.001049, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001109/0.001109, allocations: 191.1 kB / 16.13 MB, free: 6.715 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.317/1.317, allocations: 205.1 MB / 222 MB, free: 4.773 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.001151/0.001151, allocations: 51.92 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2049, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002785/0.2077, allocations: 1.867 MB / 326.5 MB, free: 472 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.005966/0.2137, allocations: 3.931 MB / 330.5 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.2139, allocations: 10 kB / 330.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004568/0.2144, allocations: 115.3 kB / 330.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.2146, allocations: 24.94 kB / 330.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004114/0.2187, allocations: 1.384 MB / 332 MB, free: 12.74 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000506/0.2192, allocations: 289.8 kB / 332.3 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.2194, allocations: 32.73 kB / 332.3 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.2196, allocations: 107.5 kB / 332.4 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.2198, allocations: 99.41 kB / 332.5 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.2198, allocations: 8 kB / 332.5 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.2201, allocations: 135.7 kB / 332.7 MB, free: 12.17 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2203, allocations: 59.81 kB / 332.7 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.2204, allocations: 95.34 kB / 332.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.2208, allocations: 338.8 kB / 333.1 MB, free: 11.69 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2209, allocations: 0 / 333.1 MB, free: 11.69 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2209, allocations: 0 / 333.1 MB, free: 11.69 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2209, allocations: 0 / 333.1 MB, free: 11.69 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.0009145/0.2218, allocations: 0.5724 MB / 333.7 MB, free: 11.07 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2218, allocations: 8.031 kB / 333.7 MB, free: 11.06 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.368e-05/0.2219, allocations: 32.56 kB / 333.7 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.2223, allocations: 284.2 kB / 334 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.2223, allocations: 8.562 kB / 334 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.2223, allocations: 19.92 kB / 334.1 MB, free: 10.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.2227, allocations: 206.1 kB / 334.3 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2227, allocations: 3.938 kB / 334.3 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.2227, allocations: 12 kB / 334.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.2227, allocations: 0 / 334.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.2229, allocations: 99.75 kB / 334.4 MB, free: 10.33 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.2237, allocations: 492.5 kB / 334.8 MB, free: 9.797 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.224, allocations: 170.4 kB / 335 MB, free: 9.621 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.2242, allocations: 60.81 kB / 335.1 MB, free: 9.559 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.2242, allocations: 4 kB / 335.1 MB, free: 9.555 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2242, allocations: 38.56 kB / 335.1 MB, free: 9.508 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2243, allocations: 0 / 335.1 MB, free: 9.508 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004707/0.2247, allocations: 221.3 kB / 335.3 MB, free: 9.285 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.2249, allocations: 290.7 kB / 335.6 MB, free: 8.934 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.2252, allocations: 280.5 kB / 335.9 MB, free: 8.648 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.2252, allocations: 29.7 kB / 335.9 MB, free: 8.613 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.2254, allocations: 160.4 kB / 336.1 MB, free: 8.453 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.2254, allocations: 43.36 kB / 336.1 MB, free: 8.41 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/0.2255, allocations: 65.69 kB / 336.2 MB, free: 8.34 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2256, allocations: 342.8 kB / 336.5 MB, free: 7.996 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.2258, allocations: 99.94 kB / 336.6 MB, free: 7.898 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.226, allocations: 180.5 kB / 336.8 MB, free: 7.691 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.2264, allocations: 209.1 kB / 337 MB, free: 7.48 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2264, allocations: 0 / 337 MB, free: 7.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004393/0.2268, allocations: 305.4 kB / 337.3 MB, free: 7.176 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2268, allocations: 4 kB / 337.3 MB, free: 7.172 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.2269, allocations: 7.984 kB / 337.3 MB, free: 7.164 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2269, allocations: 4 kB / 337.3 MB, free: 7.16 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.2272, allocations: 47.91 kB / 337.4 MB, free: 7.113 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2272, allocations: 4 kB / 337.4 MB, free: 7.109 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2273, allocations: 35.61 kB / 337.4 MB, free: 7.074 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.2273, allocations: 8 kB / 337.4 MB, free: 7.066 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.0001402/0.2275, allocations: 141.9 kB / 337.5 MB, free: 6.918 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.2275, allocations: 27.66 kB / 337.6 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.2276, allocations: 29.97 kB / 337.6 MB, free: 6.859 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2276, allocations: 0 / 337.6 MB, free: 6.859 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2276, allocations: 7.938 kB / 337.6 MB, free: 6.852 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.2276, allocations: 3.938 kB / 337.6 MB, free: 6.848 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.2279, allocations: 273.4 kB / 337.9 MB, free: 6.531 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2279, allocations: 0 / 337.9 MB, free: 6.531 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.2281, allocations: 23.98 kB / 337.9 MB, free: 6.508 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2281, allocations: 0 / 337.9 MB, free: 6.508 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.2281, allocations: 8 kB / 337.9 MB, free: 6.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2281, allocations: 0 / 337.9 MB, free: 6.5 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2281, allocations: 96 / 337.9 MB, free: 6.5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.2286, allocations: 343 kB / 338.2 MB, free: 6.148 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.2286, allocations: 108.7 kB / 338.3 MB, free: 6.023 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.2287, allocations: 8.062 kB / 338.4 MB, free: 6.016 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2288, allocations: 12.11 kB / 338.4 MB, free: 6.004 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.2288, allocations: 15.92 kB / 338.4 MB, free: 5.988 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.2289, allocations: 4 kB / 338.4 MB, free: 5.984 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.229, allocations: 191.1 kB / 338.6 MB, free: 5.801 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.229, allocations: 0 / 338.6 MB, free: 5.801 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.2294, allocations: 79.98 kB / 338.7 MB, free: 5.723 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.0002435/0.2296, allocations: 139.2 kB / 338.8 MB, free: 5.574 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004062/0.23, allocations: 284.9 kB / 339.1 MB, free: 5.277 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.23, allocations: 0 / 339.1 MB, free: 5.277 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.2302, allocations: 63.91 kB / 339.1 MB, free: 5.215 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.2306, allocations: 76.33 kB / 339.2 MB, free: 5.141 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009527/0.2316, allocations: 0.608 MB / 339.8 MB, free: 4.508 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2319, allocations: 0.7716 MB / 340.6 MB, free: 3.711 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.2321, allocations: 41.91 kB / 340.6 MB, free: 3.672 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.2321, allocations: 27.44 kB / 340.6 MB, free: 3.648 MB / 270.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2321, allocations: 0 / 340.6 MB, free: 3.648 MB / 270.1 MB Notification: Performance of Templates: time 0.00719/0.2393, allocations: 3.601 MB / 344.2 MB, free: 52 kB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)