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.001002/0.001002, allocations: 176.8 kB / 17.06 MB, free: 5.094 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.25/1.25, allocations: 223.2 MB / 241 MB, free: 11.88 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.000893/0.0008931, allocations: 98.95 kB / 292.2 MB, free: 10.91 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.3016/0.3016, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002959, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3073, allocations: 61.91 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.4382, allocations: 101 MB / 0.6082 GB, free: 10.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.4385, allocations: 79.95 kB / 0.6083 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1287/0.5672, allocations: 48.77 MB / 0.6559 GB, free: 9.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5672, allocations: 0 / 0.6559 GB, free: 9.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.904e-05/0.5673, allocations: 39.88 kB / 0.6559 GB, free: 9.121 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.003206/0.5705, allocations: 1.378 MB / 0.6573 GB, free: 7.688 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5706, allocations: 11.97 kB / 0.6573 GB, free: 7.676 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.5708, allocations: 110.6 kB / 0.6574 GB, free: 7.566 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.5722, allocations: 0.7722 MB / 0.6582 GB, free: 6.738 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.5722, allocations: 37 kB / 0.6582 GB, free: 6.703 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.5724, allocations: 79.8 kB / 0.6583 GB, free: 6.625 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009393/0.5733, allocations: 0.7445 MB / 0.659 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5734, allocations: 0 / 0.659 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.5734, allocations: 20 kB / 0.659 GB, free: 5.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.5734, allocations: 15.92 kB / 0.659 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.574, allocations: 387.6 kB / 0.6594 GB, free: 5.355 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.5764, allocations: 1.379 MB / 0.6607 GB, free: 3.926 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.5777, allocations: 0.8505 MB / 0.6616 GB, free: 3.062 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.5777, allocations: 4.438 kB / 0.6616 GB, free: 3.059 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.5778, allocations: 51 kB / 0.6616 GB, free: 3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 2.776e-06/0.5778, allocations: 0 / 0.6616 GB, free: 3 MB / 474.7 MB Notification: Performance of matching and sorting (n=53): time 0.001429/0.5792, allocations: 0.9732 MB / 0.6626 GB, free: 2.027 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003015/0.5795, allocations: 0.6648 MB / 0.6632 GB, free: 1.203 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/0.5804, allocations: 0.7355 MB / 0.6639 GB, free: 456 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.313e-05/0.5805, allocations: 49.7 kB / 0.664 GB, free: 400 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.5808, allocations: 361.4 kB / 0.6643 GB, free: 32 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.5809, allocations: 216.8 kB / 0.6645 GB, free: 15.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.581, allocations: 20 kB / 0.6646 GB, free: 15.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.5812, allocations: 414.7 kB / 0.665 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008131/0.582, allocations: 0.5651 MB / 0.6655 GB, free: 14.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000914/0.5829, allocations: 0.8028 MB / 0.6663 GB, free: 13.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008841/0.5838, allocations: 0.6801 MB / 0.667 GB, free: 13.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5839, allocations: 0 / 0.667 GB, free: 13.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002931/0.5868, allocations: 1.874 MB / 0.6688 GB, free: 11.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5868, allocations: 8 kB / 0.6688 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.795e-05/0.5869, allocations: 19.97 kB / 0.6688 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.5882, allocations: 0.4978 MB / 0.6693 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.5888, allocations: 135.9 kB / 0.6694 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2282/0.817, allocations: 17.05 MB / 0.6861 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.8177, allocations: 127 kB / 0.6862 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.8179, allocations: 38.62 kB / 0.6862 GB, free: 104.4 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.0005312/0.8184, allocations: 295 kB / 0.6865 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.8186, allocations: 87.78 kB / 0.6866 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.8188, allocations: 94.66 kB / 0.6867 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.8189, allocations: 9.047 kB / 0.6867 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.8189, allocations: 3.156 kB / 0.6867 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.8189, allocations: 0 / 0.6867 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006607/0.8195, allocations: 0.6392 MB / 0.6873 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.8196, allocations: 0 / 0.6873 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.8202, allocations: 109 kB / 0.6874 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.8202, allocations: 2.938 kB / 0.6874 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.8203, allocations: 30.48 kB / 0.6875 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.8203, allocations: 4.5 kB / 0.6875 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8203, allocations: 3 kB / 0.6875 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.8215, allocations: 1.157 MB / 0.6886 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.42e-05/0.8216, allocations: 168.3 kB / 0.6888 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/0.8217, allocations: 28.02 kB / 0.6888 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.822, allocations: 40.02 kB / 0.6888 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.8221, allocations: 31.11 kB / 0.6889 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.8222, allocations: 18.42 kB / 0.6889 GB, free: 103.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004738/0.8226, allocations: 0.5304 MB / 0.6894 GB, free: 103.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8227, allocations: 0 / 0.6894 GB, free: 103.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002146/0.8248, allocations: 0.7985 MB / 0.6902 GB, free: 103.7 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.001323/0.8261, allocations: 0.7387 MB / 0.6909 GB, free: 103.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002986/0.8291, allocations: 3.004 MB / 0.6938 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.8291, allocations: 0 / 0.6938 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.8295, allocations: 329 kB / 0.6941 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007468/0.8303, allocations: 183.1 kB / 0.6943 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.8328, allocations: 2.531 MB / 0.6968 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.8333, allocations: 1.104 MB / 0.6979 GB, free: 100 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.8337, allocations: 162 kB / 0.698 GB, free: 100 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.8339, allocations: 55 kB / 0.6981 GB, free: 100 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.8339, allocations: 3.719 kB / 0.6981 GB, free: 100 MB / 490.7 MB Notification: Performance of Templates: time 0.02709/0.861, allocations: 19.19 MB / 0.7168 GB, free: 99.37 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/jenkins/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