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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.17/1.17, allocations: 227.2 MB / 245 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008521/0.0008521, allocations: 106.9 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.265/0.265, allocations: 45.22 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002259/0.0002259, allocations: 8 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2729, allocations: 63.25 MB / 0.5192 GB, free: 43.72 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3761, allocations: 102.1 MB / 0.6188 GB, free: 3.555 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.3763, allocations: 71.97 kB / 0.6189 GB, free: 3.484 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1267/0.5031, allocations: 48.93 MB / 0.6667 GB, free: 2.508 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5031, allocations: 4 kB / 0.6667 GB, free: 2.504 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.603e-05/0.5032, allocations: 39.88 kB / 0.6667 GB, free: 2.465 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.003036/0.5063, allocations: 1.374 MB / 0.6681 GB, free: 1.035 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5063, allocations: 12.03 kB / 0.6681 GB, free: 1.023 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.5066, allocations: 106.7 kB / 0.6682 GB, free: 0.918 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.5081, allocations: 0.7683 MB / 0.669 GB, free: 96 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.5081, allocations: 45 kB / 0.669 GB, free: 52 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.5083, allocations: 67.86 kB / 0.6691 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009455/0.5092, allocations: 0.7478 MB / 0.6698 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5093, allocations: 0 / 0.6698 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.5093, allocations: 20 kB / 0.6698 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5093, allocations: 8 kB / 0.6698 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000603/0.5099, allocations: 387.6 kB / 0.6702 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.5124, allocations: 1.383 MB / 0.6715 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.5138, allocations: 0.8387 MB / 0.6724 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.5138, allocations: 8.438 kB / 0.6724 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.5139, allocations: 41.23 kB / 0.6724 GB, free: 12.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 1.814e-06/0.5139, allocations: 0 / 0.6724 GB, free: 12.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.001447/0.5153, allocations: 0.9772 MB / 0.6734 GB, free: 11.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000222/0.5156, allocations: 0.6687 MB / 0.674 GB, free: 10.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007725/0.5163, allocations: 0.7356 MB / 0.6747 GB, free: 9.812 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.959e-05/0.5164, allocations: 41.7 kB / 0.6748 GB, free: 9.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.5167, allocations: 365.3 kB / 0.6751 GB, free: 9.402 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.5168, allocations: 212.9 kB / 0.6753 GB, free: 9.191 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.5169, allocations: 20 kB / 0.6753 GB, free: 9.172 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.5171, allocations: 422.6 kB / 0.6757 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007775/0.5178, allocations: 0.5728 MB / 0.6763 GB, free: 8.172 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000906/0.5188, allocations: 0.7988 MB / 0.6771 GB, free: 7.297 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.5197, allocations: 0.6776 MB / 0.6777 GB, free: 6.617 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5197, allocations: 3.938 kB / 0.6777 GB, free: 6.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002789/0.5225, allocations: 1.874 MB / 0.6796 GB, free: 4.699 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5225, allocations: 4 kB / 0.6796 GB, free: 4.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.577e-05/0.5225, allocations: 23.97 kB / 0.6796 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.5239, allocations: 0.4978 MB / 0.6801 GB, free: 4.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.5244, allocations: 143.9 kB / 0.6802 GB, free: 3.996 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.5357, allocations: 17.06 MB / 0.6969 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.5361, allocations: 130.5 kB / 0.697 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.5362, allocations: 32 kB / 0.697 GB, free: 1.18 MB / 0.4948 GB 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.0003605/0.5366, allocations: 291.8 kB / 0.6973 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.5367, allocations: 90.86 kB / 0.6974 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.5369, allocations: 101.4 kB / 0.6975 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5369, allocations: 4 kB / 0.6975 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.5369, allocations: 4 kB / 0.6975 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.537, allocations: 0 / 0.6975 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1874/0.7244, allocations: 0.6407 MB / 0.6981 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.7245, allocations: 0 / 0.6981 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009407/0.7254, allocations: 104.2 kB / 0.6982 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/0.7254, allocations: 1.906 kB / 0.6982 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.7256, allocations: 30.77 kB / 0.6983 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.7256, allocations: 7.625 kB / 0.6983 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7257, allocations: 0 / 0.6983 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.7276, allocations: 1.155 MB / 0.6994 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.7278, allocations: 159.4 kB / 0.6996 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.7279, allocations: 37.38 kB / 0.6996 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.7283, allocations: 33.73 kB / 0.6996 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.7284, allocations: 30.94 kB / 0.6996 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.7285, allocations: 15.66 kB / 0.6997 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007114/0.7292, allocations: 0.5298 MB / 0.7002 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7292, allocations: 0 / 0.7002 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002321/0.7315, allocations: 0.8115 MB / 0.701 GB, free: 115.5 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 () * 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.002013/0.7336, allocations: 0.7531 MB / 0.7017 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003335/0.7369, allocations: 3.001 MB / 0.7046 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7369, allocations: 1.344 kB / 0.7046 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004743/0.7374, allocations: 333.6 kB / 0.705 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.7382, allocations: 190.5 kB / 0.7051 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.7405, allocations: 2.523 MB / 0.7076 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.741, allocations: 1.108 MB / 0.7087 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003605/0.7414, allocations: 162.2 kB / 0.7088 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.7415, allocations: 51.66 kB / 0.7089 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.7415, allocations: 2.969 kB / 0.7089 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.02515/0.7667, allocations: 19.26 MB / 0.7277 GB, free: 111.3 MB / 0.4948 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches