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.001318/0.001318, allocations: 196.5 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008158/0.0008158, allocations: 94.33 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3657/0.3657, allocations: 44.83 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002924, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3423, allocations: 62.96 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.4724, allocations: 102 MB / 0.618 GB, free: 3.254 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.4727, allocations: 75.95 kB / 0.6181 GB, free: 3.184 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1346/0.6074, allocations: 48.92 MB / 0.6659 GB, free: 2.176 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.268e-06/0.6074, allocations: 4 kB / 0.6659 GB, free: 2.172 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000186/0.6076, allocations: 39.94 kB / 0.6659 GB, free: 2.133 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.004079/0.6117, allocations: 1.363 MB / 0.6672 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.6118, allocations: 12.03 kB / 0.6673 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/0.6122, allocations: 107.6 kB / 0.6674 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.614, allocations: 0.7926 MB / 0.6681 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.6141, allocations: 41.36 kB / 0.6682 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.6142, allocations: 76.17 kB / 0.6682 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.6153, allocations: 0.7493 MB / 0.669 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6154, allocations: 192 / 0.669 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.6154, allocations: 19.94 kB / 0.669 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.6155, allocations: 12 kB / 0.669 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.6161, allocations: 379.7 kB / 0.6694 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.6189, allocations: 1.394 MB / 0.6707 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.6204, allocations: 0.8266 MB / 0.6715 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/0.6209, allocations: 294 kB / 0.6718 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.6209, allocations: 8.438 kB / 0.6718 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.621, allocations: 39 kB / 0.6719 GB, free: 11.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.621, allocations: 3.938 kB / 0.6719 GB, free: 11.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.001956/0.6229, allocations: 0.9773 MB / 0.6728 GB, free: 10.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004225/0.6234, allocations: 0.6686 MB / 0.6735 GB, free: 9.926 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.6246, allocations: 0.838 MB / 0.6743 GB, free: 9.062 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.664e-05/0.6247, allocations: 49.7 kB / 0.6743 GB, free: 9.008 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.6251, allocations: 353.3 kB / 0.6747 GB, free: 8.656 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.6253, allocations: 224.9 kB / 0.6749 GB, free: 8.434 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.6253, allocations: 16 kB / 0.6749 GB, free: 8.418 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.6256, allocations: 418.7 kB / 0.6753 GB, free: 8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008518/0.6264, allocations: 0.5689 MB / 0.6759 GB, free: 7.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009922/0.6274, allocations: 0.8105 MB / 0.6767 GB, free: 6.547 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.629, allocations: 1.089 MB / 0.6777 GB, free: 5.449 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.629, allocations: 0 / 0.6777 GB, free: 5.449 MB / 490.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003053/0.632, allocations: 1.878 MB / 0.6796 GB, free: 3.527 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.6321, allocations: 8 kB / 0.6796 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.465e-05/0.6322, allocations: 23.97 kB / 0.6796 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.6335, allocations: 0.49 MB / 0.6801 GB, free: 2.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.6341, allocations: 143.8 kB / 0.6802 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3057/0.9398, allocations: 16.91 MB / 0.6967 GB, free: 99.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008127/0.9407, allocations: 132.7 kB / 0.6968 GB, free: 99.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.765e-05/0.9408, allocations: 42.17 kB / 0.6969 GB, free: 99.16 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 () * 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.0005346/0.9413, allocations: 282 kB / 0.6972 GB, free: 99.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.9415, allocations: 91.23 kB / 0.6972 GB, free: 99.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.9416, allocations: 97.86 kB / 0.6973 GB, free: 99.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.9416, allocations: 6.031 kB / 0.6973 GB, free: 99.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.9416, allocations: 0 / 0.6973 GB, free: 99.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.9416, allocations: 3.188 kB / 0.6973 GB, free: 99.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006571/0.9423, allocations: 0.6341 MB / 0.698 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9423, allocations: 0 / 0.698 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/0.943, allocations: 112.5 kB / 0.6981 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.943, allocations: 2.906 kB / 0.6981 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/0.9431, allocations: 30.41 kB / 0.6981 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9431, allocations: 2.906 kB / 0.6981 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9431, allocations: 0 / 0.6981 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.9444, allocations: 1.171 MB / 0.6992 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.9445, allocations: 155.8 kB / 0.6994 GB, free: 98.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.601e-05/0.9446, allocations: 34.47 kB / 0.6994 GB, free: 98.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.9449, allocations: 35.2 kB / 0.6995 GB, free: 98.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.945, allocations: 33.55 kB / 0.6995 GB, free: 98.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.945, allocations: 15.28 kB / 0.6995 GB, free: 98.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00049/0.9455, allocations: 0.5273 MB / 0.7 GB, free: 98.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.9456, allocations: 3.625 kB / 0.7 GB, free: 98.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002537/0.9481, allocations: 0.8158 MB / 0.7008 GB, free: 98.42 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 () * 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.001544/0.9496, allocations: 0.7483 MB / 0.7016 GB, free: 98.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003366/0.953, allocations: 2.999 MB / 0.7045 GB, free: 96.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.953, allocations: 0 / 0.7045 GB, free: 96.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.9535, allocations: 332.4 kB / 0.7048 GB, free: 96.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009058/0.9544, allocations: 207.3 kB / 0.705 GB, free: 96.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.9572, allocations: 2.515 MB / 0.7075 GB, free: 95.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.9577, allocations: 1.086 MB / 0.7085 GB, free: 94.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000453/0.9582, allocations: 165.8 kB / 0.7087 GB, free: 94.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.9583, allocations: 53.44 kB / 0.7087 GB, free: 94.79 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/0.9583, allocations: 0 / 0.7087 GB, free: 94.79 MB / 490.7 MB Notification: Performance of Templates: time 0.03904/0.9974, allocations: 19.48 MB / 0.7277 GB, free: 94.08 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/jenkins1/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