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.001068/0.001068, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008164/0.0008166, allocations: 92.78 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1827/0.1827, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.354e-05/2.374e-05, allocations: 10.64 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09649/0.09653, allocations: 63.24 MB / 0.5114 GB, free: 6.812 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3936/0.4901, allocations: 102 MB / 0.611 GB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.4904, allocations: 70.95 kB / 0.611 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1327/0.6231, allocations: 48.82 MB / 0.6587 GB, free: 13.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6231, allocations: 0 / 0.6587 GB, free: 13.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001548/0.6233, allocations: 39.88 kB / 0.6587 GB, free: 13.57 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.003564/0.6268, allocations: 1.222 MB / 0.6599 GB, free: 12.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.6269, allocations: 15.97 kB / 0.6599 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.6272, allocations: 106.7 kB / 0.66 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.6287, allocations: 0.7631 MB / 0.6608 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.6287, allocations: 37.84 kB / 0.6608 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.6288, allocations: 68.75 kB / 0.6609 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009851/0.6298, allocations: 0.7337 MB / 0.6616 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.6299, allocations: 0 / 0.6616 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.6299, allocations: 19.44 kB / 0.6616 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.6299, allocations: 8 kB / 0.6616 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005132/0.6305, allocations: 357.8 kB / 0.662 GB, free: 10.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.6328, allocations: 1.387 MB / 0.6633 GB, free: 9.328 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.6341, allocations: 0.82 MB / 0.6641 GB, free: 8.719 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.6344, allocations: 279.5 kB / 0.6644 GB, free: 8.527 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.6345, allocations: 10.66 kB / 0.6644 GB, free: 8.516 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.6345, allocations: 45.31 kB / 0.6645 GB, free: 8.469 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 1.763e-06/0.6345, allocations: 0 / 0.6645 GB, free: 8.469 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.001027/0.6356, allocations: 0.6898 MB / 0.6651 GB, free: 7.922 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002852/0.6359, allocations: 0.6723 MB / 0.6658 GB, free: 7.094 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007793/0.6366, allocations: 0.7221 MB / 0.6665 GB, free: 6.504 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.232e-05/0.6367, allocations: 49.58 kB / 0.6665 GB, free: 6.461 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.637, allocations: 365.9 kB / 0.6669 GB, free: 6.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.6371, allocations: 212.5 kB / 0.6671 GB, free: 6.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.6372, allocations: 19.56 kB / 0.6671 GB, free: 6.062 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.6374, allocations: 423.3 kB / 0.6675 GB, free: 5.684 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/0.6382, allocations: 0.5574 MB / 0.6681 GB, free: 5.301 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000885/0.6391, allocations: 0.794 MB / 0.6688 GB, free: 4.641 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/0.6399, allocations: 0.6628 MB / 0.6695 GB, free: 4.164 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6399, allocations: 0 / 0.6695 GB, free: 4.164 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002728/0.6426, allocations: 1.844 MB / 0.6713 GB, free: 2.336 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6427, allocations: 8 kB / 0.6713 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-05/0.6428, allocations: 27.97 kB / 0.6713 GB, free: 2.301 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.6441, allocations: 0.4978 MB / 0.6718 GB, free: 1.766 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.6446, allocations: 135.9 kB / 0.6719 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.6573, allocations: 16.9 MB / 0.6884 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/0.6581, allocations: 134.4 kB / 0.6886 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/0.6582, allocations: 35.98 kB / 0.6886 GB, free: 14.96 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.0002354/0.6584, allocations: 157 kB / 0.6887 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.6586, allocations: 86.88 kB / 0.6888 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.6589, allocations: 101.2 kB / 0.6889 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.6589, allocations: 8 kB / 0.6889 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6589, allocations: 0 / 0.6889 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.6589, allocations: 3.984 kB / 0.6889 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007412/0.6597, allocations: 0.6379 MB / 0.6896 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6597, allocations: 3.938 kB / 0.6896 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006835/0.6604, allocations: 103.9 kB / 0.6897 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.6604, allocations: 0 / 0.6897 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.6604, allocations: 31.97 kB / 0.6897 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.6605, allocations: 4 kB / 0.6897 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6605, allocations: 4 kB / 0.6897 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.6618, allocations: 1.134 MB / 0.6908 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.662, allocations: 163.8 kB / 0.691 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.655e-05/0.6621, allocations: 31.98 kB / 0.691 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.6624, allocations: 31.97 kB / 0.691 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.6625, allocations: 32.33 kB / 0.6911 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.6625, allocations: 15.98 kB / 0.6911 GB, free: 12.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006124/0.6632, allocations: 0.5271 MB / 0.6916 GB, free: 11.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6632, allocations: 0 / 0.6916 GB, free: 11.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00238/0.6655, allocations: 0.8082 MB / 0.6924 GB, free: 10.98 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 () * 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.001479/0.667, allocations: 0.7517 MB / 0.6931 GB, free: 10.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.6706, allocations: 2.957 MB / 0.696 GB, free: 7.023 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6706, allocations: 4 kB / 0.696 GB, free: 7.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.671, allocations: 318.3 kB / 0.6963 GB, free: 6.711 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.6718, allocations: 192.1 kB / 0.6965 GB, free: 6.531 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.6742, allocations: 1.927 MB / 0.6984 GB, free: 4.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.6749, allocations: 1.106 MB / 0.6994 GB, free: 3.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004154/0.6753, allocations: 157.2 kB / 0.6996 GB, free: 3.273 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.6755, allocations: 51.44 kB / 0.6996 GB, free: 3.223 MB / 490.7 MB Notification: Performance of SimCode: time 8.21e-07/0.6755, allocations: 4 kB / 0.6997 GB, free: 3.219 MB / 490.7 MB Notification: Performance of Templates: time 0.03191/0.7074, allocations: 21.75 MB / 0.7209 GB, free: 13.52 MB / 0.5105 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