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.0009091/0.0009096, allocations: 86.44 kB / 16.65 MB, free: 6.535 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.000951/0.0009511, allocations: 176.3 kB / 17.56 MB, free: 6.18 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.846/1.846, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004986/0.0004986, allocations: 19.92 kB / 280.7 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.116, allocations: 47.58 MB / 328.3 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002109/0.1182, allocations: 1.529 MB / 329.8 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.1245, allocations: 3.865 MB / 333.7 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.1248, allocations: 7.938 kB / 333.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006084/0.1254, allocations: 115.5 kB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.1255, allocations: 27.72 kB / 333.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004183/0.1297, allocations: 1.387 MB / 335.2 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.1301, allocations: 287.1 kB / 335.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1302, allocations: 32.73 kB / 335.6 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1304, allocations: 91.56 kB / 335.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1305, allocations: 99.41 kB / 335.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1306, allocations: 8 kB / 335.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.1309, allocations: 143.6 kB / 335.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.131, allocations: 59.81 kB / 335.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1311, allocations: 121 kB / 336.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.1315, allocations: 326.8 kB / 336.4 MB, free: 11.67 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1315, allocations: 0 / 336.4 MB, free: 11.67 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1315, allocations: 0 / 336.4 MB, free: 11.67 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1315, allocations: 0 / 336.4 MB, free: 11.67 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.0007825/0.1323, allocations: 0.5453 MB / 336.9 MB, free: 11.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1324, allocations: 8.031 kB / 336.9 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.1324, allocations: 32.56 kB / 337 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.1328, allocations: 276.2 kB / 337.2 MB, free: 10.72 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1328, allocations: 12.5 kB / 337.2 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.1328, allocations: 19.94 kB / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.1332, allocations: 198.1 kB / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1332, allocations: 7.922 kB / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1332, allocations: 8 kB / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1332, allocations: 0 / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.1334, allocations: 95.88 kB / 337.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008074/0.1342, allocations: 492.5 kB / 338.1 MB, free: 9.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.1345, allocations: 170.5 kB / 338.2 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1347, allocations: 64.81 kB / 338.3 MB, free: 9.578 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1347, allocations: 96 / 338.3 MB, free: 9.578 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1347, allocations: 38.5 kB / 338.3 MB, free: 9.531 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.1347, allocations: 4 kB / 338.3 MB, free: 9.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004665/0.1352, allocations: 225.7 kB / 338.5 MB, free: 9.301 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.1354, allocations: 286.7 kB / 338.8 MB, free: 8.953 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.1356, allocations: 284.4 kB / 339.1 MB, free: 8.664 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.1357, allocations: 37.69 kB / 339.1 MB, free: 8.621 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1358, allocations: 148.5 kB / 339.3 MB, free: 8.473 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.1358, allocations: 55.2 kB / 339.3 MB, free: 8.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.1359, allocations: 33.7 kB / 339.4 MB, free: 8.379 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.136, allocations: 346.8 kB / 339.7 MB, free: 8.031 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.1362, allocations: 103.9 kB / 339.8 MB, free: 7.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.1365, allocations: 176.5 kB / 340 MB, free: 7.727 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.1368, allocations: 213.2 kB / 340.2 MB, free: 7.516 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1368, allocations: 0 / 340.2 MB, free: 7.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004598/0.1373, allocations: 321.3 kB / 340.5 MB, free: 7.195 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1373, allocations: 4 kB / 340.5 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.1373, allocations: 7.984 kB / 340.5 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1374, allocations: 0 / 340.5 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.1376, allocations: 55.97 kB / 340.6 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1376, allocations: 0 / 340.6 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.1378, allocations: 31.7 kB / 340.6 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.1378, allocations: 8 kB / 340.6 MB, free: 7.09 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.0001415/0.138, allocations: 145.9 kB / 340.8 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.138, allocations: 31.56 kB / 340.8 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.318e-05/0.1381, allocations: 29.97 kB / 340.8 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1381, allocations: 0 / 340.8 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1382, allocations: 4 kB / 340.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1382, allocations: 7.938 kB / 340.8 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.1385, allocations: 265.5 kB / 341.1 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1385, allocations: 0 / 341.1 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1387, allocations: 27.92 kB / 341.1 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1387, allocations: 0 / 341.1 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.1387, allocations: 8 kB / 341.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1387, allocations: 0 / 341.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1387, allocations: 0 / 341.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.1392, allocations: 355.1 kB / 341.5 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.1392, allocations: 100.7 kB / 341.6 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.1393, allocations: 8.062 kB / 341.6 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1394, allocations: 11.98 kB / 341.6 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.1395, allocations: 11.92 kB / 341.6 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1395, allocations: 4 kB / 341.6 MB, free: 6.004 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1397, allocations: 195.1 kB / 341.8 MB, free: 5.816 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.296e-06/0.1397, allocations: 0 / 341.8 MB, free: 5.816 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003925/0.1401, allocations: 79.92 kB / 341.9 MB, free: 5.738 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.0003451/0.1404, allocations: 143.2 kB / 342 MB, free: 5.586 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004708/0.1409, allocations: 284.9 kB / 342.3 MB, free: 5.289 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.1409, allocations: 8 kB / 342.3 MB, free: 5.281 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.1411, allocations: 64 kB / 342.4 MB, free: 5.219 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.1416, allocations: 76.31 kB / 342.4 MB, free: 5.145 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1428, allocations: 0.6399 MB / 343.1 MB, free: 4.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1432, allocations: 0.7638 MB / 343.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.1433, allocations: 46.05 kB / 343.9 MB, free: 3.648 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.1434, allocations: 23.44 kB / 343.9 MB, free: 3.625 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1434, allocations: 0 / 343.9 MB, free: 3.625 MB / 286.1 MB Notification: Performance of Templates: time 0.007624/0.151, allocations: 3.58 MB / 347.5 MB, free: 56 kB / 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)