Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001121/0.001121, allocations: 98.64 kB / 16.5 MB, free: 6.648 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.001003/0.001003, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.519/1.519, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.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.001248/0.001249, allocations: 47.94 kB / 279.3 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1256, allocations: 46.64 MB / 325.9 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003151/0.1287, allocations: 1.88 MB / 327.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006095/0.1349, allocations: 3.923 MB / 331.8 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.135, allocations: 7.938 kB / 331.8 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004728/0.1356, allocations: 111.5 kB / 331.9 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.652e-05/0.1357, allocations: 27.72 kB / 331.9 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.1394, allocations: 1.383 MB / 333.3 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.1397, allocations: 283.1 kB / 333.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1399, allocations: 40.7 kB / 333.6 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.14, allocations: 91.58 kB / 333.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.1402, allocations: 103.4 kB / 333.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.1402, allocations: 15.94 kB / 333.8 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.1405, allocations: 139.7 kB / 333.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1407, allocations: 63.75 kB / 334 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1408, allocations: 99.28 kB / 334.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.1412, allocations: 326.9 kB / 334.4 MB, free: 12.4 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1412, allocations: 4 kB / 334.4 MB, free: 12.4 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1412, allocations: 0 / 334.4 MB, free: 12.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1412, allocations: 0 / 334.4 MB, free: 12.4 MB / 286.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.0009214/0.1422, allocations: 0.5724 MB / 335 MB, free: 11.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.1422, allocations: 16.02 kB / 335 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.516e-05/0.1423, allocations: 28.66 kB / 335 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.1427, allocations: 284.2 kB / 335.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1427, allocations: 8.562 kB / 335.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.1428, allocations: 19.94 kB / 335.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.1431, allocations: 206 kB / 335.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1431, allocations: 0 / 335.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1432, allocations: 8 kB / 335.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1432, allocations: 3.984 kB / 335.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.1434, allocations: 87.88 kB / 335.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009911/0.1444, allocations: 492.5 kB / 336.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.1447, allocations: 162.5 kB / 336.3 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1448, allocations: 60.83 kB / 336.3 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.1448, allocations: 4 kB / 336.3 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.1449, allocations: 38.59 kB / 336.4 MB, free: 10.24 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.1449, allocations: 0 / 336.4 MB, free: 10.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006173/0.1455, allocations: 221.2 kB / 336.6 MB, free: 10.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.1457, allocations: 286.7 kB / 336.9 MB, free: 9.668 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.146, allocations: 288.5 kB / 337.2 MB, free: 9.375 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.146, allocations: 29.7 kB / 337.2 MB, free: 9.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1461, allocations: 156.4 kB / 337.3 MB, free: 9.184 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.1462, allocations: 47.25 kB / 337.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.1463, allocations: 65.69 kB / 337.5 MB, free: 9.066 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1464, allocations: 338.8 kB / 337.8 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.1466, allocations: 99.94 kB / 337.9 MB, free: 8.629 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.1469, allocations: 184.4 kB / 338.1 MB, free: 8.418 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.1472, allocations: 209.2 kB / 338.3 MB, free: 8.211 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1472, allocations: 0 / 338.3 MB, free: 8.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004583/0.1477, allocations: 301.4 kB / 338.6 MB, free: 7.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1477, allocations: 11.98 kB / 338.6 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.1477, allocations: 8 kB / 338.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.1478, allocations: 4 kB / 338.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.148, allocations: 44.06 kB / 338.6 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1481, allocations: 3.938 kB / 338.6 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1482, allocations: 35.61 kB / 338.7 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.1482, allocations: 8.109 kB / 338.7 MB, free: 7.797 MB / 286.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.0001523/0.1484, allocations: 153.7 kB / 338.8 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.1484, allocations: 23.72 kB / 338.8 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.1485, allocations: 29.97 kB / 338.9 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1485, allocations: 4 kB / 338.9 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1485, allocations: 0 / 338.9 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.1485, allocations: 7.922 kB / 338.9 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.1488, allocations: 265.5 kB / 339.1 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1488, allocations: 0 / 339.1 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.149, allocations: 23.98 kB / 339.2 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.149, allocations: 3.984 kB / 339.2 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.1491, allocations: 15.92 kB / 339.2 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1491, allocations: 3.984 kB / 339.2 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1491, allocations: 4 kB / 339.2 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.1496, allocations: 338.9 kB / 339.5 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.225e-05/0.1497, allocations: 96.83 kB / 339.6 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.1498, allocations: 8.062 kB / 339.6 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1499, allocations: 7.984 kB / 339.6 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.15, allocations: 15.92 kB / 339.7 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.15, allocations: 4 kB / 339.7 MB, free: 6.715 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.1502, allocations: 199.1 kB / 339.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1502, allocations: 0 / 339.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003696/0.1505, allocations: 76 kB / 339.9 MB, free: 6.449 MB / 286.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.0002842/0.1508, allocations: 143.1 kB / 340.1 MB, free: 6.297 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004361/0.1513, allocations: 284.9 kB / 340.3 MB, free: 6 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1513, allocations: 0 / 340.3 MB, free: 6 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1514, allocations: 68.53 kB / 340.4 MB, free: 5.934 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.1519, allocations: 76.5 kB / 340.5 MB, free: 5.859 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.153, allocations: 0.6122 MB / 341.1 MB, free: 5.223 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1533, allocations: 0.7677 MB / 341.9 MB, free: 4.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.1535, allocations: 41.92 kB / 341.9 MB, free: 4.391 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.1535, allocations: 23.44 kB / 341.9 MB, free: 4.367 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1535, allocations: 0 / 341.9 MB, free: 4.367 MB / 286.1 MB Notification: Performance of Templates: time 0.007476/0.161, allocations: 3.608 MB / 345.5 MB, free: 0.7656 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)