Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009082/0.0009082, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0008885/0.0008885, allocations: 164 kB / 25.61 MB, free: 8.492 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 0.8726/0.8726, allocations: 177.1 MB / 206.1 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1334/0.1334, allocations: 34.25 MB / 296.8 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.FilterTests.Basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.193e-05, allocations: 2.312 kB / 379.3 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.001911/0.001923, allocations: 2.498 MB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.005745, allocations: 4.224 MB / 386.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.005906, allocations: 39.5 kB / 386.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.00636, allocations: 374.2 kB / 386.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.006483, allocations: 95.09 kB / 386.6 MB, free: 16.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.008989, allocations: 2.785 MB / 389.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006086/0.009597, allocations: 1.213 MB / 390.5 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.009741, allocations: 57.86 kB / 390.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.01007, allocations: 0.5692 MB / 391.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.01033, allocations: 351 kB / 391.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.01038, allocations: 56 kB / 391.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.01145, allocations: 1.9 MB / 393.5 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.01161, allocations: 326.9 kB / 393.8 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.01174, allocations: 239.2 kB / 394 MB, free: 8.645 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.01296, allocations: 2.446 MB / 396.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.01297, allocations: 0 / 396.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01297, allocations: 8 kB / 396.5 MB, free: 6.184 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.01297, allocations: 0 / 396.5 MB, free: 6.184 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.00113/0.0141, allocations: 1.526 MB / 398 MB, free: 4.617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.621e-05/0.01413, allocations: 8.031 kB / 398 MB, free: 4.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.01424, allocations: 136.2 kB / 398.1 MB, free: 4.477 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.01461, allocations: 0.5126 MB / 398.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.01463, allocations: 41.38 kB / 398.7 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.0147, allocations: 76.31 kB / 398.8 MB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.01509, allocations: 1.123 MB / 399.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.0151, allocations: 192 / 399.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.01513, allocations: 19.94 kB / 399.9 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.01514, allocations: 8 kB / 399.9 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.01527, allocations: 110.9 kB / 400 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009736/0.01625, allocations: 0.957 MB / 401 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.01668, allocations: 364.5 kB / 401.3 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.352e-05/0.01677, allocations: 89.14 kB / 401.4 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.01679, allocations: 8.5 kB / 401.4 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.01681, allocations: 41.89 kB / 401.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=53): time 1.603e-06/0.01681, allocations: 0 / 401.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.0004674/0.01728, allocations: 441.6 kB / 401.9 MB, free: 352 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.01743, allocations: 0.6687 MB / 402.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.01793, allocations: 0.8276 MB / 403.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.01797, allocations: 45.7 kB / 403.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.01818, allocations: 436.2 kB / 403.9 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.01831, allocations: 238.1 kB / 404.1 MB, free: 13.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.01854, allocations: 288.1 kB / 404.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.01872, allocations: 0.6091 MB / 405 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.0189, allocations: 154.9 kB / 405.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.01963, allocations: 1.095 MB / 406.2 MB, free: 11.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.02002, allocations: 450 kB / 406.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.02002, allocations: 0 / 406.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001023/0.02105, allocations: 0.9671 MB / 407.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.02106, allocations: 4 kB / 407.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.02109, allocations: 19.98 kB / 407.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/0.02171, allocations: 307.8 kB / 408 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.022, allocations: 147.8 kB / 408.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007649/0.02965, allocations: 20.7 MB / 428.8 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.02985, allocations: 118.9 kB / 428.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.02989, allocations: 24 kB / 429 MB, free: 3.32 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.0001579/0.03005, allocations: 220.4 kB / 429.2 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.969e-05/0.03014, allocations: 107.3 kB / 429.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-05/0.03022, allocations: 97.41 kB / 429.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.03022, allocations: 11.94 kB / 429.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.03023, allocations: 0 / 429.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.03023, allocations: 3.984 kB / 429.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.03054, allocations: 365.2 kB / 429.8 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.03054, allocations: 3.938 kB / 429.8 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.03089, allocations: 95.89 kB / 429.9 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.03089, allocations: 0 / 429.9 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.03093, allocations: 31.97 kB / 429.9 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.03093, allocations: 4 kB / 429.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03093, allocations: 0 / 429.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.0315, allocations: 0.6711 MB / 430.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.03156, allocations: 87.27 kB / 430.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.03163, allocations: 35.98 kB / 430.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.03177, allocations: 19.94 kB / 430.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.03183, allocations: 36.36 kB / 430.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.03184, allocations: 8 kB / 430.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002534/0.03209, allocations: 451.3 kB / 431.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03209, allocations: 0 / 431.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001269/0.03336, allocations: 0.7768 MB / 432 MB, free: 264 kB / 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.0009032/0.03427, allocations: 0.8268 MB / 432.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.03616, allocations: 2.972 MB / 435.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.03616, allocations: 0 / 435.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.03632, allocations: 159.5 kB / 435.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.03684, allocations: 234.8 kB / 436.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.03838, allocations: 1.814 MB / 438 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.03853, allocations: 247.1 kB / 438.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.03871, allocations: 97.3 kB / 438.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/0.03911, allocations: 314 kB / 438.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of SimCode: time 4.5e-07/0.03911, allocations: 0 / 438.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of Templates: time 0.02479/0.06391, allocations: 23.56 MB / 462.2 MB, free: 1.895 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.479890985880047]