Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.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.001626/0.001626, allocations: 84.34 kB / 22.21 MB, free: 2.281 MB / 18.57 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.001816/0.001816, allocations: 163.1 kB / 25.61 MB, free: 8.574 MB / 18.57 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 0.9929/0.9929, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1703/0.1703, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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_trunk_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_trunk_ModelicaTest.Blocks.FilterTests.Basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.732e-05/4.019e-05, allocations: 3.719 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004826/0.004867, allocations: 2.512 MB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007633/0.0125, allocations: 4.212 MB / 386.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.0128, allocations: 39.56 kB / 386.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.01334, allocations: 382.1 kB / 387.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.01348, allocations: 91.09 kB / 387.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003784/0.01727, allocations: 2.786 MB / 390.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007266/0.018, allocations: 1.216 MB / 391.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.01815, allocations: 49.94 kB / 391.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004412/0.01859, allocations: 0.5614 MB / 391.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.01892, allocations: 355 kB / 392.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.01899, allocations: 56 kB / 392.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.02051, allocations: 1.904 MB / 394.2 MB, free: 8.555 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.02071, allocations: 322.8 kB / 394.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.02088, allocations: 247.2 kB / 394.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.02234, allocations: 2.446 MB / 397.2 MB, free: 5.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.02235, allocations: 0 / 397.2 MB, free: 5.543 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.02235, allocations: 0 / 397.2 MB, free: 5.543 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.02236, allocations: 0 / 397.2 MB, free: 5.543 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.001404/0.02377, allocations: 1.526 MB / 398.7 MB, free: 3.977 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.0238, allocations: 12.03 kB / 398.7 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.02393, allocations: 132.2 kB / 398.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.02433, allocations: 0.5165 MB / 399.4 MB, free: 3.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.02435, allocations: 37.38 kB / 399.4 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.02443, allocations: 80.25 kB / 399.5 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.02485, allocations: 1.125 MB / 400.6 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.02486, allocations: 192 / 400.6 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.02489, allocations: 31.88 kB / 400.6 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.0249, allocations: 8 kB / 400.7 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.02504, allocations: 102.9 kB / 400.8 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.02606, allocations: 0.957 MB / 401.7 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.02653, allocations: 369 kB / 402.1 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.265e-05/0.02662, allocations: 85.14 kB / 402.2 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.02664, allocations: 12.5 kB / 402.2 MB, free: 188 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.02666, allocations: 49.88 kB / 402.2 MB, free: 128 kB / 314.7 MB Notification: Performance of pre-optimization done (n=53): time 1.934e-06/0.02667, allocations: 4 kB / 402.2 MB, free: 124 kB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.000572/0.02724, allocations: 429.7 kB / 402.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002396/0.02748, allocations: 0.6648 MB / 403.3 MB, free: 14.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.02806, allocations: 0.8276 MB / 404.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.02811, allocations: 49.7 kB / 404.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.02835, allocations: 436.2 kB / 404.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.02848, allocations: 234.1 kB / 404.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.02871, allocations: 284.1 kB / 405.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.02891, allocations: 0.6169 MB / 405.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.02909, allocations: 154.9 kB / 405.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.02963, allocations: 1.088 MB / 407 MB, free: 10.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.03011, allocations: 462 kB / 407.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.03011, allocations: 0 / 407.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001372/0.03148, allocations: 0.9671 MB / 408.4 MB, free: 9.402 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.0315, allocations: 8 kB / 408.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.024e-05/0.03156, allocations: 15.98 kB / 408.4 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007693/0.03233, allocations: 311.8 kB / 408.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.03272, allocations: 139.8 kB / 408.9 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.04297, allocations: 20.7 MB / 429.6 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.04342, allocations: 126.9 kB / 429.7 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.04346, allocations: 16.19 kB / 429.7 MB, free: 2.672 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.0002528/0.04372, allocations: 216.3 kB / 429.9 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.04383, allocations: 115.3 kB / 430 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.349e-05/0.04392, allocations: 101.4 kB / 430.1 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.04393, allocations: 7.938 kB / 430.1 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.04393, allocations: 0 / 430.1 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.04394, allocations: 3.984 kB / 430.1 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.0443, allocations: 361.2 kB / 430.5 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.04431, allocations: 4 kB / 430.5 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.04469, allocations: 95.83 kB / 430.6 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.04469, allocations: 4 kB / 430.6 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.04473, allocations: 31.97 kB / 430.6 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.04473, allocations: 0 / 430.6 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.04474, allocations: 4 kB / 430.6 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/0.04565, allocations: 0.6633 MB / 431.3 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.04572, allocations: 91.27 kB / 431.4 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.04579, allocations: 27.98 kB / 431.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.04595, allocations: 16 kB / 431.4 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.04601, allocations: 40.36 kB / 431.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.04603, allocations: 8 kB / 431.5 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002783/0.0463, allocations: 459.2 kB / 431.9 MB, free: 396 kB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0463, allocations: 0 / 431.9 MB, free: 396 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.002121/0.04842, allocations: 0.7651 MB / 432.7 MB, free: 15.62 MB / 362.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.001123/0.04955, allocations: 0.8345 MB / 433.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.05166, allocations: 2.976 MB / 436.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.05166, allocations: 8 kB / 436.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.05185, allocations: 155.4 kB / 436.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.05247, allocations: 230 kB / 436.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.05433, allocations: 1.81 MB / 438.7 MB, free: 9.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.0545, allocations: 247.1 kB / 438.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.05472, allocations: 93.31 kB / 439 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/0.05523, allocations: 318 kB / 439.3 MB, free: 8.605 MB / 362.7 MB Notification: Performance of SimCode: time 1.763e-06/0.05523, allocations: 0 / 439.3 MB, free: 8.605 MB / 362.7 MB Notification: Performance of Templates: time 0.03021/0.08544, allocations: 23.56 MB / 462.9 MB, free: 1.234 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.911025125067681]