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.0009148/0.0009148, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008186/0.0008186, allocations: 82.64 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2022/0.2022, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.2e-05/1.201e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 58.85 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.5112, allocations: 99.24 MB / 0.5628 GB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.5115, allocations: 73.12 kB / 0.5629 GB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.128/0.6395, allocations: 48.28 MB / 0.6101 GB, free: 2.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6396, allocations: 0 / 0.6101 GB, free: 2.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.853e-05/0.6397, allocations: 39.88 kB / 0.6101 GB, free: 2.766 MB / 410.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.002911/0.6426, allocations: 1.212 MB / 0.6113 GB, free: 1.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.6427, allocations: 16.02 kB / 0.6113 GB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.6429, allocations: 106.7 kB / 0.6114 GB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.6441, allocations: 0.7579 MB / 0.6121 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.6442, allocations: 12 kB / 0.6122 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.6443, allocations: 50.61 kB / 0.6122 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005307/0.6448, allocations: 340.8 kB / 0.6125 GB, free: 456 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009027/0.6457, allocations: 0.6788 MB / 0.6132 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.6458, allocations: 7.938 kB / 0.6132 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.6458, allocations: 0 / 0.6132 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.6458, allocations: 8 kB / 0.6132 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.6483, allocations: 1.299 MB / 0.6145 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.6497, allocations: 0.7863 MB / 0.6152 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.6501, allocations: 266.5 kB / 0.6155 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.6501, allocations: 4.438 kB / 0.6155 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.6501, allocations: 47.8 kB / 0.6155 GB, free: 13.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.344e-06/0.6502, allocations: 0 / 0.6155 GB, free: 13.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.001102/0.6513, allocations: 0.6666 MB / 0.6162 GB, free: 13.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003967/0.6517, allocations: 0.6711 MB / 0.6169 GB, free: 12.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.6526, allocations: 0.6803 MB / 0.6175 GB, free: 11.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.6527, allocations: 25.7 kB / 0.6175 GB, free: 11.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.6531, allocations: 357.5 kB / 0.6179 GB, free: 11.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.6533, allocations: 207.6 kB / 0.6181 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.6533, allocations: 0 / 0.6181 GB, free: 11.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002525/0.6536, allocations: 417 kB / 0.6185 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/0.6543, allocations: 0.5426 MB / 0.619 GB, free: 10.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/0.6552, allocations: 0.76 MB / 0.6198 GB, free: 10.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.6563, allocations: 0.6586 MB / 0.6204 GB, free: 9.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.6563, allocations: 0 / 0.6204 GB, free: 9.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002867/0.6592, allocations: 1.786 MB / 0.6221 GB, free: 7.758 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.6592, allocations: 4 kB / 0.6221 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-05/0.6593, allocations: 27.97 kB / 0.6222 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.6605, allocations: 473.7 kB / 0.6226 GB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.6611, allocations: 147.8 kB / 0.6228 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6611, allocations: 4 kB / 0.6228 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.6616, allocations: 110.5 kB / 0.6229 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/0.6617, allocations: 32 kB / 0.6229 GB, free: 6.938 MB / 426.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): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 12 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002062/0.6619, allocations: 128.8 kB / 0.623 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.662, allocations: 90.78 kB / 0.6231 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.6623, allocations: 93.19 kB / 0.6232 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.6623, allocations: 8 kB / 0.6232 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.6623, allocations: 0 / 0.6232 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.6624, allocations: 3.984 kB / 0.6232 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006963/0.6631, allocations: 0.5682 MB / 0.6238 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6631, allocations: 3.953 kB / 0.6238 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/0.6638, allocations: 103.9 kB / 0.6239 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6638, allocations: 0 / 0.6239 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/0.6639, allocations: 27.97 kB / 0.6239 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6639, allocations: 11.88 kB / 0.6239 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6639, allocations: 0 / 0.6239 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.6653, allocations: 1.087 MB / 0.625 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.6655, allocations: 163.7 kB / 0.6251 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.6656, allocations: 27.97 kB / 0.6252 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.666, allocations: 19.97 kB / 0.6252 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.6661, allocations: 32.39 kB / 0.6252 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.6661, allocations: 16 kB / 0.6252 GB, free: 4.484 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005836/0.6667, allocations: 491.6 kB / 0.6257 GB, free: 3.992 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6667, allocations: 4 kB / 0.6257 GB, free: 3.988 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002451/0.6691, allocations: 0.7496 MB / 0.6264 GB, free: 3.238 MB / 426.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 () * 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.001583/0.6707, allocations: 0.7367 MB / 0.6271 GB, free: 2.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.6733, allocations: 2.573 MB / 0.6297 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6734, allocations: 3.938 kB / 0.6297 GB, free: 15.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.6738, allocations: 309.5 kB / 0.63 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/0.6747, allocations: 169.7 kB / 0.6301 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.6772, allocations: 1.873 MB / 0.6319 GB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/0.6779, allocations: 1.106 MB / 0.633 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004454/0.6784, allocations: 153.2 kB / 0.6332 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.6786, allocations: 51.44 kB / 0.6332 GB, free: 11.86 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6786, allocations: 0 / 0.6332 GB, free: 11.86 MB / 442.7 MB Notification: Performance of Templates: time 0.03076/0.7093, allocations: 17.74 MB / 0.6505 GB, free: 10.12 MB / 458.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