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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic") translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 109.9 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 186.1 kB / 19.39 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2175/0.2175, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3691, allocations: 60.83 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003449/0.3726, allocations: 2.641 MB / 0.5222 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007522/0.3801, allocations: 4.369 MB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.3807, allocations: 22.84 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009796/0.3817, allocations: 347.1 kB / 0.5268 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.3821, allocations: 91.44 kB / 0.5269 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007548/0.3896, allocations: 2.635 MB / 0.5295 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.3913, allocations: 1.184 MB / 0.5306 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.3915, allocations: 79.52 kB / 0.5307 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004851/0.392, allocations: 447.4 kB / 0.5311 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.3925, allocations: 400.9 kB / 0.5315 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.3926, allocations: 55.12 kB / 0.5316 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.3956, allocations: 1.814 MB / 0.5333 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003261/0.3959, allocations: 309.8 kB / 0.5336 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.3963, allocations: 403.6 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.399, allocations: 2.299 MB / 0.5363 GB, free: 9.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.399, allocations: 1.469 kB / 0.5363 GB, free: 9.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.399, allocations: 0 / 0.5363 GB, free: 9.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.3991, allocations: 0 / 0.5363 GB, free: 9.148 MB / 398.1 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.003004/0.4021, allocations: 1.496 MB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4021, allocations: 9.75 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.4023, allocations: 110.1 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008214/0.4032, allocations: 0.5894 MB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.4032, allocations: 37.28 kB / 0.5384 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.4034, allocations: 77.25 kB / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.4044, allocations: 0.7052 MB / 0.5392 GB, free: 6.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4045, allocations: 4.969 kB / 0.5392 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-05/0.4045, allocations: 17.38 kB / 0.5392 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.4045, allocations: 9.031 kB / 0.5392 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.4052, allocations: 364.4 kB / 0.5396 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.4077, allocations: 1.365 MB / 0.5409 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.4092, allocations: 0.8313 MB / 0.5417 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/0.4096, allocations: 290 kB / 0.542 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.4096, allocations: 4.438 kB / 0.542 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.4097, allocations: 51.12 kB / 0.5421 GB, free: 4.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 2.444e-06/0.4097, allocations: 0 / 0.5421 GB, free: 4.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.001644/0.4113, allocations: 0.9682 MB / 0.543 GB, free: 3.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002705/0.4116, allocations: 0.6726 MB / 0.5437 GB, free: 3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009731/0.4126, allocations: 0.8459 MB / 0.5445 GB, free: 2.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.322e-05/0.4127, allocations: 45.7 kB / 0.5445 GB, free: 2.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.413, allocations: 365.6 kB / 0.5449 GB, free: 1.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.4132, allocations: 230.1 kB / 0.5451 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/0.4135, allocations: 254.5 kB / 0.5453 GB, free: 1.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4137, allocations: 418.7 kB / 0.5457 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008203/0.4145, allocations: 0.5846 MB / 0.5463 GB, free: 240 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.4155, allocations: 0.8301 MB / 0.5471 GB, free: 15.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.4171, allocations: 1.132 MB / 0.5482 GB, free: 14.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4171, allocations: 4 kB / 0.5482 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003048/0.4201, allocations: 1.926 MB / 0.5501 GB, free: 12.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.4202, allocations: 7.984 kB / 0.5501 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.355e-05/0.4202, allocations: 19.98 kB / 0.5501 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.4217, allocations: 0.4939 MB / 0.5506 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/0.4223, allocations: 143.8 kB / 0.5508 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.4358, allocations: 18.19 MB / 0.5685 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/0.4366, allocations: 143 kB / 0.5687 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.19e-05/0.4367, allocations: 24 kB / 0.5687 GB, free: 7.473 MB / 430.1 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.0005268/0.4372, allocations: 289.5 kB / 0.569 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.4374, allocations: 95.34 kB / 0.5691 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.4376, allocations: 105.4 kB / 0.5692 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4376, allocations: 3.984 kB / 0.5692 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4376, allocations: 0 / 0.5692 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.4377, allocations: 164.4 kB / 0.5693 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.4378, allocations: 39.92 kB / 0.5694 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.4382, allocations: 27.97 kB / 0.5694 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.4384, allocations: 36.39 kB / 0.5694 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003321/0.4417, allocations: 1.221 MB / 0.5706 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001863/0.4436, allocations: 1.456 MB / 0.572 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005363/0.4441, allocations: 395 kB / 0.5724 GB, free: 3.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006908/0.4448, allocations: 0.5425 MB / 0.5729 GB, free: 3.059 MB / 430.1 MB Notification: Performance of Backend: time 4.51e-07/0.4448, allocations: 0 / 0.5729 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006247/0.4511, allocations: 3.407 MB / 0.5763 GB, free: 15.4 MB / 446.1 MB Notification: Performance of SimCode: time 0.003116/0.4542, allocations: 2.616 MB / 0.5788 GB, free: 12.75 MB / 446.1 MB Notification: Performance of Templates: time 0.03571/0.4899, allocations: 21.31 MB / 0.5996 GB, free: 7.531 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches