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.001262/0.001262, allocations: 113.7 kB / 18.46 MB, free: 4.617 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.001329/0.001329, allocations: 187.1 kB / 19.39 MB, free: 3.691 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.304/1.304, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.1954/0.1954, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.89 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002967/0.2949, allocations: 2.629 MB / 0.5222 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006416/0.3013, allocations: 4.376 MB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.3015, allocations: 28.19 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007122/0.3023, allocations: 346.7 kB / 0.5268 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.3025, allocations: 91.92 kB / 0.5269 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005575/0.3081, allocations: 2.632 MB / 0.5295 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.3092, allocations: 1.183 MB / 0.5306 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.3094, allocations: 84.23 kB / 0.5307 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.3098, allocations: 439.8 kB / 0.5311 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.3103, allocations: 404.6 kB / 0.5315 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.3105, allocations: 60.16 kB / 0.5316 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.3128, allocations: 1.812 MB / 0.5333 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.3131, allocations: 306 kB / 0.5336 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.3134, allocations: 398.4 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.3155, allocations: 2.298 MB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3155, allocations: 0 / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3155, allocations: 5.344 kB / 0.5363 GB, free: 9.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3156, allocations: 0 / 0.5363 GB, free: 9.152 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.002448/0.318, allocations: 1.466 MB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3181, allocations: 8.656 kB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.3183, allocations: 110.4 kB / 0.5378 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008386/0.3191, allocations: 0.5726 MB / 0.5384 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.3191, allocations: 37.91 kB / 0.5384 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.3193, allocations: 81.75 kB / 0.5385 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009818/0.3203, allocations: 0.6976 MB / 0.5392 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3203, allocations: 0 / 0.5392 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/0.3204, allocations: 18.5 kB / 0.5392 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3204, allocations: 12 kB / 0.5392 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006081/0.321, allocations: 372.8 kB / 0.5395 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.3234, allocations: 1.345 MB / 0.5409 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.3248, allocations: 0.8294 MB / 0.5417 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.3252, allocations: 294 kB / 0.5419 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.3253, allocations: 4.438 kB / 0.542 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.3253, allocations: 47.12 kB / 0.542 GB, free: 4.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 1.993e-06/0.3253, allocations: 4 kB / 0.542 GB, free: 4.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.001531/0.3269, allocations: 0.9654 MB / 0.5429 GB, free: 3.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002798/0.3271, allocations: 0.6687 MB / 0.5436 GB, free: 3.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008751/0.328, allocations: 0.8458 MB / 0.5444 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7e-05/0.3281, allocations: 45.7 kB / 0.5445 GB, free: 2.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.3284, allocations: 361.3 kB / 0.5448 GB, free: 1.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.3285, allocations: 212.9 kB / 0.545 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.3289, allocations: 258.5 kB / 0.5453 GB, free: 1.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.329, allocations: 418.7 kB / 0.5457 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007978/0.3299, allocations: 0.5924 MB / 0.5462 GB, free: 328 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009958/0.3309, allocations: 0.8302 MB / 0.547 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.3323, allocations: 1.124 MB / 0.5481 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3323, allocations: 4 kB / 0.5482 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002914/0.3353, allocations: 1.929 MB / 0.55 GB, free: 12.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3353, allocations: 8 kB / 0.55 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-05/0.3353, allocations: 11.98 kB / 0.5501 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.3367, allocations: 0.5017 MB / 0.5505 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.3373, allocations: 135.9 kB / 0.5507 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.3498, allocations: 18.19 MB / 0.5684 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.3505, allocations: 138.4 kB / 0.5686 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/0.3506, allocations: 32.16 kB / 0.5686 GB, free: 7.566 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.0004477/0.351, allocations: 289.5 kB / 0.5689 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.3512, allocations: 90.84 kB / 0.569 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.3514, allocations: 101.4 kB / 0.5691 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3514, allocations: 0 / 0.5691 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3514, allocations: 0 / 0.5691 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.3515, allocations: 163.8 kB / 0.5692 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.3517, allocations: 35.92 kB / 0.5693 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.352, allocations: 31.97 kB / 0.5693 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.3521, allocations: 36.38 kB / 0.5693 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003169/0.3553, allocations: 1.225 MB / 0.5705 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001817/0.3571, allocations: 1.443 MB / 0.5719 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005242/0.3577, allocations: 391.1 kB / 0.5723 GB, free: 3.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006575/0.3583, allocations: 0.5386 MB / 0.5728 GB, free: 3.18 MB / 430.1 MB Notification: Performance of Backend: time 6.01e-07/0.3583, allocations: 4 kB / 0.5728 GB, free: 3.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006106/0.3644, allocations: 3.392 MB / 0.5761 GB, free: 15.53 MB / 446.1 MB Notification: Performance of SimCode: time 0.003098/0.3676, allocations: 2.563 MB / 0.5786 GB, free: 12.94 MB / 446.1 MB Notification: Performance of Templates: time 0.03203/0.3996, allocations: 21.31 MB / 0.5995 GB, free: 7.719 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