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.001169/0.001168, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008713/0.0008713, allocations: 98.8 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1812/0.1812, allocations: 45.15 MB / 383.7 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.29e-05/1.293e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09567, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.398/0.4937, allocations: 101.3 MB / 0.6033 GB, free: 1.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.494, allocations: 71.34 kB / 0.6034 GB, free: 1.465 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1309/0.6249, allocations: 48.62 MB / 0.6509 GB, free: 7.586 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.6249, allocations: 0 / 0.6509 GB, free: 7.586 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001177/0.6251, allocations: 43.81 kB / 0.6509 GB, free: 7.543 MB / 442.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.003042/0.6281, allocations: 1.224 MB / 0.6521 GB, free: 6.332 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.6282, allocations: 8.031 kB / 0.6521 GB, free: 6.324 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003323/0.6285, allocations: 106.7 kB / 0.6522 GB, free: 6.219 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.6299, allocations: 0.7567 MB / 0.6529 GB, free: 5.508 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.63, allocations: 11.94 kB / 0.653 GB, free: 5.496 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.6301, allocations: 55.3 kB / 0.653 GB, free: 5.445 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000519/0.6306, allocations: 339.5 kB / 0.6533 GB, free: 5.211 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008179/0.6314, allocations: 0.6816 MB / 0.654 GB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.6315, allocations: 4 kB / 0.654 GB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.6315, allocations: 4 kB / 0.654 GB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.6315, allocations: 11.98 kB / 0.654 GB, free: 4.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.6338, allocations: 1.297 MB / 0.6553 GB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.635, allocations: 0.7897 MB / 0.6561 GB, free: 2.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.6353, allocations: 254.7 kB / 0.6563 GB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.6354, allocations: 12.42 kB / 0.6563 GB, free: 2.652 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.6354, allocations: 54.23 kB / 0.6564 GB, free: 2.598 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 1.694e-06/0.6354, allocations: 0 / 0.6564 GB, free: 2.598 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.0009771/0.6364, allocations: 0.6584 MB / 0.657 GB, free: 2.074 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002468/0.6367, allocations: 0.6719 MB / 0.6577 GB, free: 1.246 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007781/0.6375, allocations: 0.6765 MB / 0.6583 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/0.6375, allocations: 29.7 kB / 0.6583 GB, free: 0.668 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.6378, allocations: 352.8 kB / 0.6587 GB, free: 480 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.6379, allocations: 213 kB / 0.6589 GB, free: 292 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.638, allocations: 0 / 0.6589 GB, free: 292 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.6382, allocations: 424.6 kB / 0.6593 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006907/0.6389, allocations: 0.5356 MB / 0.6598 GB, free: 15.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008437/0.6397, allocations: 0.7669 MB / 0.6606 GB, free: 14.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.6408, allocations: 0.6545 MB / 0.6612 GB, free: 14.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6408, allocations: 0 / 0.6612 GB, free: 14.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002767/0.6436, allocations: 1.782 MB / 0.6629 GB, free: 12.51 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.6436, allocations: 8 kB / 0.6629 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-05/0.6437, allocations: 23.97 kB / 0.663 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.6449, allocations: 469.8 kB / 0.6634 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.6454, allocations: 147.8 kB / 0.6636 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6455, allocations: 3.938 kB / 0.6636 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.6459, allocations: 110.5 kB / 0.6637 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/0.646, allocations: 43.98 kB / 0.6637 GB, free: 11.68 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 () * 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.0001667/0.6461, allocations: 122.4 kB / 0.6638 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.6463, allocations: 90.78 kB / 0.6639 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.6465, allocations: 93.19 kB / 0.664 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6465, allocations: 8 kB / 0.664 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6465, allocations: 0 / 0.664 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.6465, allocations: 3.984 kB / 0.664 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.6472, allocations: 0.5643 MB / 0.6646 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.6472, allocations: 7.953 kB / 0.6646 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.6479, allocations: 103.8 kB / 0.6647 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.6479, allocations: 4 kB / 0.6647 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.648, allocations: 27.97 kB / 0.6647 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.648, allocations: 4 kB / 0.6647 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.648, allocations: 4 kB / 0.6647 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.6493, allocations: 1.087 MB / 0.6658 GB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.6494, allocations: 163.7 kB / 0.6659 GB, free: 9.328 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.6495, allocations: 23.97 kB / 0.666 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.6499, allocations: 19.97 kB / 0.666 GB, free: 9.285 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.65, allocations: 32.39 kB / 0.666 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.65, allocations: 15.98 kB / 0.666 GB, free: 9.238 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005209/0.6505, allocations: 499.6 kB / 0.6665 GB, free: 8.738 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6505, allocations: 7.875 kB / 0.6665 GB, free: 8.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002427/0.653, allocations: 0.7612 MB / 0.6672 GB, free: 7.969 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 () * 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.002317/0.6553, allocations: 0.7354 MB / 0.668 GB, free: 7.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00258/0.6579, allocations: 2.572 MB / 0.6705 GB, free: 4.309 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.6579, allocations: 4 kB / 0.6705 GB, free: 4.305 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000418/0.6583, allocations: 313.4 kB / 0.6708 GB, free: 4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009429/0.6593, allocations: 169.6 kB / 0.6709 GB, free: 3.836 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.6623, allocations: 1.873 MB / 0.6728 GB, free: 1.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.663, allocations: 1.102 MB / 0.6738 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004638/0.6635, allocations: 161.2 kB / 0.674 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.6636, allocations: 55.44 kB / 0.6741 GB, free: 0.582 MB / 458.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6636, allocations: 0 / 0.6741 GB, free: 0.582 MB / 458.7 MB Notification: Performance of Templates: time 0.02708/0.6907, allocations: 17.81 MB / 0.6914 GB, free: 14.81 MB / 490.7 MB 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