Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 93.91 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2809/0.2809, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.45e-05/1.453e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.6023, allocations: 100.3 MB / 0.5926 GB, free: 12.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.6026, allocations: 75.95 kB / 0.5927 GB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.132/0.7346, allocations: 48.48 MB / 0.64 GB, free: 11.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7346, allocations: 0 / 0.64 GB, free: 11.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.603e-05/0.7347, allocations: 39.88 kB / 0.64 GB, free: 11.58 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.002772/0.7375, allocations: 1.218 MB / 0.6412 GB, free: 10.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.7375, allocations: 11.98 kB / 0.6412 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.7377, allocations: 110.6 kB / 0.6414 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.7391, allocations: 0.7723 MB / 0.6421 GB, free: 9.371 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.7391, allocations: 12 kB / 0.6421 GB, free: 9.359 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.7392, allocations: 47.81 kB / 0.6422 GB, free: 9.312 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000571/0.7398, allocations: 341.4 kB / 0.6425 GB, free: 8.977 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.7407, allocations: 0.6847 MB / 0.6432 GB, free: 8.184 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.7407, allocations: 0 / 0.6432 GB, free: 8.184 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.7407, allocations: 0 / 0.6432 GB, free: 8.184 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.7407, allocations: 8 kB / 0.6432 GB, free: 8.176 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.743, allocations: 1.291 MB / 0.6444 GB, free: 6.844 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.7443, allocations: 0.7964 MB / 0.6452 GB, free: 6.031 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.7447, allocations: 266.2 kB / 0.6455 GB, free: 5.766 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.7447, allocations: 8.391 kB / 0.6455 GB, free: 5.758 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.7447, allocations: 43 kB / 0.6455 GB, free: 5.707 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 1.693e-06/0.7447, allocations: 0 / 0.6455 GB, free: 5.707 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.0009607/0.7457, allocations: 0.6615 MB / 0.6462 GB, free: 5.043 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002686/0.746, allocations: 0.6687 MB / 0.6468 GB, free: 4.215 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000755/0.7468, allocations: 0.6888 MB / 0.6475 GB, free: 3.504 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.7468, allocations: 29.64 kB / 0.6475 GB, free: 3.469 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.7471, allocations: 357.3 kB / 0.6478 GB, free: 3.113 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.7473, allocations: 208.9 kB / 0.648 GB, free: 2.906 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.7473, allocations: 0 / 0.648 GB, free: 2.906 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.7475, allocations: 414.7 kB / 0.6484 GB, free: 2.492 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006925/0.7482, allocations: 0.5421 MB / 0.649 GB, free: 1.949 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008378/0.7491, allocations: 0.7628 MB / 0.6497 GB, free: 1.113 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.7501, allocations: 0.6544 MB / 0.6504 GB, free: 472 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.7501, allocations: 4 kB / 0.6504 GB, free: 468 kB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002801/0.7529, allocations: 1.782 MB / 0.6521 GB, free: 14.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.7529, allocations: 7.953 kB / 0.6521 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.968e-05/0.753, allocations: 23.97 kB / 0.6521 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.7542, allocations: 477.8 kB / 0.6526 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.7548, allocations: 139.8 kB / 0.6527 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7548, allocations: 4 kB / 0.6527 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.7552, allocations: 114.4 kB / 0.6528 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.7553, allocations: 35.98 kB / 0.6529 GB, free: 13.8 MB / 474.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.0001756/0.7555, allocations: 126 kB / 0.653 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.7556, allocations: 86.78 kB / 0.6531 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.7558, allocations: 101.1 kB / 0.6532 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.7559, allocations: 7.984 kB / 0.6532 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7559, allocations: 3.938 kB / 0.6532 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.7559, allocations: 8 kB / 0.6532 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/0.7565, allocations: 0.5566 MB / 0.6537 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.7566, allocations: 0 / 0.6537 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006985/0.7573, allocations: 111.8 kB / 0.6538 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.7573, allocations: 0 / 0.6538 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.7573, allocations: 27.98 kB / 0.6539 GB, free: 12.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.7574, allocations: 7.984 kB / 0.6539 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/0.7574, allocations: 3.953 kB / 0.6539 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.7587, allocations: 1.087 MB / 0.6549 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.7588, allocations: 159.8 kB / 0.6551 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.7589, allocations: 19.98 kB / 0.6551 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.7593, allocations: 19.97 kB / 0.6551 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.7593, allocations: 36.34 kB / 0.6552 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.7594, allocations: 19.98 kB / 0.6552 GB, free: 11.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005376/0.7599, allocations: 487.6 kB / 0.6556 GB, free: 10.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7599, allocations: 0 / 0.6556 GB, free: 10.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002142/0.7621, allocations: 0.7611 MB / 0.6564 GB, free: 10.1 MB / 474.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.001417/0.7635, allocations: 0.7279 MB / 0.6571 GB, free: 9.367 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002515/0.766, allocations: 2.572 MB / 0.6596 GB, free: 6.453 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.7661, allocations: 4 kB / 0.6596 GB, free: 6.449 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.7665, allocations: 313.4 kB / 0.6599 GB, free: 6.145 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008079/0.7673, allocations: 168.6 kB / 0.6601 GB, free: 5.977 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.7699, allocations: 1.877 MB / 0.6619 GB, free: 4.062 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.7706, allocations: 1.09 MB / 0.663 GB, free: 2.941 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004204/0.771, allocations: 169.2 kB / 0.6631 GB, free: 2.773 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.7712, allocations: 51.44 kB / 0.6632 GB, free: 2.723 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/0.7712, allocations: 0 / 0.6632 GB, free: 2.723 MB / 474.7 MB Notification: Performance of Templates: time 0.03093/0.8021, allocations: 17.74 MB / 0.6805 GB, free: 1.039 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches