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.0009595/0.0009595, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009915/0.0009915, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.9668/0.9668, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2798/0.2798, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.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 2.284e-06/2.284e-06, allocations: 4 kB / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.722e-05, allocations: 5.688 kB / 376 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002772/0.002799, allocations: 2.549 MB / 378.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005433/0.008232, allocations: 4.263 MB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.008497, allocations: 39.5 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005922/0.009089, allocations: 370.2 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.009262, allocations: 99.03 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004485/0.01375, allocations: 2.782 MB / 386.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.01475, allocations: 1.212 MB / 387.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.01492, allocations: 49.84 kB / 387.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007363/0.01566, allocations: 0.5692 MB / 388 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.01598, allocations: 355 kB / 388.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.568e-05/0.01605, allocations: 56 kB / 388.4 MB, free: 8.605 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.01777, allocations: 1.904 MB / 390.3 MB, free: 6.699 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.018, allocations: 322.9 kB / 390.6 MB, free: 6.383 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.01818, allocations: 243.2 kB / 390.8 MB, free: 6.145 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.02012, allocations: 2.442 MB / 393.3 MB, free: 3.695 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.02012, allocations: 0 / 393.3 MB, free: 3.695 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.02012, allocations: 0 / 393.3 MB, free: 3.695 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.02013, allocations: 0 / 393.3 MB, free: 3.695 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.001863/0.022, allocations: 1.53 MB / 394.8 MB, free: 2.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.02204, allocations: 8.031 kB / 394.8 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.0222, allocations: 140.2 kB / 394.9 MB, free: 1.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.02273, allocations: 0.5361 MB / 395.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.02276, allocations: 37.38 kB / 395.5 MB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.612e-05/0.02285, allocations: 88.25 kB / 395.6 MB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.02356, allocations: 1.147 MB / 396.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.02357, allocations: 192 / 396.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.0236, allocations: 23.94 kB / 396.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.02362, allocations: 8 kB / 396.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.02384, allocations: 129.9 kB / 396.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.02523, allocations: 1.125 MB / 398 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/0.02589, allocations: 388.6 kB / 398.4 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.02604, allocations: 105.1 kB / 398.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.02607, allocations: 8.5 kB / 398.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.02609, allocations: 45.89 kB / 398.6 MB, free: 13.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 1.673e-06/0.0261, allocations: 3.938 kB / 398.6 MB, free: 13.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.0006859/0.02678, allocations: 477.6 kB / 399 MB, free: 13.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001997/0.02698, allocations: 0.6728 MB / 399.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006267/0.02761, allocations: 0.8318 MB / 400.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.02766, allocations: 49.7 kB / 400.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.02788, allocations: 428.3 kB / 401 MB, free: 11.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.02799, allocations: 230.1 kB / 401.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004808/0.02847, allocations: 272.3 kB / 401.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.02866, allocations: 0.6016 MB / 402.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.02895, allocations: 210.9 kB / 402.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.02953, allocations: 1.127 MB / 403.4 MB, free: 8.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.03009, allocations: 0.5177 MB / 403.9 MB, free: 8.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.03009, allocations: 0 / 403.9 MB, free: 8.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001283/0.03138, allocations: 1.073 MB / 405 MB, free: 6.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.0314, allocations: 7.938 kB / 405 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/0.03143, allocations: 15.98 kB / 405 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000704/0.03213, allocations: 319.9 kB / 405.4 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.03244, allocations: 143.8 kB / 405.5 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00847/0.04091, allocations: 20.98 MB / 426.5 MB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.04135, allocations: 135.3 kB / 426.6 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.04141, allocations: 31.98 kB / 426.6 MB, free: 15.84 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.0002274/0.04163, allocations: 212.4 kB / 426.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.04174, allocations: 107.3 kB / 427 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.893e-05/0.04183, allocations: 101.4 kB / 427.1 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.04184, allocations: 8 kB / 427.1 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.04184, allocations: 0 / 427.1 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.04185, allocations: 3.984 kB / 427.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.04227, allocations: 472.7 kB / 427.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.04228, allocations: 3.938 kB / 427.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.04268, allocations: 99.88 kB / 427.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.04268, allocations: 7.938 kB / 427.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.04272, allocations: 31.97 kB / 427.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.04272, allocations: 4 kB / 427.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.04272, allocations: 3.938 kB / 427.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.04341, allocations: 0.7043 MB / 428.4 MB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.04347, allocations: 87.22 kB / 428.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-05/0.04354, allocations: 31.92 kB / 428.5 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.04371, allocations: 35.91 kB / 428.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.04378, allocations: 32.44 kB / 428.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.0438, allocations: 19.98 kB / 428.6 MB, free: 13.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003538/0.04415, allocations: 475.5 kB / 429 MB, free: 13.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04415, allocations: 0 / 429 MB, free: 13.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001777/0.04593, allocations: 0.7613 MB / 429.8 MB, free: 12.59 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.00198/0.04791, allocations: 0.8229 MB / 430.6 MB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003237/0.05114, allocations: 3.054 MB / 433.7 MB, free: 8.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.05115, allocations: 3.938 kB / 433.7 MB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.05151, allocations: 171.5 kB / 433.9 MB, free: 8.219 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.05217, allocations: 232 kB / 434.1 MB, free: 8.008 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.05412, allocations: 1.831 MB / 435.9 MB, free: 6.141 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.05432, allocations: 251 kB / 436.2 MB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.05459, allocations: 129.2 kB / 436.3 MB, free: 5.742 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.05471, allocations: 52.5 kB / 436.3 MB, free: 5.691 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.05471, allocations: 0 / 436.3 MB, free: 5.691 MB / 410.7 MB Notification: Performance of Templates: time 0.02317/0.07788, allocations: 21.73 MB / 458.1 MB, free: 160 kB / 426.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: 4.066396516049281]