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.001046/0.001046, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001399/0.001399, allocations: 166.6 kB / 24.84 MB, free: 9.297 MB / 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.001/1.001, allocations: 158.6 MB / 186.7 MB, free: 2.805 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.1268/0.1268, allocations: 32.37 MB / 271.5 MB, free: 14.54 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 3.457e-06/3.457e-06, allocations: 4 kB / 348.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.918e-05, allocations: 4.281 kB / 349 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002867/0.002897, allocations: 2.502 MB / 351.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00576/0.008657, allocations: 4.217 MB / 355.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003747/0.009032, allocations: 35.56 kB / 355.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.009729, allocations: 374.2 kB / 356.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.009894, allocations: 95.09 kB / 356.2 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004515/0.01441, allocations: 2.788 MB / 359 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.01568, allocations: 1.216 MB / 360.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.01589, allocations: 45.95 kB / 360.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006914/0.01658, allocations: 0.5653 MB / 360.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.01702, allocations: 347 kB / 361.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.01712, allocations: 56 kB / 361.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.01901, allocations: 1.89 MB / 363.1 MB, free: 11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.01934, allocations: 326.9 kB / 363.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.01955, allocations: 247.1 kB / 363.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.0222, allocations: 2.434 MB / 366.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.0222, allocations: 4 kB / 366.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.0222, allocations: 4 kB / 366.1 MB, free: 7.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.02222, allocations: 0 / 366.1 MB, free: 7.988 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.002264/0.02448, allocations: 1.515 MB / 367.6 MB, free: 6.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.02454, allocations: 16.03 kB / 367.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.02475, allocations: 136.2 kB / 367.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.02539, allocations: 0.5165 MB / 368.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.02542, allocations: 37.38 kB / 368.3 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.02553, allocations: 84.25 kB / 368.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/0.02636, allocations: 1.116 MB / 369.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.02638, allocations: 8.125 kB / 369.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.02642, allocations: 19.94 kB / 369.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.02643, allocations: 15.98 kB / 369.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.02662, allocations: 106.9 kB / 369.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.02806, allocations: 0.957 MB / 370.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/0.02864, allocations: 356.5 kB / 370.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.02877, allocations: 93.12 kB / 371 MB, free: 2.629 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.02879, allocations: 8.5 kB / 371 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.02883, allocations: 41.89 kB / 371.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 2.545e-06/0.02884, allocations: 0 / 371.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.0006578/0.02949, allocations: 441.6 kB / 371.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002933/0.02979, allocations: 0.6648 MB / 372.2 MB, free: 1.309 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.03038, allocations: 0.8276 MB / 373 MB, free: 464 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.03044, allocations: 49.7 kB / 373 MB, free: 408 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.03073, allocations: 432.2 kB / 373.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.03089, allocations: 242 kB / 373.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.03117, allocations: 280.1 kB / 374 MB, free: 15.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003019/0.03147, allocations: 0.6169 MB / 374.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.03169, allocations: 154.9 kB / 374.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.03234, allocations: 1.091 MB / 375.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.03279, allocations: 450.1 kB / 376.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.03279, allocations: 4 kB / 376.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001273/0.03407, allocations: 0.971 MB / 377.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.03409, allocations: 4 kB / 377.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/0.03412, allocations: 15.98 kB / 377.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007015/0.03482, allocations: 307.8 kB / 377.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.03513, allocations: 143.8 kB / 377.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009817/0.04495, allocations: 20.7 MB / 398.4 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.04518, allocations: 126.9 kB / 398.5 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.04521, allocations: 20 kB / 398.6 MB, free: 5.117 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.0002221/0.04544, allocations: 208.6 kB / 398.8 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.04555, allocations: 107.4 kB / 398.9 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.642e-05/0.04565, allocations: 105.4 kB / 399 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.04565, allocations: 7.938 kB / 399 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.04566, allocations: 3.984 kB / 399 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.04566, allocations: 0 / 399 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.04603, allocations: 361.2 kB / 399.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.04603, allocations: 0 / 399.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.04639, allocations: 103.8 kB / 399.4 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.04639, allocations: 3.984 kB / 399.4 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.04644, allocations: 31.97 kB / 399.5 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.04644, allocations: 0 / 399.5 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.04644, allocations: 4 kB / 399.5 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.04703, allocations: 0.673 MB / 400.1 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.04709, allocations: 87.22 kB / 400.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.04717, allocations: 35.97 kB / 400.3 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.04731, allocations: 20 kB / 400.3 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.04737, allocations: 36.38 kB / 400.3 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.04739, allocations: 15.92 kB / 400.3 MB, free: 3.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002899/0.04768, allocations: 447.3 kB / 400.8 MB, free: 2.828 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04768, allocations: 4 kB / 400.8 MB, free: 2.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001866/0.04955, allocations: 0.7652 MB / 401.5 MB, free: 2.059 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.001284/0.05083, allocations: 0.8307 MB / 402.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.05278, allocations: 2.983 MB / 405.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.05279, allocations: 4 kB / 405.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.05296, allocations: 151.4 kB / 405.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.05356, allocations: 232.3 kB / 405.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.05548, allocations: 1.799 MB / 407.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.05568, allocations: 247.1 kB / 407.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.05589, allocations: 93.23 kB / 407.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.05638, allocations: 318 kB / 408.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.05638, allocations: 4 kB / 408.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of Templates: time 0.03077/0.08715, allocations: 23.48 MB / 431.7 MB, free: 3.637 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: 4.815921046305448]