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.001028/0.001028, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.305/1.305, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008615/0.0008614, allocations: 95.84 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1873/0.1873, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.224e-05, allocations: 4.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.5574, allocations: 100.9 MB / 0.6003 GB, free: 4.316 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5577, allocations: 67.97 kB / 0.6003 GB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1336/0.6913, allocations: 48.68 MB / 0.6479 GB, free: 3.504 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.6914, allocations: 0 / 0.6479 GB, free: 3.504 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.708e-05/0.6915, allocations: 35.88 kB / 0.6479 GB, free: 3.469 MB / 458.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.002646/0.6941, allocations: 1.223 MB / 0.6491 GB, free: 2.195 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.6942, allocations: 12.03 kB / 0.6491 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.6944, allocations: 110.6 kB / 0.6492 GB, free: 2.074 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.6958, allocations: 0.7684 MB / 0.65 GB, free: 1.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.6959, allocations: 36.78 kB / 0.65 GB, free: 1.215 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.696, allocations: 71.81 kB / 0.6501 GB, free: 1.145 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009686/0.697, allocations: 0.721 MB / 0.6508 GB, free: 316 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.697, allocations: 0 / 0.6508 GB, free: 316 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/0.6971, allocations: 28 kB / 0.6508 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.6971, allocations: 11.98 kB / 0.6508 GB, free: 276 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/0.6976, allocations: 354.9 kB / 0.6512 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.7, allocations: 1.389 MB / 0.6525 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.7014, allocations: 0.8253 MB / 0.6533 GB, free: 13.64 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.7018, allocations: 278 kB / 0.6536 GB, free: 13.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.7018, allocations: 8.438 kB / 0.6536 GB, free: 13.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.7019, allocations: 46.94 kB / 0.6536 GB, free: 13.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 1.844e-06/0.7019, allocations: 0 / 0.6536 GB, free: 13.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=53): time 0.001104/0.703, allocations: 0.6889 MB / 0.6543 GB, free: 12.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003255/0.7033, allocations: 0.6648 MB / 0.655 GB, free: 11.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000831/0.7042, allocations: 0.7318 MB / 0.6557 GB, free: 11.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/0.7042, allocations: 45.7 kB / 0.6557 GB, free: 10.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.7045, allocations: 369.3 kB / 0.6561 GB, free: 10.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.7047, allocations: 212.9 kB / 0.6563 GB, free: 10.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.7047, allocations: 16 kB / 0.6563 GB, free: 10.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.705, allocations: 414.7 kB / 0.6567 GB, free: 9.973 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007789/0.7057, allocations: 0.5496 MB / 0.6572 GB, free: 9.418 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009389/0.7067, allocations: 0.7952 MB / 0.658 GB, free: 8.551 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009128/0.7076, allocations: 0.6711 MB / 0.6586 GB, free: 7.879 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7076, allocations: 0 / 0.6586 GB, free: 7.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002825/0.7105, allocations: 1.851 MB / 0.6605 GB, free: 5.988 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.7105, allocations: 4 kB / 0.6605 GB, free: 5.984 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.24e-05/0.7106, allocations: 23.97 kB / 0.6605 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.7119, allocations: 0.49 MB / 0.661 GB, free: 5.434 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.7125, allocations: 147.8 kB / 0.6611 GB, free: 5.289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.7253, allocations: 16.9 MB / 0.6776 GB, free: 2.785 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009351/0.7263, allocations: 130.5 kB / 0.6777 GB, free: 2.656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.7264, allocations: 43.86 kB / 0.6778 GB, free: 2.613 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 () * 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.000249/0.7267, allocations: 162.9 kB / 0.6779 GB, free: 2.449 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.7268, allocations: 90.81 kB / 0.678 GB, free: 2.359 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.7271, allocations: 101.2 kB / 0.6781 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.7271, allocations: 8 kB / 0.6781 GB, free: 2.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.7272, allocations: 0 / 0.6781 GB, free: 2.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.7272, allocations: 3.984 kB / 0.6781 GB, free: 2.246 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008438/0.728, allocations: 0.6263 MB / 0.6787 GB, free: 1.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.728, allocations: 4 kB / 0.6787 GB, free: 1.566 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.7287, allocations: 111.8 kB / 0.6788 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.7288, allocations: 7.953 kB / 0.6789 GB, free: 1.449 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.776e-05/0.7288, allocations: 31.97 kB / 0.6789 GB, free: 1.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.7288, allocations: 4 kB / 0.6789 GB, free: 1.414 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7289, allocations: 0 / 0.6789 GB, free: 1.414 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.7303, allocations: 1.126 MB / 0.68 GB, free: 276 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.7305, allocations: 155.9 kB / 0.6801 GB, free: 100 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.7306, allocations: 43.92 kB / 0.6802 GB, free: 56 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.7309, allocations: 31.97 kB / 0.6802 GB, free: 24 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.731, allocations: 28.44 kB / 0.6802 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.7311, allocations: 16 kB / 0.6802 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006017/0.7317, allocations: 0.5231 MB / 0.6808 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/0.7317, allocations: 3.938 kB / 0.6808 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002419/0.7341, allocations: 0.7964 MB / 0.6815 GB, free: 14.64 MB / 0.4948 GB 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 () * 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.001463/0.7356, allocations: 0.7343 MB / 0.6823 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003944/0.7396, allocations: 2.961 MB / 0.6852 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.7396, allocations: 4 kB / 0.6852 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004757/0.7401, allocations: 318.3 kB / 0.6855 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008811/0.741, allocations: 199.5 kB / 0.6856 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.7436, allocations: 1.928 MB / 0.6875 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.7442, allocations: 1.098 MB / 0.6886 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000433/0.7447, allocations: 169.2 kB / 0.6888 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.7449, allocations: 51.44 kB / 0.6888 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of SimCode: time 9.51e-07/0.7449, allocations: 0 / 0.6888 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of Templates: time 0.03275/0.7776, allocations: 21.66 MB / 0.71 GB, free: 1.289 MB / 0.5105 GB 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