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.0009121/0.0009121, allocations: 175.9 kB / 16.76 MB, free: 4.91 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.47/1.47, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0009514/0.0009515, allocations: 85.5 kB / 271.3 MB, free: 8.262 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.4008/0.4008, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004094, allocations: 12 kB / 432.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1275, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/0.517, allocations: 100.1 MB / 0.5777 GB, free: 1.863 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.5174, allocations: 74.95 kB / 0.5778 GB, free: 1.793 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1302/0.6476, allocations: 48.57 MB / 0.6252 GB, free: 1.219 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6477, allocations: 3.938 kB / 0.6252 GB, free: 1.215 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.057e-05/0.6478, allocations: 35.94 kB / 0.6253 GB, free: 1.18 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.003489/0.6513, allocations: 1.363 MB / 0.6266 GB, free: 15.76 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.6513, allocations: 8.031 kB / 0.6266 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.6515, allocations: 111.6 kB / 0.6267 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.6529, allocations: 0.7963 MB / 0.6275 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.653, allocations: 41.36 kB / 0.6275 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.6531, allocations: 80.17 kB / 0.6276 GB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6542, allocations: 0.7442 MB / 0.6283 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.6542, allocations: 192 / 0.6283 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/0.6543, allocations: 23.94 kB / 0.6284 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.6543, allocations: 8 kB / 0.6284 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005997/0.6549, allocations: 375.7 kB / 0.6287 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.6574, allocations: 1.39 MB / 0.6301 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.6588, allocations: 0.8351 MB / 0.6309 GB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.6592, allocations: 298 kB / 0.6312 GB, free: 10.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.6593, allocations: 8.438 kB / 0.6312 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.6593, allocations: 46.94 kB / 0.6312 GB, free: 10.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 1.903e-06/0.6593, allocations: 0 / 0.6312 GB, free: 10.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.001594/0.6609, allocations: 0.9695 MB / 0.6322 GB, free: 9.797 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004189/0.6613, allocations: 0.6802 MB / 0.6328 GB, free: 8.957 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009397/0.6623, allocations: 0.838 MB / 0.6337 GB, free: 8.094 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/0.6624, allocations: 45.7 kB / 0.6337 GB, free: 8.043 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.6626, allocations: 357.3 kB / 0.634 GB, free: 7.688 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.6628, allocations: 216.9 kB / 0.6343 GB, free: 7.473 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.6629, allocations: 16 kB / 0.6343 GB, free: 7.457 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.6631, allocations: 415.5 kB / 0.6347 GB, free: 7.043 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008197/0.6639, allocations: 0.5768 MB / 0.6352 GB, free: 6.465 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009829/0.6649, allocations: 0.8066 MB / 0.636 GB, free: 5.586 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.6665, allocations: 1.091 MB / 0.6371 GB, free: 4.496 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.6665, allocations: 0 / 0.6371 GB, free: 4.496 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003151/0.6697, allocations: 1.87 MB / 0.6389 GB, free: 2.578 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.6697, allocations: 4 kB / 0.6389 GB, free: 2.574 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.632e-05/0.6698, allocations: 27.97 kB / 0.6389 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.6712, allocations: 0.5017 MB / 0.6394 GB, free: 2.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/0.6717, allocations: 139.8 kB / 0.6396 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.6846, allocations: 16.92 MB / 0.6561 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008741/0.6855, allocations: 134.5 kB / 0.6562 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.6856, allocations: 39.98 kB / 0.6562 GB, free: 15.18 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.0006225/0.6863, allocations: 289.7 kB / 0.6565 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.6864, allocations: 90.78 kB / 0.6566 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.6866, allocations: 101.4 kB / 0.6567 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6866, allocations: 8 kB / 0.6567 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.6866, allocations: 0 / 0.6567 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.6866, allocations: 3.984 kB / 0.6567 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.6874, allocations: 0.6379 MB / 0.6573 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.6874, allocations: 0 / 0.6573 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006909/0.6881, allocations: 111.8 kB / 0.6574 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6881, allocations: 0 / 0.6574 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.65e-05/0.6882, allocations: 31.97 kB / 0.6575 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6882, allocations: 0 / 0.6575 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6882, allocations: 0 / 0.6575 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.6898, allocations: 1.171 MB / 0.6586 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.6899, allocations: 159.8 kB / 0.6588 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.69, allocations: 35.97 kB / 0.6588 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.6904, allocations: 31.97 kB / 0.6588 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.6904, allocations: 36.39 kB / 0.6589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.6905, allocations: 15.94 kB / 0.6589 GB, free: 12.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006268/0.6911, allocations: 0.5307 MB / 0.6594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6911, allocations: 4 kB / 0.6594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00274/0.6939, allocations: 0.8003 MB / 0.6602 GB, free: 11.04 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.001778/0.6957, allocations: 0.7337 MB / 0.6609 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003998/0.6997, allocations: 2.993 MB / 0.6638 GB, free: 7.059 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6997, allocations: 0 / 0.6638 GB, free: 7.059 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.7002, allocations: 334.2 kB / 0.6642 GB, free: 6.734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.7012, allocations: 200.5 kB / 0.6643 GB, free: 6.539 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.7044, allocations: 2.527 MB / 0.6668 GB, free: 3.984 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/0.7051, allocations: 1.083 MB / 0.6679 GB, free: 2.871 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004548/0.7056, allocations: 165.2 kB / 0.668 GB, free: 2.707 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.7057, allocations: 55.38 kB / 0.6681 GB, free: 2.652 MB / 490.7 MB Notification: Performance of SimCode: time 4.2e-07/0.7057, allocations: 0 / 0.6681 GB, free: 2.652 MB / 490.7 MB Notification: Performance of Templates: time 0.2595/0.9653, allocations: 19.38 MB / 0.687 GB, free: 114.3 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/jenkins1/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