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.0009448/0.0009449, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006136/0.006136, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.365/1.365, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0005748/0.0005749, allocations: 12.52 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2249, allocations: 47.59 MB / 327 MB, free: 1.605 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001561/0.2265, allocations: 1.525 MB / 328.5 MB, free: 404 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006412/0.2329, allocations: 3.866 MB / 332.4 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.2331, allocations: 14 kB / 332.4 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.2335, allocations: 115.2 kB / 332.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.2336, allocations: 29.06 kB / 332.6 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.2374, allocations: 1.383 MB / 333.9 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.2378, allocations: 291 kB / 334.2 MB, free: 12.28 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.238, allocations: 32.73 kB / 334.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.2381, allocations: 95.56 kB / 334.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.2383, allocations: 103.4 kB / 334.5 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.2383, allocations: 4 kB / 334.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.2386, allocations: 135.7 kB / 334.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.2387, allocations: 55.77 kB / 334.7 MB, free: 11.87 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2388, allocations: 125 kB / 334.8 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.2392, allocations: 326.8 kB / 335.1 MB, free: 11.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2392, allocations: 4 kB / 335.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2392, allocations: 0 / 335.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2392, allocations: 0 / 335.1 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.0007065/0.2399, allocations: 0.5374 MB / 335.6 MB, free: 10.83 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.24, allocations: 8.031 kB / 335.6 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.24, allocations: 36.55 kB / 335.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.2403, allocations: 280.2 kB / 336 MB, free: 10.47 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2403, allocations: 12.56 kB / 336 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.2404, allocations: 19.94 kB / 336 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.2407, allocations: 206.1 kB / 336.2 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2407, allocations: 0 / 336.2 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.444e-05/0.2408, allocations: 8 kB / 336.2 MB, free: 10.19 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2408, allocations: 3.938 kB / 336.2 MB, free: 10.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.241, allocations: 99.81 kB / 336.3 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.2418, allocations: 488.5 kB / 336.8 MB, free: 9.562 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.242, allocations: 174.4 kB / 336.9 MB, free: 9.383 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.2421, allocations: 60.83 kB / 337 MB, free: 9.32 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.2422, allocations: 0 / 337 MB, free: 9.32 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.2422, allocations: 34.56 kB / 337 MB, free: 9.277 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 9.51e-07/0.2422, allocations: 0 / 337 MB, free: 9.277 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.000436/0.2426, allocations: 229.7 kB / 337.3 MB, free: 9.047 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.2428, allocations: 286.7 kB / 337.5 MB, free: 8.699 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.2431, allocations: 288.4 kB / 337.8 MB, free: 8.406 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2431, allocations: 29.7 kB / 337.8 MB, free: 8.371 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.2432, allocations: 156.5 kB / 338 MB, free: 8.215 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.2433, allocations: 47.27 kB / 338 MB, free: 8.168 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.2433, allocations: 33.7 kB / 338.1 MB, free: 8.129 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2435, allocations: 346.8 kB / 338.4 MB, free: 7.781 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.2436, allocations: 103.9 kB / 338.5 MB, free: 7.68 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.2438, allocations: 176.5 kB / 338.7 MB, free: 7.477 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.2442, allocations: 217.1 kB / 338.9 MB, free: 7.258 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2442, allocations: 0 / 338.9 MB, free: 7.258 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004311/0.2446, allocations: 309.4 kB / 339.2 MB, free: 6.949 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2446, allocations: 4 kB / 339.2 MB, free: 6.945 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.2447, allocations: 7.984 kB / 339.2 MB, free: 6.938 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2447, allocations: 0 / 339.2 MB, free: 6.938 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.2449, allocations: 59.91 kB / 339.3 MB, free: 6.879 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.245, allocations: 0 / 339.3 MB, free: 6.879 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2451, allocations: 27.7 kB / 339.3 MB, free: 6.852 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.2451, allocations: 12 kB / 339.3 MB, free: 6.84 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.0001188/0.2452, allocations: 141.8 kB / 339.5 MB, free: 6.691 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.2453, allocations: 27.62 kB / 339.5 MB, free: 6.664 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.2453, allocations: 30.08 kB / 339.5 MB, free: 6.633 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2453, allocations: 11.94 kB / 339.5 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2453, allocations: 4 kB / 339.5 MB, free: 6.617 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2454, allocations: 3.938 kB / 339.5 MB, free: 6.613 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.2456, allocations: 269.5 kB / 339.8 MB, free: 6.301 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2456, allocations: 0 / 339.8 MB, free: 6.301 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.2458, allocations: 24.08 kB / 339.8 MB, free: 6.277 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2458, allocations: 3.938 kB / 339.8 MB, free: 6.273 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.2458, allocations: 4 kB / 339.8 MB, free: 6.27 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2458, allocations: 0 / 339.8 MB, free: 6.27 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2458, allocations: 0 / 339.8 MB, free: 6.27 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.2463, allocations: 359.1 kB / 340.2 MB, free: 5.902 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.2463, allocations: 100.8 kB / 340.3 MB, free: 5.785 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.2464, allocations: 4 kB / 340.3 MB, free: 5.781 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.2465, allocations: 12.05 kB / 340.3 MB, free: 5.77 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.2466, allocations: 11.92 kB / 340.3 MB, free: 5.758 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2466, allocations: 8 kB / 340.3 MB, free: 5.75 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.2467, allocations: 195.1 kB / 340.5 MB, free: 5.562 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2467, allocations: 0 / 340.5 MB, free: 5.562 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.2471, allocations: 75.89 kB / 340.6 MB, free: 5.488 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.0002479/0.2473, allocations: 139.2 kB / 340.7 MB, free: 5.34 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.2478, allocations: 296.9 kB / 341 MB, free: 5.031 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2478, allocations: 0 / 341 MB, free: 5.031 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.2479, allocations: 59.91 kB / 341.1 MB, free: 4.973 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.2484, allocations: 84.3 kB / 341.1 MB, free: 4.891 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2495, allocations: 0.6399 MB / 341.8 MB, free: 4.227 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.2499, allocations: 0.7794 MB / 342.6 MB, free: 3.422 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.25, allocations: 38.06 kB / 342.6 MB, free: 3.387 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.2501, allocations: 19.44 kB / 342.6 MB, free: 3.371 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2501, allocations: 0 / 342.6 MB, free: 3.371 MB / 270.1 MB Notification: Performance of Templates: time 0.007129/0.2572, allocations: 3.577 MB / 346.2 MB, free: 15.8 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)