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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=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_trunk_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_trunk_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 83.86 kB / 482 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3068, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004173/0.3111, allocations: 2.657 MB / 0.5343 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007458/0.3185, allocations: 4.417 MB / 0.5386 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006248/0.3192, allocations: 19.78 kB / 0.5386 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009071/0.3201, allocations: 353.9 kB / 0.539 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.3206, allocations: 93.84 kB / 0.5391 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006587/0.3272, allocations: 2.655 MB / 0.5416 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.3288, allocations: 1.183 MB / 0.5428 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.3291, allocations: 75.89 kB / 0.5429 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.3302, allocations: 444.1 kB / 0.5433 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009952/0.3312, allocations: 407.6 kB / 0.5437 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003003/0.3315, allocations: 56.19 kB / 0.5437 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/0.3363, allocations: 1.827 MB / 0.5455 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.3367, allocations: 307.1 kB / 0.5458 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.3372, allocations: 397.4 kB / 0.5462 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002633/0.3399, allocations: 2.307 MB / 0.5485 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3399, allocations: 0 / 0.5485 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3399, allocations: 0 / 0.5485 GB, free: 0.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.984e-05/0.3399, allocations: 3.938 kB / 0.5485 GB, free: 0.5391 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.002733/0.3427, allocations: 1.502 MB / 0.5499 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3427, allocations: 8.031 kB / 0.5499 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.3429, allocations: 112.2 kB / 0.55 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.3438, allocations: 0.5828 MB / 0.5506 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.3438, allocations: 37.38 kB / 0.5506 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.3439, allocations: 80.27 kB / 0.5507 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009562/0.3449, allocations: 0.6967 MB / 0.5514 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3449, allocations: 0 / 0.5514 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.345, allocations: 20 kB / 0.5514 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.345, allocations: 8 kB / 0.5514 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006106/0.3456, allocations: 371.7 kB / 0.5518 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.348, allocations: 1.363 MB / 0.5531 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.3495, allocations: 0.8364 MB / 0.5539 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/0.3499, allocations: 286 kB / 0.5542 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.3499, allocations: 8.438 kB / 0.5542 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.35, allocations: 54.92 kB / 0.5543 GB, free: 10.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 1.894e-06/0.35, allocations: 0 / 0.5543 GB, free: 10.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001531/0.3515, allocations: 0.97 MB / 0.5552 GB, free: 9.355 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002577/0.3518, allocations: 0.6687 MB / 0.5559 GB, free: 8.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/0.3527, allocations: 0.8498 MB / 0.5567 GB, free: 7.652 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/0.3528, allocations: 45.7 kB / 0.5567 GB, free: 7.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.353, allocations: 361.6 kB / 0.5571 GB, free: 7.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.3532, allocations: 226.1 kB / 0.5573 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003236/0.3535, allocations: 250.6 kB / 0.5575 GB, free: 6.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3537, allocations: 418.7 kB / 0.5579 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/0.3545, allocations: 0.5885 MB / 0.5585 GB, free: 5.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009713/0.3555, allocations: 0.834 MB / 0.5593 GB, free: 4.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.357, allocations: 1.132 MB / 0.5604 GB, free: 3.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.357, allocations: 0 / 0.5604 GB, free: 3.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002855/0.3599, allocations: 1.922 MB / 0.5623 GB, free: 1.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3599, allocations: 4 kB / 0.5623 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.837e-05/0.36, allocations: 19.97 kB / 0.5623 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.3614, allocations: 0.49 MB / 0.5628 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.3619, allocations: 143.8 kB / 0.5629 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/0.3752, allocations: 18.21 MB / 0.5807 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/0.3758, allocations: 126.9 kB / 0.5809 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.3759, allocations: 31.98 kB / 0.5809 GB, free: 13 MB / 446.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.0004571/0.3764, allocations: 289.6 kB / 0.5812 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.3765, allocations: 91.34 kB / 0.5812 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.3767, allocations: 101.4 kB / 0.5813 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.3768, allocations: 3.984 kB / 0.5813 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3768, allocations: 0 / 0.5813 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.3769, allocations: 172.3 kB / 0.5815 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.377, allocations: 35.92 kB / 0.5815 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.3774, allocations: 31.97 kB / 0.5816 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.3775, allocations: 36.39 kB / 0.5816 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003064/0.3806, allocations: 1.225 MB / 0.5828 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00184/0.3824, allocations: 1.448 MB / 0.5842 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005277/0.383, allocations: 399 kB / 0.5846 GB, free: 9.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006292/0.3836, allocations: 0.5347 MB / 0.5851 GB, free: 8.598 MB / 446.1 MB Notification: Performance of Backend: time 2.9e-07/0.3836, allocations: 4 kB / 0.5851 GB, free: 8.594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005486/0.3891, allocations: 3.411 MB / 0.5885 GB, free: 4.934 MB / 446.1 MB Notification: Performance of SimCode: time 0.003077/0.3922, allocations: 2.613 MB / 0.591 GB, free: 2.277 MB / 446.1 MB Notification: Performance of Templates: time 0.03338/0.4256, allocations: 21.39 MB / 0.6119 GB, free: 12.95 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches