Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009825/0.0009825, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001227/0.001227, allocations: 169 kB / 24.25 MB, free: 304 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 158.6 MB / 186 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1506/0.1506, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.FilterTests.Basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 347.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.511e-05, allocations: 6.25 kB / 347.7 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003601/0.003636, allocations: 2.545 MB / 350.2 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007891/0.01153, allocations: 4.256 MB / 354.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000528/0.01206, allocations: 35.56 kB / 354.5 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007547/0.01281, allocations: 370.2 kB / 354.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.01307, allocations: 103 kB / 355 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006261/0.01933, allocations: 2.789 MB / 357.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.02089, allocations: 1.205 MB / 359 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.02113, allocations: 53.94 kB / 359 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000865/0.02199, allocations: 0.5653 MB / 359.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005599/0.02255, allocations: 351 kB / 360 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.02267, allocations: 56 kB / 360 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.02519, allocations: 1.895 MB / 361.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.02549, allocations: 326.9 kB / 362.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.02571, allocations: 239.2 kB / 362.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.02816, allocations: 2.43 MB / 364.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.02817, allocations: 0 / 364.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.02817, allocations: 4 kB / 364.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.826e-05/0.0282, allocations: 0 / 364.9 MB, free: 8.508 MB / 298.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.002813/0.03101, allocations: 1.523 MB / 366.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.03107, allocations: 8.031 kB / 366.4 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.03131, allocations: 140.2 kB / 366.6 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.03203, allocations: 0.5399 MB / 367.1 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.03207, allocations: 41.38 kB / 367.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.0322, allocations: 88.2 kB / 367.2 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009634/0.03316, allocations: 1.147 MB / 368.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.03318, allocations: 192 / 368.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.03322, allocations: 19.94 kB / 368.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.03324, allocations: 8 kB / 368.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.03349, allocations: 129.9 kB / 368.5 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.03523, allocations: 1.132 MB / 369.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/0.03597, allocations: 380.7 kB / 370 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.03614, allocations: 105.1 kB / 370.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.03617, allocations: 8.5 kB / 370.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.03621, allocations: 49.83 kB / 370.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 2.334e-06/0.03621, allocations: 0 / 370.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.0008086/0.03702, allocations: 477.7 kB / 370.7 MB, free: 2.324 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002532/0.03728, allocations: 0.6689 MB / 371.3 MB, free: 1.492 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006708/0.03795, allocations: 0.8318 MB / 372.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.038, allocations: 49.7 kB / 372.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.03827, allocations: 420.4 kB / 372.6 MB, free: 164 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.03845, allocations: 230.2 kB / 372.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.03874, allocations: 284.2 kB / 373.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.039, allocations: 0.6015 MB / 373.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.03934, allocations: 206.9 kB / 373.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/0.04014, allocations: 1.131 MB / 375.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000652/0.04079, allocations: 0.5139 MB / 375.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.0408, allocations: 4 kB / 375.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00145/0.04225, allocations: 1.072 MB / 376.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.04228, allocations: 11.94 kB / 376.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.085e-05/0.04232, allocations: 11.98 kB / 376.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007939/0.04311, allocations: 323.8 kB / 377 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.04343, allocations: 131.9 kB / 377.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.05413, allocations: 20.98 MB / 398.1 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.05472, allocations: 142.8 kB / 398.2 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.098e-05/0.0548, allocations: 24.25 kB / 398.3 MB, free: 4.656 MB / 330.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.0003646/0.05516, allocations: 204.5 kB / 398.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.05533, allocations: 119.3 kB / 398.6 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.05544, allocations: 101.4 kB / 398.7 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.05545, allocations: 4 kB / 398.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.05545, allocations: 0 / 398.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.05546, allocations: 0 / 398.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.05604, allocations: 480.7 kB / 399.1 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.05604, allocations: 0 / 399.1 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.05646, allocations: 99.88 kB / 399.2 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.05646, allocations: 7.938 kB / 399.3 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.05651, allocations: 31.97 kB / 399.3 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.05652, allocations: 0 / 399.3 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.05652, allocations: 4 kB / 399.3 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/0.05739, allocations: 0.7043 MB / 400 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.05749, allocations: 91.2 kB / 400.1 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.17e-05/0.05758, allocations: 39.92 kB / 400.1 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.05776, allocations: 27.97 kB / 400.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.05785, allocations: 32.44 kB / 400.2 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.05787, allocations: 8 kB / 400.2 MB, free: 2.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005401/0.05841, allocations: 487.5 kB / 400.7 MB, free: 2.172 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.05841, allocations: 3.938 kB / 400.7 MB, free: 2.168 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002928/0.06134, allocations: 0.7574 MB / 401.4 MB, free: 1.41 MB / 330.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.001875/0.06322, allocations: 0.8359 MB / 402.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.06588, allocations: 3.049 MB / 405.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.06588, allocations: 0 / 405.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.06612, allocations: 179.4 kB / 405.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.0668, allocations: 219 kB / 405.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.06901, allocations: 1.831 MB / 407.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.06927, allocations: 243.1 kB / 407.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.06962, allocations: 133.2 kB / 407.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.06974, allocations: 52.5 kB / 407.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.793e-06/0.06974, allocations: 0 / 407.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of Templates: time 0.0277/0.09744, allocations: 21.66 MB / 429.6 MB, free: 4.922 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.889394443947822]