Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008986/0.0008984, allocations: 86.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2097/0.2097, allocations: 43.57 MB / 362.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 58.86 MB / 490.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/0.536, allocations: 100 MB / 0.5764 GB, free: 52 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.5363, allocations: 72.12 kB / 0.5765 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1535/0.6898, allocations: 48.56 MB / 0.6239 GB, free: 5.613 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.462e-06/0.6899, allocations: 0 / 0.6239 GB, free: 5.613 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002524/0.6902, allocations: 43.88 kB / 0.6239 GB, free: 5.57 MB / 426.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.007162/0.6974, allocations: 1.381 MB / 0.6253 GB, free: 4.207 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.31e-05/0.6975, allocations: 12.03 kB / 0.6253 GB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008263/0.6983, allocations: 106.7 kB / 0.6254 GB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.7013, allocations: 0.7696 MB / 0.6262 GB, free: 3.363 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.7014, allocations: 38.62 kB / 0.6262 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/0.7018, allocations: 71.53 kB / 0.6263 GB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.7036, allocations: 0.75 MB / 0.627 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.7036, allocations: 0 / 0.627 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.7037, allocations: 21.62 kB / 0.627 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.7038, allocations: 11.98 kB / 0.627 GB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.7047, allocations: 376.2 kB / 0.6274 GB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.709, allocations: 1.381 MB / 0.6287 GB, free: 1.133 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.7112, allocations: 0.8489 MB / 0.6296 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.7113, allocations: 8.375 kB / 0.6296 GB, free: 500 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/0.7113, allocations: 48.55 kB / 0.6296 GB, free: 452 kB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.266e-06/0.7114, allocations: 0 / 0.6296 GB, free: 452 kB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.002359/0.7137, allocations: 0.9665 MB / 0.6306 GB, free: 15.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003363/0.7141, allocations: 0.6757 MB / 0.6312 GB, free: 14.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.7156, allocations: 0.735 MB / 0.6319 GB, free: 14.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.7158, allocations: 47.08 kB / 0.632 GB, free: 14.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/0.7162, allocations: 366 kB / 0.6323 GB, free: 14.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.7165, allocations: 212.4 kB / 0.6325 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.7166, allocations: 17.5 kB / 0.6326 GB, free: 13.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003183/0.7169, allocations: 418.1 kB / 0.633 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.7182, allocations: 0.5662 MB / 0.6335 GB, free: 13.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.7198, allocations: 0.811 MB / 0.6343 GB, free: 12.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.7212, allocations: 0.6801 MB / 0.635 GB, free: 11.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.7213, allocations: 0 / 0.635 GB, free: 11.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004391/0.7257, allocations: 1.866 MB / 0.6368 GB, free: 10.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.7257, allocations: 12 kB / 0.6368 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/0.7258, allocations: 23.97 kB / 0.6368 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.7277, allocations: 0.4978 MB / 0.6373 GB, free: 9.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007919/0.7285, allocations: 139.9 kB / 0.6374 GB, free: 9.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/0.7462, allocations: 17.05 MB / 0.6541 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.7475, allocations: 126.7 kB / 0.6542 GB, free: 6.547 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003828/0.7479, allocations: 43.98 kB / 0.6542 GB, free: 6.504 MB / 458.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.0009998/0.7489, allocations: 293.1 kB / 0.6545 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.7493, allocations: 86.88 kB / 0.6546 GB, free: 6.125 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.7497, allocations: 101.4 kB / 0.6547 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.7497, allocations: 4 kB / 0.6547 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.7497, allocations: 4 kB / 0.6547 GB, free: 6.016 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.7497, allocations: 3.984 kB / 0.6547 GB, free: 6.012 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.7509, allocations: 0.6417 MB / 0.6553 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.7509, allocations: 0 / 0.6553 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.7517, allocations: 103.9 kB / 0.6554 GB, free: 5.215 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.7517, allocations: 4 kB / 0.6554 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.259e-05/0.7518, allocations: 35.97 kB / 0.6555 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.7518, allocations: 0 / 0.6555 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.7519, allocations: 0 / 0.6555 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.7539, allocations: 1.162 MB / 0.6566 GB, free: 4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.7541, allocations: 159.8 kB / 0.6568 GB, free: 3.824 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.7543, allocations: 35.98 kB / 0.6568 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.7547, allocations: 31.97 kB / 0.6568 GB, free: 3.758 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.7548, allocations: 36.38 kB / 0.6569 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.7549, allocations: 12 kB / 0.6569 GB, free: 3.711 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008141/0.7557, allocations: 0.5268 MB / 0.6574 GB, free: 3.172 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7557, allocations: 3.938 kB / 0.6574 GB, free: 3.168 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003342/0.7591, allocations: 0.812 MB / 0.6582 GB, free: 2.355 MB / 458.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.00305/0.7621, allocations: 0.7265 MB / 0.6589 GB, free: 1.625 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00451/0.7667, allocations: 3.001 MB / 0.6618 GB, free: 14.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.7667, allocations: 4 kB / 0.6618 GB, free: 14.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005449/0.7672, allocations: 330.3 kB / 0.6621 GB, free: 14.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.7684, allocations: 187.1 kB / 0.6623 GB, free: 13.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.7723, allocations: 2.528 MB / 0.6648 GB, free: 11.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000895/0.7733, allocations: 1.11 MB / 0.6659 GB, free: 10.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006086/0.7739, allocations: 165.2 kB / 0.666 GB, free: 10.01 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.7741, allocations: 51.44 kB / 0.6661 GB, free: 9.961 MB / 474.7 MB Notification: Performance of SimCode: time 1.422e-06/0.7741, allocations: 0 / 0.6661 GB, free: 9.961 MB / 474.7 MB Notification: Performance of Templates: time 0.05312/0.8272, allocations: 19.19 MB / 0.6848 GB, free: 6.777 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches