Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9164/0.9164, allocations: 173.3 MB / 201.5 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5003,variableFilter="time|filter_fac3.x.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.625e-05, allocations: 6.25 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.005426/0.005443, allocations: 1.804 MB / 269.9 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007808/0.01325, allocations: 3.366 MB / 273.2 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/0.01641, allocations: 11.81 kB / 273.2 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.01681, allocations: 147.2 kB / 273.4 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.0169, allocations: 27.72 kB / 273.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006313/0.02321, allocations: 1.892 MB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.02356, allocations: 315.1 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.02367, allocations: 20.92 kB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.02384, allocations: 147.6 kB / 275.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.02395, allocations: 87.75 kB / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.02398, allocations: 15.94 kB / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.02423, allocations: 171.6 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.02433, allocations: 75.75 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.02439, allocations: 55.78 kB / 276.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.02476, allocations: 310.9 kB / 276.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.02476, allocations: 4 kB / 276.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02476, allocations: 0 / 276.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.02477, allocations: 0 / 276.5 MB, free: 14.28 MB / 266.7 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.003699/0.02847, allocations: 0.6122 MB / 277.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.0285, allocations: 8.031 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.02858, allocations: 36.75 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.02886, allocations: 228.8 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.02888, allocations: 20.25 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.02892, allocations: 20 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.02925, allocations: 433.5 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.02926, allocations: 0 / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.02927, allocations: 7.984 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.02928, allocations: 0 / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/0.02936, allocations: 35.91 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000591/0.02995, allocations: 451.5 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.03012, allocations: 98.97 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.03017, allocations: 27.67 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.03019, allocations: 4.094 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.03021, allocations: 41.33 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.03021, allocations: 0 / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000279/0.03049, allocations: 137.3 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.03059, allocations: 286.7 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.03084, allocations: 326.3 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.03086, allocations: 29.7 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.03097, allocations: 211.2 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.03101, allocations: 55.59 kB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.57e-05/0.03109, allocations: 71.3 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.03125, allocations: 0.5117 MB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.03134, allocations: 35.97 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.03154, allocations: 372.2 kB / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.03171, allocations: 104.4 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.03171, allocations: 0 / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002651/0.03198, allocations: 181.4 kB / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.03199, allocations: 8 kB / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.03201, allocations: 3.984 kB / 280.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.03202, allocations: 4 kB / 280.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.03223, allocations: 51.97 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.03223, allocations: 0 / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.0323, allocations: 31.72 kB / 280.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.03232, allocations: 7.984 kB / 280.9 MB, free: 9.441 MB / 266.7 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 9.767e-05/0.03242, allocations: 172.5 kB / 281 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.03247, allocations: 27.86 kB / 281.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.03251, allocations: 25.91 kB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.03251, allocations: 4 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.03252, allocations: 0 / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.03252, allocations: 4 kB / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.03273, allocations: 208.4 kB / 281.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.03273, allocations: 4.109 kB / 281.3 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.03286, allocations: 31.86 kB / 281.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.03286, allocations: 0 / 281.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.03288, allocations: 4 kB / 281.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.03288, allocations: 4 kB / 281.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.03288, allocations: 0 / 281.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.03317, allocations: 295.7 kB / 281.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.03319, allocations: 31.75 kB / 281.7 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.03322, allocations: 8 kB / 281.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.03331, allocations: 11.98 kB / 281.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.03335, allocations: 11.92 kB / 281.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.03335, allocations: 4 kB / 281.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.03349, allocations: 215 kB / 281.9 MB, free: 8.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03349, allocations: 0 / 281.9 MB, free: 8.336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.03373, allocations: 79.86 kB / 282 MB, free: 8.258 MB / 266.7 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.0001686/0.0339, allocations: 147 kB / 282.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.03411, allocations: 188.7 kB / 282.3 MB, free: 7.898 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.03412, allocations: 8 kB / 282.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/0.03416, allocations: 43.61 kB / 282.4 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.03444, allocations: 68.34 kB / 282.4 MB, free: 7.777 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.03509, allocations: 498.7 kB / 282.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.563e-05/0.03515, allocations: 92.3 kB / 283 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.03522, allocations: 41.98 kB / 283 MB, free: 7.109 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.03526, allocations: 20.5 kB / 283.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03526, allocations: 0 / 283.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of Templates: time 0.00528/0.04054, allocations: 3.996 MB / 287.1 MB, free: 3.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7683756698388606]