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.009186/0.009186, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001718/0.001717, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001237/0.001237, allocations: 46.25 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1129, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003557/0.1165, allocations: 1.812 MB / 375 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006039/0.1226, allocations: 3.554 MB / 378.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.1228, allocations: 7.875 kB / 378.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.1232, allocations: 127.4 kB / 378.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/0.1234, allocations: 39.66 kB / 378.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004148/0.1275, allocations: 1.773 MB / 380.5 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007297/0.1283, allocations: 303.1 kB / 380.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1284, allocations: 36.73 kB / 380.8 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1286, allocations: 107.6 kB / 380.9 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1288, allocations: 107.4 kB / 381 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.1288, allocations: 12 kB / 381 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.1291, allocations: 139.7 kB / 381.2 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.1293, allocations: 79.67 kB / 381.2 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1294, allocations: 95.36 kB / 381.3 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.1298, allocations: 346.8 kB / 381.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1298, allocations: 0 / 381.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1298, allocations: 0 / 381.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1298, allocations: 0 / 381.7 MB, free: 8.785 MB / 318.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.0009113/0.1308, allocations: 0.5763 MB / 382.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1308, allocations: 12.02 kB / 382.3 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.1309, allocations: 32.56 kB / 382.3 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.1313, allocations: 284.2 kB / 382.6 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1313, allocations: 12.56 kB / 382.6 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.1314, allocations: 23.86 kB / 382.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.1318, allocations: 202.1 kB / 382.8 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1318, allocations: 0 / 382.8 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.1318, allocations: 11.98 kB / 382.8 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1318, allocations: 0 / 382.8 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.132, allocations: 91.88 kB / 382.9 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.1329, allocations: 488.5 kB / 383.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.1332, allocations: 166.5 kB / 383.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1333, allocations: 56.83 kB / 383.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1333, allocations: 4 kB / 383.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1333, allocations: 34.56 kB / 383.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1333, allocations: 4 kB / 383.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004619/0.1338, allocations: 213.3 kB / 383.8 MB, free: 6.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.134, allocations: 290.7 kB / 384.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.1343, allocations: 296.3 kB / 384.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.1343, allocations: 29.7 kB / 384.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1344, allocations: 148.6 kB / 384.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.1345, allocations: 51.2 kB / 384.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.1346, allocations: 65.67 kB / 384.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1347, allocations: 346.8 kB / 385 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.135, allocations: 95.94 kB / 385.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.1353, allocations: 184.4 kB / 385.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.1357, allocations: 213.5 kB / 385.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1357, allocations: 0 / 385.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004545/0.1361, allocations: 309.1 kB / 385.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1362, allocations: 4 kB / 385.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.1362, allocations: 4 kB / 385.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1362, allocations: 0 / 385.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.1365, allocations: 51.95 kB / 385.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1365, allocations: 0 / 385.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1366, allocations: 23.89 kB / 385.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.1367, allocations: 15.88 kB / 385.9 MB, free: 4.176 MB / 318.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.0001592/0.1368, allocations: 149.8 kB / 386.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.1369, allocations: 27.62 kB / 386.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.1369, allocations: 25.98 kB / 386.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.137, allocations: 3.984 kB / 386.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.137, allocations: 0 / 386.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.137, allocations: 7.938 kB / 386.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.1373, allocations: 265.5 kB / 386.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1373, allocations: 0 / 386.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.1375, allocations: 31.92 kB / 386.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1375, allocations: 0 / 386.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.1375, allocations: 7.984 kB / 386.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1375, allocations: 4 kB / 386.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1375, allocations: 0 / 386.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.138, allocations: 327.6 kB / 386.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.138, allocations: 96.83 kB / 386.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.1381, allocations: 20.05 kB / 386.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.1382, allocations: 11.94 kB / 386.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1383, allocations: 11.92 kB / 386.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.1383, allocations: 4 kB / 386.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000172/0.1385, allocations: 199.1 kB / 387.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1385, allocations: 0 / 387.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003375/0.1388, allocations: 79.84 kB / 387.2 MB, free: 2.832 MB / 318.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.0002444/0.1391, allocations: 151.3 kB / 387.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004197/0.1395, allocations: 272.9 kB / 387.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1395, allocations: 0 / 387.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1396, allocations: 63.91 kB / 387.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.1401, allocations: 76.58 kB / 387.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.1411, allocations: 0.5593 MB / 388.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1415, allocations: 0.7714 MB / 389 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.1416, allocations: 41.92 kB / 389.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.1416, allocations: 23.42 kB / 389.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1417, allocations: 0 / 389.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of Templates: time 0.007383/0.149, allocations: 3.807 MB / 392.9 MB, free: 12.98 MB / 334.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)