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.001139/0.001139, allocations: 110.9 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 79.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3454, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003617/0.3491, allocations: 2.657 MB / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007025/0.3561, allocations: 4.413 MB / 0.5386 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.3564, allocations: 24.56 kB / 0.5386 GB, free: 8.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007221/0.3572, allocations: 356.2 kB / 0.539 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.3574, allocations: 89.62 kB / 0.5391 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005739/0.3632, allocations: 2.646 MB / 0.5416 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.3646, allocations: 1.18 MB / 0.5428 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.3648, allocations: 76.89 kB / 0.5429 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005084/0.3654, allocations: 451.3 kB / 0.5433 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005694/0.3659, allocations: 401.3 kB / 0.5437 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.3661, allocations: 58.38 kB / 0.5437 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.369, allocations: 1.828 MB / 0.5455 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.3693, allocations: 307.1 kB / 0.5458 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.3697, allocations: 397.4 kB / 0.5462 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.3717, allocations: 2.299 MB / 0.5484 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3717, allocations: 0 / 0.5484 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3717, allocations: 0 / 0.5484 GB, free: 0.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.3718, allocations: 0 / 0.5484 GB, free: 0.582 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.002377/0.3741, allocations: 1.468 MB / 0.5499 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3742, allocations: 8.031 kB / 0.5499 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.3744, allocations: 107.6 kB / 0.55 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.3751, allocations: 0.5861 MB / 0.5505 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.3751, allocations: 37.38 kB / 0.5506 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.3753, allocations: 72.17 kB / 0.5507 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009299/0.3762, allocations: 0.7006 MB / 0.5513 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.3762, allocations: 0 / 0.5513 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.3763, allocations: 20 kB / 0.5514 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.3763, allocations: 8 kB / 0.5514 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.3769, allocations: 363.7 kB / 0.5517 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.3792, allocations: 1.359 MB / 0.553 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.3806, allocations: 0.8324 MB / 0.5539 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.381, allocations: 294 kB / 0.5541 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.381, allocations: 4.438 kB / 0.5541 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3811, allocations: 46.98 kB / 0.5542 GB, free: 10.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 1.804e-06/0.3811, allocations: 0 / 0.5542 GB, free: 10.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001485/0.3825, allocations: 0.9731 MB / 0.5551 GB, free: 9.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003201/0.3829, allocations: 0.6726 MB / 0.5558 GB, free: 8.621 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008863/0.3838, allocations: 0.8496 MB / 0.5566 GB, free: 7.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/0.3838, allocations: 41.7 kB / 0.5567 GB, free: 7.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.3841, allocations: 365.3 kB / 0.557 GB, free: 7.336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.3843, allocations: 212.9 kB / 0.5572 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.3846, allocations: 250.6 kB / 0.5574 GB, free: 6.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.3848, allocations: 422.7 kB / 0.5578 GB, free: 6.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007961/0.3856, allocations: 0.5885 MB / 0.5584 GB, free: 5.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009802/0.3866, allocations: 0.8262 MB / 0.5592 GB, free: 4.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.3881, allocations: 1.128 MB / 0.5603 GB, free: 3.832 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3881, allocations: 0 / 0.5603 GB, free: 3.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002824/0.3909, allocations: 1.925 MB / 0.5622 GB, free: 1.859 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3909, allocations: 8 kB / 0.5622 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.153e-05/0.391, allocations: 11.98 kB / 0.5622 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.3924, allocations: 0.4939 MB / 0.5627 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.3929, allocations: 143.8 kB / 0.5629 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/0.4068, allocations: 18.2 MB / 0.5806 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.4074, allocations: 126.5 kB / 0.5807 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.4075, allocations: 28 kB / 0.5808 GB, free: 13.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.0003986/0.4079, allocations: 285.6 kB / 0.581 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.408, allocations: 94.72 kB / 0.5811 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.4082, allocations: 105.4 kB / 0.5812 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4082, allocations: 0 / 0.5812 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4082, allocations: 4 kB / 0.5812 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4083, allocations: 159.8 kB / 0.5814 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.4085, allocations: 35.92 kB / 0.5814 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.4088, allocations: 31.97 kB / 0.5815 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.4089, allocations: 32.39 kB / 0.5815 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003047/0.412, allocations: 1.221 MB / 0.5827 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001781/0.4137, allocations: 1.455 MB / 0.5841 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005175/0.4143, allocations: 391 kB / 0.5845 GB, free: 9.289 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005911/0.4149, allocations: 0.5425 MB / 0.585 GB, free: 8.734 MB / 446.1 MB Notification: Performance of Backend: time 3.6e-07/0.4149, allocations: 0 / 0.585 GB, free: 8.734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005164/0.4201, allocations: 3.408 MB / 0.5883 GB, free: 5.078 MB / 446.1 MB Notification: Performance of SimCode: time 0.002988/0.4231, allocations: 2.565 MB / 0.5908 GB, free: 2.477 MB / 446.1 MB Notification: Performance of Templates: time 0.03587/0.4589, allocations: 21.67 MB / 0.612 GB, free: 12.86 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