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.001448/0.001448, allocations: 96.27 kB / 16.94 MB, free: 5.98 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.002079/0.002079, allocations: 179.4 kB / 17.82 MB, free: 5.652 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.776/1.776, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004876/0.0004876, allocations: 16 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1447, allocations: 47.59 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002332/0.1471, allocations: 1.489 MB / 329.8 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005735/0.1529, allocations: 3.382 MB / 333.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1531, allocations: 11.88 kB / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.1535, allocations: 143.5 kB / 333.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1537, allocations: 39.88 kB / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.1571, allocations: 1.29 MB / 334.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.1574, allocations: 203.6 kB / 334.9 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1575, allocations: 32.72 kB / 334.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.1577, allocations: 91.62 kB / 335 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1578, allocations: 95.48 kB / 335.1 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.1578, allocations: 8 kB / 335.1 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.1581, allocations: 111.8 kB / 335.2 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.941e-05/0.1582, allocations: 55.81 kB / 335.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.1582, allocations: 65.56 kB / 335.3 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.1585, allocations: 235.5 kB / 335.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1585, allocations: 0 / 335.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1586, allocations: 0 / 335.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1586, allocations: 0 / 335.5 MB, free: 12.51 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.0008157/0.1594, allocations: 0.5373 MB / 336.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1594, allocations: 16.02 kB / 336.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.1595, allocations: 35.55 kB / 336.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.1599, allocations: 271.1 kB / 336.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.1599, allocations: 16.12 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.1599, allocations: 19.91 kB / 336.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.1604, allocations: 199.8 kB / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1604, allocations: 0 / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.1604, allocations: 15.94 kB / 336.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1604, allocations: 0 / 336.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.1606, allocations: 96.44 kB / 336.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.1618, allocations: 0.4891 MB / 337.2 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.1621, allocations: 162.5 kB / 337.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1621, allocations: 0 / 337.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1621, allocations: 42.56 kB / 337.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.1621, allocations: 4 kB / 337.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005344/0.1627, allocations: 225.6 kB / 337.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.1628, allocations: 294.7 kB / 337.9 MB, free: 9.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.1631, allocations: 276.5 kB / 338.2 MB, free: 9.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1632, allocations: 33.7 kB / 338.2 MB, free: 9.531 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1633, allocations: 152.5 kB / 338.4 MB, free: 9.379 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.1633, allocations: 59.25 kB / 338.4 MB, free: 9.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/0.1634, allocations: 0 / 338.4 MB, free: 9.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1635, allocations: 338.8 kB / 338.8 MB, free: 8.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.1637, allocations: 103.9 kB / 338.9 MB, free: 8.879 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.164, allocations: 188.4 kB / 339.1 MB, free: 8.664 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.1642, allocations: 112 kB / 339.2 MB, free: 8.555 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1642, allocations: 0 / 339.2 MB, free: 8.555 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004748/0.1647, allocations: 301.5 kB / 339.5 MB, free: 8.254 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1647, allocations: 8 kB / 339.5 MB, free: 8.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.1647, allocations: 7.984 kB / 339.5 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1647, allocations: 3.938 kB / 339.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.165, allocations: 51.97 kB / 339.5 MB, free: 8.184 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.165, allocations: 0 / 339.5 MB, free: 8.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1652, allocations: 31.62 kB / 339.6 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.1652, allocations: 15.98 kB / 339.6 MB, free: 8.137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.1653, allocations: 145.8 kB / 339.7 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.1654, allocations: 35.62 kB / 339.8 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.1654, allocations: 30.08 kB / 339.8 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1655, allocations: 8.031 kB / 339.8 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1655, allocations: 3.938 kB / 339.8 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1655, allocations: 0 / 339.8 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.1659, allocations: 265.5 kB / 340.1 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1659, allocations: 0 / 340.1 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.1661, allocations: 27.98 kB / 340.1 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1661, allocations: 0 / 340.1 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.1661, allocations: 4 kB / 340.1 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1661, allocations: 4 kB / 340.1 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1661, allocations: 3.984 kB / 340.1 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.1666, allocations: 346.9 kB / 340.4 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.1667, allocations: 100.8 kB / 340.5 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.1667, allocations: 4 kB / 340.5 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1669, allocations: 16.05 kB / 340.6 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.167, allocations: 11.98 kB / 340.6 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.167, allocations: 4 kB / 340.6 MB, free: 7.051 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.1672, allocations: 191.1 kB / 340.8 MB, free: 6.867 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1672, allocations: 0 / 340.8 MB, free: 6.867 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.1675, allocations: 79.89 kB / 340.8 MB, free: 6.789 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003314/0.1679, allocations: 151 kB / 341 MB, free: 6.629 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005011/0.1684, allocations: 292.9 kB / 341.3 MB, free: 6.324 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1684, allocations: 0 / 341.3 MB, free: 6.324 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1685, allocations: 55.97 kB / 341.3 MB, free: 6.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1689, allocations: 72.5 kB / 341.4 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009818/0.1699, allocations: 0.6087 MB / 342 MB, free: 5.566 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.1703, allocations: 0.7794 MB / 342.8 MB, free: 4.762 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.1705, allocations: 37.92 kB / 342.8 MB, free: 4.727 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.1705, allocations: 23.44 kB / 342.8 MB, free: 4.703 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1705, allocations: 4 kB / 342.9 MB, free: 4.699 MB / 286.1 MB Notification: Performance of Templates: time 0.006855/0.1774, allocations: 3.456 MB / 346.3 MB, free: 1.25 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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