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.0009772/0.0009772, allocations: 75.69 kB / 21.7 MB, free: 2.844 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.0009903/0.0009903, allocations: 163.8 kB / 24.99 MB, free: 9.285 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.9496/0.9496, allocations: 177 MB / 205.2 MB, free: 5.617 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.2394/0.2394, allocations: 34.87 MB / 296.6 MB, free: 0.4922 MB / 266.7 MB " [Timeout remaining time 180] 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 1.162e-06/1.162e-06, allocations: 0 / 378.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.313e-05, allocations: 2.312 kB / 378.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002324/0.002337, allocations: 2.547 MB / 381.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004767/0.007103, allocations: 4.267 MB / 385.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.007275, allocations: 35.56 kB / 385.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.007806, allocations: 374.2 kB / 386 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.007952, allocations: 91.16 kB / 386.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.01085, allocations: 2.784 MB / 388.9 MB, free: 8.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000828/0.01168, allocations: 1.213 MB / 390.1 MB, free: 7.031 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.01181, allocations: 53.89 kB / 390.1 MB, free: 6.977 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004162/0.01223, allocations: 0.5653 MB / 390.7 MB, free: 6.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.01253, allocations: 347.1 kB / 391 MB, free: 6.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/0.01259, allocations: 52 kB / 391.1 MB, free: 6.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.01401, allocations: 1.912 MB / 393 MB, free: 4.105 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.01422, allocations: 326.9 kB / 393.3 MB, free: 3.785 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.01439, allocations: 243.2 kB / 393.6 MB, free: 3.547 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.01602, allocations: 2.438 MB / 396 MB, free: 1.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01602, allocations: 0 / 396 MB, free: 1.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.01602, allocations: 4 kB / 396 MB, free: 1.098 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.01603, allocations: 0 / 396 MB, free: 1.098 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.001556/0.01758, allocations: 1.526 MB / 397.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.01761, allocations: 8.031 kB / 397.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.01776, allocations: 144.2 kB / 397.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.01831, allocations: 0.536 MB / 398.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.01834, allocations: 41.31 kB / 398.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.8e-05/0.01844, allocations: 84.27 kB / 398.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.0191, allocations: 1.148 MB / 399.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.01912, allocations: 192 / 399.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.01915, allocations: 19.94 kB / 399.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.01916, allocations: 8 kB / 399.5 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.01938, allocations: 133.9 kB / 399.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.02076, allocations: 1.132 MB / 400.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.0214, allocations: 376.7 kB / 401.2 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.02156, allocations: 105.1 kB / 401.3 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.02158, allocations: 12.44 kB / 401.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.02161, allocations: 45.89 kB / 401.3 MB, free: 11.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 1.433e-06/0.02161, allocations: 0 / 401.3 MB, free: 11.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.0006866/0.0223, allocations: 473.7 kB / 401.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/0.02247, allocations: 0.6728 MB / 402.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006003/0.02307, allocations: 0.8357 MB / 403.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.02313, allocations: 49.7 kB / 403.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/0.0236, allocations: 420.4 kB / 403.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.02372, allocations: 234.1 kB / 404 MB, free: 8.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.02395, allocations: 272.2 kB / 404.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.02413, allocations: 0.6016 MB / 404.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.02443, allocations: 210.8 kB / 405 MB, free: 7.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.02502, allocations: 1.127 MB / 406.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000586/0.02561, allocations: 0.5177 MB / 406.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.02561, allocations: 0 / 406.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001318/0.02693, allocations: 1.08 MB / 407.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.02695, allocations: 14.59 kB / 407.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/0.02698, allocations: 11.98 kB / 407.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007478/0.02773, allocations: 315.8 kB / 408.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.02805, allocations: 139.9 kB / 408.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008106/0.03616, allocations: 20.99 MB / 429.2 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.03637, allocations: 130.9 kB / 429.4 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.03641, allocations: 28 kB / 429.4 MB, free: 13.26 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.0001671/0.03657, allocations: 204.5 kB / 429.6 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.816e-05/0.03667, allocations: 115.3 kB / 429.7 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.03676, allocations: 105.4 kB / 429.8 MB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.03676, allocations: 4 kB / 429.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.03676, allocations: 0 / 429.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.03677, allocations: 0 / 429.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.03716, allocations: 476.7 kB / 430.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.03717, allocations: 4 kB / 430.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.03756, allocations: 99.88 kB / 430.4 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.03757, allocations: 7.938 kB / 430.4 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.03761, allocations: 31.97 kB / 430.4 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.03761, allocations: 0 / 430.4 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.03761, allocations: 3.938 kB / 430.4 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/0.03828, allocations: 0.6965 MB / 431.1 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.03834, allocations: 91.2 kB / 431.2 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.03841, allocations: 47.92 kB / 431.2 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.03858, allocations: 27.97 kB / 431.3 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.03865, allocations: 32.44 kB / 431.3 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.03867, allocations: 11.98 kB / 431.3 MB, free: 11.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003479/0.03901, allocations: 479.5 kB / 431.8 MB, free: 10.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03901, allocations: 0 / 431.8 MB, free: 10.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00131/0.04032, allocations: 0.7651 MB / 432.5 MB, free: 10 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.0009103/0.04123, allocations: 0.8306 MB / 433.4 MB, free: 9.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.04311, allocations: 3.05 MB / 436.4 MB, free: 5.812 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.04311, allocations: 0 / 436.4 MB, free: 5.812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.04332, allocations: 171.4 kB / 436.6 MB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.04388, allocations: 236.2 kB / 436.8 MB, free: 5.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.04558, allocations: 1.826 MB / 438.7 MB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.04574, allocations: 251 kB / 438.9 MB, free: 3.293 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00022/0.04596, allocations: 125.2 kB / 439 MB, free: 3.168 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.04607, allocations: 52.5 kB / 439.1 MB, free: 3.117 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.04608, allocations: 0 / 439.1 MB, free: 3.117 MB / 410.7 MB Notification: Performance of Templates: time 0.1346/0.1806, allocations: 21.73 MB / 460.8 MB, free: 111.6 MB / 426.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: 3.7295501411426812]