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.001293/0.001293, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001369/0.001369, allocations: 184.2 kB / 23.71 MB, free: 4.695 MB / 14.72 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 1.425/1.425, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
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.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",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.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 51.92 kB / 370.9 MB, free: 9.332 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3023, allocations: 52.17 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003122/0.3054, allocations: 1.857 MB / 425 MB, free: 12.79 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005757/0.3112, allocations: 3.538 MB / 428.5 MB, free: 9.25 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3113, allocations: 11.88 kB / 428.5 MB, free: 9.238 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004265/0.3117, allocations: 139.3 kB / 428.6 MB, free: 9.102 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.612e-05/0.3118, allocations: 39.66 kB / 428.7 MB, free: 9.062 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004045/0.3159, allocations: 1.773 MB / 430.5 MB, free: 7.293 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004198/0.3163, allocations: 299.2 kB / 430.7 MB, free: 7 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3164, allocations: 28.86 kB / 430.8 MB, free: 6.969 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.3166, allocations: 119.5 kB / 430.9 MB, free: 6.852 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3167, allocations: 111.4 kB / 431 MB, free: 6.742 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.3168, allocations: 12 kB / 431 MB, free: 6.73 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.3171, allocations: 175.7 kB / 431.2 MB, free: 6.559 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.3172, allocations: 67.77 kB / 431.3 MB, free: 6.492 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3173, allocations: 107.2 kB / 431.4 MB, free: 6.387 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.3178, allocations: 350.3 kB / 431.7 MB, free: 6.047 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3178, allocations: 0 / 431.7 MB, free: 6.047 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.272e-06/0.3178, allocations: 0 / 431.7 MB, free: 6.047 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.123e-06/0.3178, allocations: 4 kB / 431.7 MB, free: 6.043 MB / 334.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.0008951/0.3187, allocations: 0.5162 MB / 432.2 MB, free: 5.496 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3187, allocations: 12.03 kB / 432.2 MB, free: 5.484 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.3188, allocations: 32.75 kB / 432.3 MB, free: 5.453 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.3193, allocations: 222.3 kB / 432.5 MB, free: 5.215 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3193, allocations: 12 kB / 432.5 MB, free: 5.203 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.3193, allocations: 16 kB / 432.5 MB, free: 5.188 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.3197, allocations: 190.1 kB / 432.7 MB, free: 4.965 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3197, allocations: 4 kB / 432.7 MB, free: 4.961 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.3198, allocations: 8 kB / 432.7 MB, free: 4.953 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3198, allocations: 7.938 kB / 432.7 MB, free: 4.945 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.32, allocations: 89.61 kB / 432.8 MB, free: 4.859 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000835/0.3208, allocations: 459.5 kB / 433.2 MB, free: 4.367 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.3211, allocations: 169.6 kB / 433.4 MB, free: 4.195 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3212, allocations: 64.86 kB / 433.5 MB, free: 4.129 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3213, allocations: 0 / 433.5 MB, free: 4.129 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.3213, allocations: 38.56 kB / 433.5 MB, free: 4.082 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.3213, allocations: 3.938 kB / 433.5 MB, free: 4.078 MB / 334.1 MB
Notification: Performance of matching and sorting (n=13): time 0.0005094/0.3218, allocations: 221.5 kB / 433.7 MB, free: 3.855 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/0.322, allocations: 286.7 kB / 434 MB, free: 3.508 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.3223, allocations: 284.5 kB / 434.3 MB, free: 3.223 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3223, allocations: 33.7 kB / 434.3 MB, free: 3.184 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3224, allocations: 156.4 kB / 434.5 MB, free: 3.027 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.3225, allocations: 59.53 kB / 434.5 MB, free: 2.969 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.3226, allocations: 61.62 kB / 434.6 MB, free: 2.902 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001524/0.3227, allocations: 338.8 kB / 434.9 MB, free: 2.562 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.3229, allocations: 103.9 kB / 435 MB, free: 2.461 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.3232, allocations: 176.5 kB / 435.2 MB, free: 2.258 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.3235, allocations: 210 kB / 435.4 MB, free: 2.051 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3235, allocations: 0 / 435.4 MB, free: 2.051 MB / 334.1 MB
Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004839/0.324, allocations: 309.3 kB / 435.7 MB, free: 1.742 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.324, allocations: 8 kB / 435.7 MB, free: 1.734 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/0.3241, allocations: 8 kB / 435.7 MB, free: 1.727 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3241, allocations: 7.922 kB / 435.7 MB, free: 1.719 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.3243, allocations: 43.97 kB / 435.8 MB, free: 1.676 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3244, allocations: 4 kB / 435.8 MB, free: 1.672 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3245, allocations: 23.83 kB / 435.8 MB, free: 1.648 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.3245, allocations: 4 kB / 435.8 MB, free: 1.645 MB / 334.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.0001568/0.3246, allocations: 157.8 kB / 436 MB, free: 1.48 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.3247, allocations: 27.81 kB / 436 MB, free: 1.453 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.3248, allocations: 25.91 kB / 436 MB, free: 1.422 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3248, allocations: 7.938 kB / 436 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3248, allocations: 0 / 436 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3248, allocations: 0 / 436 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.3251, allocations: 244.5 kB / 436.3 MB, free: 1.133 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3251, allocations: 0 / 436.3 MB, free: 1.133 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3252, allocations: 27.92 kB / 436.3 MB, free: 1.105 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3252, allocations: 0 / 436.3 MB, free: 1.105 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.3253, allocations: 12.11 kB / 436.3 MB, free: 1.094 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3253, allocations: 7.875 kB / 436.3 MB, free: 1.086 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3253, allocations: 0 / 436.3 MB, free: 1.086 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.3258, allocations: 335.2 kB / 436.6 MB, free: 0.7422 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.3258, allocations: 23.81 kB / 436.7 MB, free: 0.7188 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.3258, allocations: 8.047 kB / 436.7 MB, free: 0.7109 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.326, allocations: 15.94 kB / 436.7 MB, free: 0.6953 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.326, allocations: 15.92 kB / 436.7 MB, free: 0.6797 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.326, allocations: 3.984 kB / 436.7 MB, free: 0.6758 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001829/0.3262, allocations: 191.2 kB / 436.9 MB, free: 0.4922 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3262, allocations: 3.938 kB / 436.9 MB, free: 500 kB / 334.1 MB
Notification: Performance of remove unused functions: time 0.000368/0.3266, allocations: 83.86 kB / 437 MB, free: 416 kB / 334.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.0002453/0.3268, allocations: 139.1 kB / 437.1 MB, free: 268 kB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004893/0.3273, allocations: 276 kB / 437.4 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.3273, allocations: 4 kB / 437.4 MB, free: 15.97 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3274, allocations: 63.91 kB / 437.4 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.3279, allocations: 72.66 kB / 437.5 MB, free: 15.84 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.329, allocations: 0.5517 MB / 438.1 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3294, allocations: 0.7751 MB / 438.8 MB, free: 14.45 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001261/0.3295, allocations: 49.89 kB / 438.9 MB, free: 14.4 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.3295, allocations: 19.44 kB / 438.9 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3295, allocations: 0 / 438.9 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of Templates: time 0.008338/0.3379, allocations: 3.847 MB / 442.8 MB, free: 10.57 MB / 350.1 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=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.838513198308647]