Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001319/0.001319, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001579/0.001579, allocations: 170.5 kB / 25.61 MB, free: 8.914 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.016/1.016, allocations: 177.1 MB / 206.1 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1463/0.1463, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.FilterTests.Basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.956e-05, allocations: 2.312 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002589/0.002619, allocations: 2.506 MB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.007888, allocations: 4.212 MB / 384 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004793/0.008367, allocations: 35.56 kB / 384.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006929/0.00906, allocations: 374.1 kB / 384.4 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.009295, allocations: 95.16 kB / 384.5 MB, free: 18.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005569/0.01486, allocations: 2.796 MB / 387.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.01627, allocations: 1.212 MB / 388.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.01651, allocations: 53.94 kB / 388.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008266/0.01734, allocations: 0.5653 MB / 389.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.01791, allocations: 343.1 kB / 389.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.01804, allocations: 52 kB / 389.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/0.02099, allocations: 1.92 MB / 391.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004797/0.02147, allocations: 322.9 kB / 391.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.0217, allocations: 247.1 kB / 392 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.02426, allocations: 2.446 MB / 394.5 MB, free: 8.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.02426, allocations: 3.938 kB / 394.5 MB, free: 8.383 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.02427, allocations: 0 / 394.5 MB, free: 8.383 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.02428, allocations: 0 / 394.5 MB, free: 8.383 MB / 314.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.001903/0.02619, allocations: 1.515 MB / 396 MB, free: 6.828 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.02623, allocations: 12.02 kB / 396 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.02639, allocations: 140.2 kB / 396.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.02687, allocations: 0.5048 MB / 396.6 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.02689, allocations: 45.31 kB / 396.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.004e-05/0.02698, allocations: 80.31 kB / 396.7 MB, free: 6.012 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.02749, allocations: 1.124 MB / 397.9 MB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.02751, allocations: 192 / 397.9 MB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.02754, allocations: 23.92 kB / 397.9 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.02755, allocations: 12 kB / 397.9 MB, free: 4.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.02769, allocations: 102.9 kB / 398 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.02888, allocations: 0.9686 MB / 399 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.02939, allocations: 360.1 kB / 399.3 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.0295, allocations: 85.14 kB / 399.4 MB, free: 3.043 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.02952, allocations: 16.44 kB / 399.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.02955, allocations: 45.89 kB / 399.5 MB, free: 2.973 MB / 314.7 MB Notification: Performance of pre-optimization done (n=53): time 2.154e-06/0.02955, allocations: 0 / 399.5 MB, free: 2.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.0005676/0.03012, allocations: 429.7 kB / 399.9 MB, free: 2.547 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.03026, allocations: 0.6687 MB / 400.6 MB, free: 1.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.03073, allocations: 0.8276 MB / 401.4 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.03078, allocations: 41.7 kB / 401.4 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.03095, allocations: 440.2 kB / 401.9 MB, free: 384 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.03105, allocations: 238.1 kB / 402.1 MB, free: 144 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.03131, allocations: 288.2 kB / 402.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.03154, allocations: 0.6169 MB / 403 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.03176, allocations: 150.9 kB / 403.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/0.03251, allocations: 1.091 MB / 404.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.03297, allocations: 446 kB / 404.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.03297, allocations: 0 / 404.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001186/0.03416, allocations: 0.9672 MB / 405.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.03418, allocations: 4 kB / 405.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.729e-05/0.03421, allocations: 19.98 kB / 405.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007389/0.03495, allocations: 315.8 kB / 406 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.03528, allocations: 139.8 kB / 406.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009739/0.04502, allocations: 20.71 MB / 426.8 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.04557, allocations: 118.9 kB / 426.9 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.04562, allocations: 24 kB / 427 MB, free: 5.516 MB / 346.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.0002763/0.0459, allocations: 216.4 kB / 427.2 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.04603, allocations: 107.3 kB / 427.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.922e-05/0.04613, allocations: 97.41 kB / 427.4 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.04613, allocations: 7.938 kB / 427.4 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.04613, allocations: 4 kB / 427.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.04614, allocations: 3.984 kB / 427.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.04655, allocations: 365.2 kB / 427.7 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.04655, allocations: 3.984 kB / 427.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.04692, allocations: 91.89 kB / 427.8 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.04692, allocations: 4 kB / 427.8 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.04696, allocations: 31.97 kB / 427.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.04696, allocations: 4 kB / 427.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.04696, allocations: 3.938 kB / 427.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.0476, allocations: 0.6711 MB / 428.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.04767, allocations: 87.27 kB / 428.6 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.04774, allocations: 31.98 kB / 428.7 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.04789, allocations: 24 kB / 428.7 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.04795, allocations: 36.36 kB / 428.7 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.04797, allocations: 8 kB / 428.7 MB, free: 3.684 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002903/0.04826, allocations: 451.3 kB / 429.2 MB, free: 3.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04826, allocations: 0 / 429.2 MB, free: 3.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002287/0.05055, allocations: 0.769 MB / 429.9 MB, free: 2.461 MB / 346.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.001321/0.05187, allocations: 0.8345 MB / 430.8 MB, free: 1.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002464/0.05433, allocations: 2.972 MB / 433.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.05434, allocations: 0 / 433.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.05452, allocations: 159.4 kB / 433.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.05516, allocations: 232.9 kB / 434.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.05733, allocations: 1.818 MB / 435.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.05755, allocations: 243.1 kB / 436.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002682/0.05782, allocations: 85.31 kB / 436.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/0.05827, allocations: 318 kB / 436.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of SimCode: time 3.186e-06/0.05828, allocations: 4 kB / 436.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of Templates: time 0.03347/0.09175, allocations: 23.56 MB / 460.1 MB, free: 4.102 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 5.272606175392866]