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.001265/0.001265, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001494/0.001494, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.608/1.608, allocations: 230.5 MB / 258.1 MB, free: 7.777 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.00198/0.00198, allocations: 67.88 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3776, allocations: 53.41 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003249/0.3809, allocations: 1.92 MB / 434.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006504/0.3874, allocations: 3.499 MB / 437.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.3877, allocations: 23.75 kB / 437.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.3882, allocations: 191.1 kB / 438 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.3884, allocations: 47.56 kB / 438.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004958/0.3933, allocations: 1.934 MB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007022/0.394, allocations: 0.5027 MB / 440.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3942, allocations: 25.28 kB / 440.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.3944, allocations: 187.4 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.3947, allocations: 175.1 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.3947, allocations: 24 kB / 440.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.3977, allocations: 1.869 MB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.3979, allocations: 127.5 kB / 442.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.398, allocations: 135.1 kB / 443 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.4001, allocations: 1.804 MB / 444.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4001, allocations: 0 / 444.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4001, allocations: 0 / 444.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.4001, allocations: 4 kB / 444.8 MB, free: 10.05 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.001649/0.4018, allocations: 0.8506 MB / 445.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4018, allocations: 15.92 kB / 445.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.4019, allocations: 52.61 kB / 445.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.4024, allocations: 283.4 kB / 446 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.4025, allocations: 16.66 kB / 446 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.4025, allocations: 32.33 kB / 446.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006885/0.4032, allocations: 0.6096 MB / 446.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4032, allocations: 0 / 446.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.4033, allocations: 8 kB / 446.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.4033, allocations: 4 kB / 446.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.4036, allocations: 148.7 kB / 446.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.4047, allocations: 0.5661 MB / 447.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.4054, allocations: 306.4 kB / 447.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.4056, allocations: 112.7 kB / 447.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.4056, allocations: 4 kB / 447.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.4056, allocations: 30.94 kB / 447.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.4056, allocations: 4 kB / 447.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007511/0.4064, allocations: 385.1 kB / 448.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002978/0.4067, allocations: 367.8 kB / 448.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.4072, allocations: 409.8 kB / 449 MB, free: 5.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.4072, allocations: 33.7 kB / 449 MB, free: 5.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.4074, allocations: 192.9 kB / 449.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.4075, allocations: 91.27 kB / 449.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.4076, allocations: 101.7 kB / 449.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4078, allocations: 358.7 kB / 449.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.4082, allocations: 208.1 kB / 450 MB, free: 4.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/0.4088, allocations: 0.6156 MB / 450.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.4094, allocations: 396.7 kB / 451 MB, free: 3.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4094, allocations: 0 / 451 MB, free: 3.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001286/0.4107, allocations: 0.6528 MB / 451.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4107, allocations: 4 kB / 451.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.4107, allocations: 11.98 kB / 451.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/0.4112, allocations: 122.5 kB / 451.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.4115, allocations: 63.89 kB / 451.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004574/0.416, allocations: 4.179 MB / 456 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.4163, allocations: 47.69 kB / 456 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.4163, allocations: 8 kB / 456 MB, free: 14.04 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.0002865/0.4166, allocations: 181.8 kB / 456.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.4167, allocations: 47.7 kB / 456.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.812e-05/0.4168, allocations: 43.84 kB / 456.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4168, allocations: 0 / 456.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4168, allocations: 7.938 kB / 456.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4168, allocations: 3.938 kB / 456.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.4172, allocations: 261 kB / 456.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4172, allocations: 0 / 456.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.4175, allocations: 39.97 kB / 456.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4175, allocations: 4 kB / 456.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.4175, allocations: 19.97 kB / 456.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4175, allocations: 0 / 456.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4175, allocations: 0 / 456.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.4183, allocations: 0.5062 MB / 457.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.4184, allocations: 43.66 kB / 457.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.4184, allocations: 11.98 kB / 457.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.4186, allocations: 12.11 kB / 457.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.4187, allocations: 15.91 kB / 457.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.4187, allocations: 4 kB / 457.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003116/0.419, allocations: 275.1 kB / 457.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.419, allocations: 4 kB / 457.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002202/0.4212, allocations: 0.6559 MB / 458.2 MB, free: 11.88 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.001568/0.4228, allocations: 0.6588 MB / 458.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.4245, allocations: 0.9257 MB / 459.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4245, allocations: 0 / 459.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.4248, allocations: 123.9 kB / 459.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.4254, allocations: 123 kB / 460 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.4271, allocations: 0.9668 MB / 460.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.4274, allocations: 241 kB / 461.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.207e-05/0.4275, allocations: 27.44 kB / 461.2 MB, free: 8.684 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4275, allocations: 0 / 461.2 MB, free: 8.684 MB / 366.1 MB Notification: Performance of Templates: time 0.02223/0.4497, allocations: 12.26 MB / 473.5 MB, free: 12.42 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/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: 9.569408959709108]