Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 162 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2616/0.2616, allocations: 34.26 MB / 296 MB, free: 0.7852 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel_a.x.[0-9,]+.|Bessel_b.x.[0-9,]+.|Butterworth_a.x.[0-9,]+.|Butterworth_b.x.[0-9,]+.|ChebyshevI_a.x.[0-9,]+.|ChebyshevI_b.x.[0-9,]+.|CriticalDamping_a.x.[0-9,]+.|CriticalDamping_b.x.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic") translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel_a.x.[0-9,]+.|Bessel_b.x.[0-9,]+.|Butterworth_a.x.[0-9,]+.|Butterworth_b.x.[0-9,]+.|ChebyshevI_a.x.[0-9,]+.|ChebyshevI_b.x.[0-9,]+.|CriticalDamping_a.x.[0-9,]+.|CriticalDamping_b.x.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 378.1 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.035e-05, allocations: 2.312 kB / 378.1 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002629/0.00265, allocations: 2.544 MB / 380.6 MB, free: 388 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005427/0.008077, allocations: 4.271 MB / 384.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002602/0.008337, allocations: 35.56 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.009029, allocations: 374.2 kB / 385.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.009199, allocations: 91.16 kB / 385.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004185/0.01338, allocations: 2.785 MB / 388.2 MB, free: 8.844 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.01441, allocations: 1.212 MB / 389.4 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.01457, allocations: 53.88 kB / 389.4 MB, free: 7.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.01505, allocations: 0.5653 MB / 390 MB, free: 7.004 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.01551, allocations: 351 kB / 390.3 MB, free: 6.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.871e-05/0.01561, allocations: 56 kB / 390.4 MB, free: 6.605 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.01733, allocations: 1.908 MB / 392.3 MB, free: 4.695 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.01755, allocations: 322.9 kB / 392.6 MB, free: 4.379 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.01772, allocations: 251.1 kB / 392.8 MB, free: 4.133 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.01963, allocations: 2.434 MB / 395.3 MB, free: 1.691 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.01963, allocations: 0 / 395.3 MB, free: 1.691 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.01963, allocations: 0 / 395.3 MB, free: 1.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.01964, allocations: 0 / 395.3 MB, free: 1.691 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001527/0.02117, allocations: 1.534 MB / 396.8 MB, free: 120 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.02121, allocations: 8.031 kB / 396.8 MB, free: 112 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.02137, allocations: 136.3 kB / 397 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.02192, allocations: 0.5283 MB / 397.5 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.02195, allocations: 41.36 kB / 397.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/0.02204, allocations: 84.27 kB / 397.6 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007978/0.02284, allocations: 1.151 MB / 398.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.02285, allocations: 4.188 kB / 398.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.02289, allocations: 19.94 kB / 398.8 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.0229, allocations: 8 kB / 398.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.02312, allocations: 133.8 kB / 398.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.02475, allocations: 1.136 MB / 400.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.02539, allocations: 376.7 kB / 400.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.02553, allocations: 105.1 kB / 400.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.02556, allocations: 12.5 kB / 400.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.02559, allocations: 49.89 kB / 400.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 1.974e-06/0.02559, allocations: 0 / 400.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.0006849/0.02627, allocations: 473.6 kB / 401.1 MB, free: 11.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/0.02646, allocations: 0.6728 MB / 401.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/0.02706, allocations: 0.8357 MB / 402.6 MB, free: 9.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.02711, allocations: 45.7 kB / 402.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.02735, allocations: 428.3 kB / 403 MB, free: 9.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.02749, allocations: 230.1 kB / 403.2 MB, free: 9.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.02772, allocations: 268.3 kB / 403.5 MB, free: 8.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.02793, allocations: 0.6016 MB / 404.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.02822, allocations: 206.9 kB / 404.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.02882, allocations: 1.131 MB / 405.4 MB, free: 6.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.02938, allocations: 0.5215 MB / 406 MB, free: 6.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.02939, allocations: 0 / 406 MB, free: 6.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001515/0.0309, allocations: 1.065 MB / 407 MB, free: 4.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.03092, allocations: 7.938 kB / 407 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.03095, allocations: 15.98 kB / 407.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006963/0.03164, allocations: 323.9 kB / 407.4 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.03194, allocations: 143.7 kB / 407.5 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008/0.03994, allocations: 20.99 MB / 428.5 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.04016, allocations: 126.9 kB / 428.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.04021, allocations: 32 kB / 428.7 MB, free: 13.84 MB / 410.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 (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0001713/0.04038, allocations: 208.6 kB / 428.9 MB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/0.04047, allocations: 111.3 kB / 429 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-05/0.04055, allocations: 101.4 kB / 429.1 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.04056, allocations: 4 kB / 429.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.04056, allocations: 4 kB / 429.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.04056, allocations: 3.984 kB / 429.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.04094, allocations: 472.7 kB / 429.5 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.04094, allocations: 0 / 429.5 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.04132, allocations: 99.88 kB / 429.6 MB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.04132, allocations: 7.938 kB / 429.6 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.04136, allocations: 31.97 kB / 429.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.04137, allocations: 0 / 429.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.04137, allocations: 0 / 429.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.04202, allocations: 0.7082 MB / 430.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.04207, allocations: 91.2 kB / 430.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.04214, allocations: 31.92 kB / 430.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.0423, allocations: 31.97 kB / 430.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.04236, allocations: 32.44 kB / 430.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.04238, allocations: 15.98 kB / 430.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003342/0.04271, allocations: 475.5 kB / 431 MB, free: 11.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04271, allocations: 0 / 431 MB, free: 11.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001371/0.04409, allocations: 0.7652 MB / 431.8 MB, free: 10.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * 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 (53): * Single equations (assignments): 53 * 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.0009086/0.04499, allocations: 0.8384 MB / 432.7 MB, free: 9.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.04715, allocations: 3.046 MB / 435.7 MB, free: 6.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.04715, allocations: 0 / 435.7 MB, free: 6.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.04735, allocations: 175.4 kB / 435.9 MB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.04791, allocations: 230.5 kB / 436.1 MB, free: 6.012 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.04962, allocations: 1.834 MB / 437.9 MB, free: 4.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.04979, allocations: 251 kB / 438.2 MB, free: 3.875 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.05, allocations: 121.2 kB / 438.3 MB, free: 3.754 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.05012, allocations: 56.5 kB / 438.3 MB, free: 3.699 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.05012, allocations: 0 / 438.3 MB, free: 3.699 MB / 410.7 MB Notification: Performance of Templates: time 0.1556/0.2057, allocations: 21.73 MB / 460.1 MB, free: 111.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.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: 4.115718468092382]