Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 106.4 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 209.9 kB / 24.53 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter")
translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.84 kB / 378.8 MB, free: 2.777 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3132, allocations: 53.36 MB / 432.1 MB, free: 7.082 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003642/0.3168, allocations: 2.039 MB / 434.2 MB, free: 5.039 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006819/0.3237, allocations: 3.772 MB / 437.9 MB, free: 1.258 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.324, allocations: 19.75 kB / 437.9 MB, free: 1.238 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.3246, allocations: 183.1 kB / 438.1 MB, free: 1.059 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.3248, allocations: 43.58 kB / 438.2 MB, free: 1.016 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.005122/0.3299, allocations: 1.944 MB / 440.1 MB, free: 15.08 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000892/0.3308, allocations: 0.5026 MB / 440.6 MB, free: 14.58 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.331, allocations: 33.27 kB / 440.6 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.3313, allocations: 187.4 kB / 440.8 MB, free: 14.36 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.3315, allocations: 171.1 kB / 441 MB, free: 14.19 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.3316, allocations: 24 kB / 441 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.3349, allocations: 1.916 MB / 442.9 MB, free: 12.25 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.3351, allocations: 131.5 kB / 443.1 MB, free: 12.12 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.3354, allocations: 158.9 kB / 443.2 MB, free: 11.96 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00281/0.3382, allocations: 1.814 MB / 445 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3382, allocations: 0 / 445 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of FrontEnd: time 2.004e-06/0.3382, allocations: 0 / 445 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 2.91e-05/0.3382, allocations: 4 kB / 445 MB, free: 10.14 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 34
 * Number of variables: 34
Notification: Performance of Generate backend data structure: time 0.002734/0.341, allocations: 0.8391 MB / 445.9 MB, free: 9.266 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.341, allocations: 8.031 kB / 445.9 MB, free: 9.258 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.3412, allocations: 56.55 kB / 445.9 MB, free: 9.203 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007125/0.3419, allocations: 291.4 kB / 446.2 MB, free: 8.895 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.3419, allocations: 12.66 kB / 446.2 MB, free: 8.883 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.861e-05/0.342, allocations: 28.33 kB / 446.3 MB, free: 8.855 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.3427, allocations: 315 kB / 446.6 MB, free: 8.504 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3427, allocations: 0 / 446.6 MB, free: 8.504 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.3427, allocations: 4 kB / 446.6 MB, free: 8.5 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3427, allocations: 8 kB / 446.6 MB, free: 8.492 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.3431, allocations: 152.7 kB / 446.7 MB, free: 8.344 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.3446, allocations: 0.6396 MB / 447.4 MB, free: 7.66 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.3453, allocations: 326 kB / 447.7 MB, free: 7.336 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.3455, allocations: 104.8 kB / 447.8 MB, free: 7.23 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3455, allocations: 0 / 447.8 MB, free: 7.23 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.3455, allocations: 38.56 kB / 447.8 MB, free: 7.184 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=21): time 1.203e-06/0.3455, allocations: 0 / 447.8 MB, free: 7.184 MB / 350.1 MB
Notification: Performance of matching and sorting (n=21): time 0.0008928/0.3464, allocations: 381.2 kB / 448.2 MB, free: 6.805 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003037/0.3467, allocations: 367.8 kB / 448.6 MB, free: 6.359 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.3473, allocations: 405.9 kB / 449 MB, free: 5.953 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.3474, allocations: 37.64 kB / 449 MB, free: 5.91 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.3476, allocations: 200.9 kB / 449.2 MB, free: 5.707 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.38e-05/0.3477, allocations: 87.28 kB / 449.3 MB, free: 5.621 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.3479, allocations: 97.69 kB / 449.4 MB, free: 5.52 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002022/0.3481, allocations: 366.7 kB / 449.7 MB, free: 5.152 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.3485, allocations: 204.2 kB / 449.9 MB, free: 4.953 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.3489, allocations: 310 kB / 450.2 MB, free: 4.613 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.3496, allocations: 400.7 kB / 450.6 MB, free: 4.219 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3496, allocations: 0 / 450.6 MB, free: 4.219 MB / 350.1 MB
Notification: Performance of matching and sorting (n=60) (initialization): time 0.001265/0.3508, allocations: 0.6528 MB / 451.3 MB, free: 3.551 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3509, allocations: 4 kB / 451.3 MB, free: 3.547 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-05/0.3509, allocations: 7.984 kB / 451.3 MB, free: 3.539 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004712/0.3514, allocations: 130.4 kB / 451.4 MB, free: 3.402 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.3517, allocations: 59.95 kB / 451.5 MB, free: 3.344 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/0.3561, allocations: 4.26 MB / 455.7 MB, free: 14.74 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.3564, allocations: 55.62 kB / 455.8 MB, free: 14.68 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.3565, allocations: 20.08 kB / 455.8 MB, free: 14.66 MB / 366.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 (38):
 * Single equations (assignments): 27
 * Array equations: 1
 * Algorithm blocks: 0
 * Record equations: 7
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002859/0.3568, allocations: 173.8 kB / 456 MB, free: 14.48 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3569, allocations: 39.72 kB / 456 MB, free: 14.45 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.357, allocations: 47.83 kB / 456.1 MB, free: 14.4 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.357, allocations: 4 kB / 456.1 MB, free: 14.39 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.357, allocations: 3.938 kB / 456.1 MB, free: 14.39 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.357, allocations: 0 / 456.1 MB, free: 14.39 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.3575, allocations: 320.4 kB / 456.4 MB, free: 14.04 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3575, allocations: 0 / 456.4 MB, free: 14.04 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.3578, allocations: 43.91 kB / 456.4 MB, free: 13.99 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3578, allocations: 0 / 456.4 MB, free: 13.99 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.3578, allocations: 11.98 kB / 456.4 MB, free: 13.98 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.567e-06/0.3578, allocations: 7.938 kB / 456.4 MB, free: 13.97 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3578, allocations: 0 / 456.4 MB, free: 13.97 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.3586, allocations: 0.5019 MB / 456.9 MB, free: 13.46 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.3587, allocations: 39.66 kB / 457 MB, free: 13.42 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.3587, allocations: 23.92 kB / 457 MB, free: 13.39 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.3589, allocations: 4 kB / 457 MB, free: 13.39 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.359, allocations: 15.97 kB / 457 MB, free: 13.38 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.359, allocations: 4 kB / 457 MB, free: 13.37 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0003245/0.3593, allocations: 275.1 kB / 457.3 MB, free: 13.1 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3593, allocations: 0 / 457.3 MB, free: 13.1 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.001947/0.3613, allocations: 0.6598 MB / 458 MB, free: 12.44 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3])
 * 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 (21):
 * Single equations (assignments): 21
 * 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.001786/0.363, allocations: 0.6595 MB / 458.6 MB, free: 11.77 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001633/0.3647, allocations: 0.9295 MB / 459.5 MB, free: 10.76 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3647, allocations: 0 / 459.5 MB, free: 10.76 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.3649, allocations: 119.9 kB / 459.7 MB, free: 10.64 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.3656, allocations: 113.5 kB / 459.8 MB, free: 10.54 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.3672, allocations: 0.9252 MB / 460.7 MB, free: 9.594 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.3678, allocations: 0.8419 MB / 461.5 MB, free: 8.723 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0002075/0.368, allocations: 70.84 kB / 461.6 MB, free: 8.656 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.368, allocations: 27.44 kB / 461.6 MB, free: 8.629 MB / 366.1 MB
Notification: Performance of SimCode: time 5.71e-07/0.368, allocations: 8 kB / 461.6 MB, free: 8.621 MB / 366.1 MB
Notification: Performance of Templates: time 0.02802/0.3961, allocations: 13.12 MB / 474.8 MB, free: 11.51 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.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: 5.220799600705504]