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.001894/0.001894, allocations: 101.5 kB / 17.16 MB, free: 6.316 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.002141/0.002141, allocations: 190 kB / 18.07 MB, free: 5.414 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.627/1.627, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.00144/0.00144, allocations: 59.86 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1305, allocations: 46.62 MB / 326.6 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.004338/0.1349, allocations: 1.877 MB / 328.5 MB, free: 3.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007408/0.1423, allocations: 3.922 MB / 332.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.1428, allocations: 7.875 kB / 332.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.1434, allocations: 115.5 kB / 332.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.1437, allocations: 31.72 kB / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005345/0.1491, allocations: 1.387 MB / 333.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.1496, allocations: 287.1 kB / 334.2 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1498, allocations: 28.73 kB / 334.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.1501, allocations: 107.5 kB / 334.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1503, allocations: 99.41 kB / 334.4 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.1503, allocations: 12 kB / 334.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.1507, allocations: 135.7 kB / 334.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.1509, allocations: 59.81 kB / 334.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.151, allocations: 95.28 kB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005794/0.1516, allocations: 326.9 kB / 335.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.1516, allocations: 4 kB / 335.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1516, allocations: 0 / 335.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.1517, allocations: 0 / 335.1 MB, free: 12.41 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.001115/0.1528, allocations: 0.5802 MB / 335.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.1528, allocations: 8.031 kB / 335.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.1529, allocations: 28.66 kB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.1534, allocations: 288.1 kB / 336 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1534, allocations: 12.55 kB / 336 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.1535, allocations: 15.94 kB / 336 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.1539, allocations: 202.1 kB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1539, allocations: 0 / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.1539, allocations: 8 kB / 336.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1539, allocations: 3.938 kB / 336.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.1542, allocations: 91.81 kB / 336.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.1554, allocations: 492.5 kB / 336.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.1557, allocations: 162.5 kB / 336.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1559, allocations: 60.83 kB / 337 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1559, allocations: 4 kB / 337 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.156, allocations: 38.55 kB / 337 MB, free: 10.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.156, allocations: 0 / 337 MB, free: 10.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006027/0.1566, allocations: 221.3 kB / 337.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002022/0.1568, allocations: 286.7 kB / 337.5 MB, free: 9.676 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.1571, allocations: 288.5 kB / 337.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.1572, allocations: 25.7 kB / 337.8 MB, free: 9.352 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1573, allocations: 160.4 kB / 338 MB, free: 9.191 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.1574, allocations: 47.25 kB / 338 MB, free: 9.145 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1575, allocations: 65.69 kB / 338.1 MB, free: 9.074 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000319/0.1579, allocations: 338.8 kB / 338.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.1581, allocations: 95.94 kB / 338.5 MB, free: 8.641 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.1584, allocations: 192.4 kB / 338.7 MB, free: 8.422 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.1589, allocations: 209.3 kB / 338.9 MB, free: 8.215 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1589, allocations: 3.938 kB / 338.9 MB, free: 8.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005298/0.1594, allocations: 301.5 kB / 339.2 MB, free: 7.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1594, allocations: 4 kB / 339.2 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.1595, allocations: 11.98 kB / 339.2 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1595, allocations: 0 / 339.2 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.1598, allocations: 51.91 kB / 339.3 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1598, allocations: 0 / 339.3 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.1599, allocations: 31.62 kB / 339.3 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.16, allocations: 19.97 kB / 339.3 MB, free: 7.793 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.0001714/0.1601, allocations: 145.8 kB / 339.5 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.1602, allocations: 23.72 kB / 339.5 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/0.1603, allocations: 33.97 kB / 339.5 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1603, allocations: 0 / 339.5 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.1603, allocations: 0 / 339.5 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.1603, allocations: 7.938 kB / 339.5 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.1606, allocations: 269.4 kB / 339.8 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1606, allocations: 0 / 339.8 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.1608, allocations: 23.98 kB / 339.8 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1608, allocations: 0 / 339.8 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.1609, allocations: 8 kB / 339.8 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1609, allocations: 0 / 339.8 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1609, allocations: 96 / 339.8 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.1614, allocations: 350.8 kB / 340.2 MB, free: 6.871 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.1615, allocations: 100.8 kB / 340.3 MB, free: 6.754 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.1615, allocations: 8.062 kB / 340.3 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1616, allocations: 4 kB / 340.3 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.1617, allocations: 15.92 kB / 340.3 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1617, allocations: 4 kB / 340.3 MB, free: 6.723 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002582/0.162, allocations: 199.1 kB / 340.5 MB, free: 6.531 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.162, allocations: 0 / 340.5 MB, free: 6.531 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004171/0.1624, allocations: 75.98 kB / 340.6 MB, free: 6.457 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.0004019/0.1628, allocations: 147 kB / 340.7 MB, free: 6.301 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005728/0.1634, allocations: 281 kB / 341 MB, free: 6.008 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.1634, allocations: 0 / 341 MB, free: 6.008 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1636, allocations: 72.52 kB / 341.1 MB, free: 5.938 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.1642, allocations: 76.19 kB / 341.1 MB, free: 5.863 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.1656, allocations: 0.6161 MB / 341.7 MB, free: 5.223 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.1661, allocations: 0.7677 MB / 342.5 MB, free: 4.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.1663, allocations: 54.02 kB / 342.6 MB, free: 4.379 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1664, allocations: 19.44 kB / 342.6 MB, free: 4.359 MB / 286.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1664, allocations: 4 kB / 342.6 MB, free: 4.355 MB / 286.1 MB Notification: Performance of Templates: time 0.00905/0.1755, allocations: 3.587 MB / 346.2 MB, free: 0.7773 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