Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_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.001395/0.001395, allocations: 112.2 kB / 17.28 MB, free: 6.219 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.0009165/0.0009165, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.992/1.992, allocations: 205.1 MB / 224.1 MB, free: 12.35 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.001557/0.001557, allocations: 52.34 kB / 280.1 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1541, allocations: 46.64 MB / 326.8 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003238/0.1574, allocations: 1.865 MB / 328.6 MB, free: 2.895 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00596/0.1634, allocations: 3.61 MB / 332.3 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.1635, allocations: 7.875 kB / 332.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.164, allocations: 107.5 kB / 332.4 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.674e-05/0.1641, allocations: 35.7 kB / 332.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004399/0.1685, allocations: 1.598 MB / 334 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.1689, allocations: 303.1 kB / 334.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1691, allocations: 36.72 kB / 334.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1692, allocations: 119.5 kB / 334.5 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1694, allocations: 99.42 kB / 334.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1694, allocations: 12 kB / 334.6 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.1697, allocations: 147.7 kB / 334.7 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1699, allocations: 63.81 kB / 334.8 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.17, allocations: 111.3 kB / 334.9 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.1704, allocations: 326.9 kB / 335.2 MB, free: 12.33 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1704, allocations: 0 / 335.2 MB, free: 12.33 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1704, allocations: 0 / 335.2 MB, free: 12.33 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1704, allocations: 4 kB / 335.2 MB, free: 12.33 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.000853/0.1713, allocations: 0.5762 MB / 335.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1713, allocations: 8.031 kB / 335.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.1714, allocations: 32.66 kB / 335.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.1718, allocations: 292.1 kB / 336.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.1718, allocations: 12.56 kB / 336.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.1719, allocations: 15.94 kB / 336.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.1722, allocations: 202.1 kB / 336.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1722, allocations: 0 / 336.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.1722, allocations: 15.92 kB / 336.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1722, allocations: 4 kB / 336.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.1724, allocations: 87.88 kB / 336.4 MB, free: 10.97 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.1733, allocations: 488.5 kB / 336.9 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1736, allocations: 170.5 kB / 337.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.1737, allocations: 56.83 kB / 337.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.1737, allocations: 4 kB / 337.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1738, allocations: 34.56 kB / 337.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.1738, allocations: 0 / 337.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004474/0.1742, allocations: 221.2 kB / 337.4 MB, free: 9.938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.1744, allocations: 290.7 kB / 337.7 MB, free: 9.586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.1746, allocations: 280.5 kB / 337.9 MB, free: 9.301 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.1747, allocations: 29.7 kB / 338 MB, free: 9.266 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1748, allocations: 156.4 kB / 338.1 MB, free: 9.109 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.1748, allocations: 55.25 kB / 338.2 MB, free: 9.055 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.1749, allocations: 61.69 kB / 338.2 MB, free: 8.988 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1751, allocations: 338.8 kB / 338.6 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1753, allocations: 99.94 kB / 338.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.1755, allocations: 188.4 kB / 338.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.1758, allocations: 205.2 kB / 339 MB, free: 8.133 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1758, allocations: 0 / 339 MB, free: 8.133 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000428/0.1763, allocations: 297.5 kB / 339.3 MB, free: 7.836 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1763, allocations: 7.984 kB / 339.3 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.1763, allocations: 4 kB / 339.4 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1763, allocations: 0 / 339.4 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.1766, allocations: 56.02 kB / 339.4 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1766, allocations: 7.938 kB / 339.4 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.1767, allocations: 35.61 kB / 339.4 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1767, allocations: 7.984 kB / 339.5 MB, free: 7.719 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.0001388/0.1769, allocations: 145.8 kB / 339.6 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.1769, allocations: 23.72 kB / 339.6 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.107e-05/0.177, allocations: 33.97 kB / 339.7 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.177, allocations: 3.984 kB / 339.7 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.177, allocations: 0 / 339.7 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.1771, allocations: 15.92 kB / 339.7 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.1773, allocations: 261.5 kB / 339.9 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1773, allocations: 96 / 339.9 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1775, allocations: 27.92 kB / 340 MB, free: 7.156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1775, allocations: 0 / 340 MB, free: 7.156 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.1775, allocations: 3.984 kB / 340 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.1776, allocations: 4 kB / 340 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1776, allocations: 0 / 340 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.178, allocations: 346.9 kB / 340.3 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.1781, allocations: 96.83 kB / 340.4 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.1781, allocations: 8.062 kB / 340.4 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1782, allocations: 12.11 kB / 340.4 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.1783, allocations: 11.92 kB / 340.4 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1783, allocations: 8 kB / 340.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1785, allocations: 195.1 kB / 340.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1785, allocations: 0 / 340.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003347/0.1788, allocations: 71.98 kB / 340.7 MB, free: 6.383 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.0002654/0.1791, allocations: 159.1 kB / 340.9 MB, free: 6.215 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004538/0.1796, allocations: 292.9 kB / 341.1 MB, free: 5.91 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1796, allocations: 0 / 341.1 MB, free: 5.91 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.1797, allocations: 64.53 kB / 341.2 MB, free: 5.848 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.1802, allocations: 80.56 kB / 341.3 MB, free: 5.77 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1813, allocations: 0.6103 MB / 341.9 MB, free: 5.133 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1817, allocations: 0.7714 MB / 342.7 MB, free: 4.336 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.1819, allocations: 41.92 kB / 342.7 MB, free: 4.297 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.1819, allocations: 23.42 kB / 342.7 MB, free: 4.273 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1819, allocations: 4 kB / 342.7 MB, free: 4.27 MB / 286.1 MB Notification: Performance of Templates: time 0.008552/0.1905, allocations: 3.701 MB / 346.4 MB, free: 0.5781 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches