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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008242/0.0008243, allocations: 179.4 kB / 18.09 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 242.1 MB, free: 9.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007472/0.0007472, allocations: 98.14 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2627/0.2627, allocations: 44.14 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2483, allocations: 61.88 MB / 0.5107 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.3517, allocations: 101.1 MB / 0.6094 GB, free: 9.957 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.352, allocations: 75.95 kB / 0.6095 GB, free: 9.887 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1241/0.476, allocations: 48.79 MB / 0.6572 GB, free: 9.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4761, allocations: 0 / 0.6572 GB, free: 9.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.431e-05/0.4762, allocations: 35.88 kB / 0.6572 GB, free: 8.984 MB / 474.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.003063/0.4793, allocations: 1.37 MB / 0.6585 GB, free: 7.559 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4793, allocations: 8.031 kB / 0.6585 GB, free: 7.551 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.4796, allocations: 111.6 kB / 0.6586 GB, free: 7.441 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.4809, allocations: 0.7924 MB / 0.6594 GB, free: 6.594 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.481, allocations: 45.38 kB / 0.6595 GB, free: 6.551 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.4811, allocations: 76.17 kB / 0.6595 GB, free: 6.477 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/0.482, allocations: 0.7484 MB / 0.6603 GB, free: 5.621 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4821, allocations: 192 / 0.6603 GB, free: 5.621 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.4821, allocations: 23.94 kB / 0.6603 GB, free: 5.598 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.4821, allocations: 8 kB / 0.6603 GB, free: 5.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000563/0.4827, allocations: 387.7 kB / 0.6607 GB, free: 5.207 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.485, allocations: 1.383 MB / 0.662 GB, free: 3.773 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.4863, allocations: 0.842 MB / 0.6628 GB, free: 2.922 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.4867, allocations: 286 kB / 0.6631 GB, free: 2.641 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.4867, allocations: 8.438 kB / 0.6631 GB, free: 2.633 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.4868, allocations: 43 kB / 0.6632 GB, free: 2.582 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.4868, allocations: 4 kB / 0.6632 GB, free: 2.578 MB / 474.7 MB Notification: Performance of matching and sorting (n=53): time 0.001439/0.4882, allocations: 0.9773 MB / 0.6641 GB, free: 1.594 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/0.4885, allocations: 0.6686 MB / 0.6648 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/0.4893, allocations: 0.838 MB / 0.6656 GB, free: 15.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/0.4894, allocations: 45.7 kB / 0.6656 GB, free: 15.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.4896, allocations: 357.4 kB / 0.666 GB, free: 15.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.4898, allocations: 224.8 kB / 0.6662 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.4898, allocations: 16 kB / 0.6662 GB, free: 15.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.49, allocations: 414.7 kB / 0.6666 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007804/0.4908, allocations: 0.569 MB / 0.6672 GB, free: 14.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009283/0.4917, allocations: 0.8066 MB / 0.6679 GB, free: 13.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.4931, allocations: 1.093 MB / 0.669 GB, free: 12.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.4931, allocations: 3.984 kB / 0.669 GB, free: 12.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002694/0.4958, allocations: 1.878 MB / 0.6708 GB, free: 10.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4959, allocations: 7.938 kB / 0.6709 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-05/0.4959, allocations: 23.97 kB / 0.6709 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.4971, allocations: 0.4939 MB / 0.6714 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.4977, allocations: 147.7 kB / 0.6715 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1946/0.6923, allocations: 16.91 MB / 0.688 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.6929, allocations: 133.4 kB / 0.6881 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.693, allocations: 38.44 kB / 0.6882 GB, free: 104.1 MB / 490.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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004601/0.6935, allocations: 280.4 kB / 0.6884 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.6936, allocations: 93.56 kB / 0.6885 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.6938, allocations: 103.1 kB / 0.6886 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6938, allocations: 13.81 kB / 0.6886 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6938, allocations: 0 / 0.6886 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.6938, allocations: 3.281 kB / 0.6886 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.6945, allocations: 0.6319 MB / 0.6893 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6945, allocations: 0 / 0.6893 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/0.6951, allocations: 102.7 kB / 0.6894 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.6951, allocations: 6.75 kB / 0.6894 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.6952, allocations: 34.91 kB / 0.6894 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.6952, allocations: 3.938 kB / 0.6894 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6952, allocations: 0 / 0.6894 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.6964, allocations: 1.159 MB / 0.6905 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.6965, allocations: 161.5 kB / 0.6907 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.766e-05/0.6966, allocations: 31.02 kB / 0.6907 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.6969, allocations: 38.41 kB / 0.6908 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.697, allocations: 31.83 kB / 0.6908 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.6971, allocations: 12.38 kB / 0.6908 GB, free: 103.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004957/0.6976, allocations: 0.5315 MB / 0.6913 GB, free: 103.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6976, allocations: 2.719 kB / 0.6913 GB, free: 103.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00202/0.6996, allocations: 0.7992 MB / 0.6921 GB, free: 103.4 MB / 490.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/0.7009, allocations: 0.7402 MB / 0.6928 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002851/0.7038, allocations: 3.004 MB / 0.6958 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7038, allocations: 4.25 kB / 0.6958 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.7042, allocations: 331.3 kB / 0.6961 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007666/0.705, allocations: 190.2 kB / 0.6963 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.7072, allocations: 2.53 MB / 0.6987 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.7076, allocations: 1.087 MB / 0.6998 GB, free: 99.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003557/0.708, allocations: 162 kB / 0.6999 GB, free: 99.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.7081, allocations: 54.47 kB / 0.7 GB, free: 99.79 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7081, allocations: 0 / 0.7 GB, free: 99.79 MB / 490.7 MB Notification: Performance of Templates: time 0.02453/0.7327, allocations: 19.39 MB / 0.7189 GB, free: 99.14 MB / 490.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches