Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002112/0.002112, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.00107/0.00107, allocations: 82.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2723/0.2723, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.021e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.594, allocations: 99.91 MB / 0.5704 GB, free: 3.992 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5943, allocations: 75.67 kB / 0.5704 GB, free: 3.957 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2304/0.8247, allocations: 48.45 MB / 0.6178 GB, free: 9.668 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.8247, allocations: 0 / 0.6178 GB, free: 9.668 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001349/0.8249, allocations: 39.94 kB / 0.6178 GB, free: 9.629 MB / 426.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.004099/0.829, allocations: 1.214 MB / 0.619 GB, free: 8.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.8291, allocations: 11.97 kB / 0.619 GB, free: 8.418 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/0.8295, allocations: 106.7 kB / 0.6191 GB, free: 8.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.8319, allocations: 0.767 MB / 0.6198 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.8319, allocations: 35.28 kB / 0.6199 GB, free: 7.574 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.8322, allocations: 72.56 kB / 0.6199 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.8338, allocations: 0.7396 MB / 0.6207 GB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.8338, allocations: 0 / 0.6207 GB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.8339, allocations: 22.11 kB / 0.6207 GB, free: 6.809 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.834, allocations: 15.94 kB / 0.6207 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009703/0.8349, allocations: 360.1 kB / 0.621 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.8395, allocations: 1.379 MB / 0.6224 GB, free: 5.379 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.842, allocations: 0.8241 MB / 0.6232 GB, free: 4.762 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006843/0.8427, allocations: 283.1 kB / 0.6235 GB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-05/0.8428, allocations: 6.672 kB / 0.6235 GB, free: 4.562 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.8428, allocations: 45.94 kB / 0.6235 GB, free: 4.516 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.266e-06/0.8428, allocations: 0 / 0.6235 GB, free: 4.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.001942/0.8448, allocations: 0.694 MB / 0.6242 GB, free: 3.965 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003127/0.8451, allocations: 0.6723 MB / 0.6248 GB, free: 3.137 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.8465, allocations: 0.728 MB / 0.6256 GB, free: 2.539 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.8467, allocations: 48.12 kB / 0.6256 GB, free: 2.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.8471, allocations: 374.4 kB / 0.626 GB, free: 2.258 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.8473, allocations: 214.8 kB / 0.6262 GB, free: 2.078 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.8474, allocations: 17.69 kB / 0.6262 GB, free: 2.074 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.8476, allocations: 372.5 kB / 0.6265 GB, free: 1.723 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.8489, allocations: 0.5545 MB / 0.6271 GB, free: 1.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.8505, allocations: 0.79 MB / 0.6279 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.8521, allocations: 0.666 MB / 0.6285 GB, free: 216 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.8521, allocations: 3.938 kB / 0.6285 GB, free: 212 kB / 426.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005013/0.8571, allocations: 1.796 MB / 0.6303 GB, free: 14.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.8572, allocations: 8 kB / 0.6303 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/0.8574, allocations: 19.97 kB / 0.6303 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/0.8599, allocations: 0.4978 MB / 0.6308 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.8611, allocations: 139.8 kB / 0.6309 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/0.8793, allocations: 16.9 MB / 0.6474 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.8804, allocations: 130.4 kB / 0.6475 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.8806, allocations: 39.98 kB / 0.6476 GB, free: 11.08 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): 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.0003003/0.8809, allocations: 159.5 kB / 0.6477 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.8811, allocations: 90.81 kB / 0.6478 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.8814, allocations: 105.2 kB / 0.6479 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/0.8815, allocations: 4 kB / 0.6479 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8815, allocations: 0 / 0.6479 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.8815, allocations: 4 kB / 0.6479 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.8827, allocations: 0.634 MB / 0.6485 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.8827, allocations: 7.922 kB / 0.6485 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.8843, allocations: 107.9 kB / 0.6486 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.8843, allocations: 4 kB / 0.6487 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.8844, allocations: 27.97 kB / 0.6487 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.8844, allocations: 0 / 0.6487 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.8845, allocations: 4 kB / 0.6487 GB, free: 9.887 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.8871, allocations: 1.133 MB / 0.6498 GB, free: 8.738 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.8873, allocations: 159.8 kB / 0.6499 GB, free: 8.562 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.8875, allocations: 31.98 kB / 0.65 GB, free: 8.531 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/0.8882, allocations: 31.97 kB / 0.65 GB, free: 8.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.8884, allocations: 36.38 kB / 0.65 GB, free: 8.465 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/0.8884, allocations: 12 kB / 0.65 GB, free: 8.453 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001084/0.8895, allocations: 0.5232 MB / 0.6506 GB, free: 7.914 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8895, allocations: 0 / 0.6506 GB, free: 7.914 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003343/0.8929, allocations: 0.8003 MB / 0.6513 GB, free: 7.113 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.002688/0.8956, allocations: 0.746 MB / 0.6521 GB, free: 6.363 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006191/0.9018, allocations: 2.965 MB / 0.655 GB, free: 3.156 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.9019, allocations: 4 kB / 0.655 GB, free: 3.152 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008663/0.9028, allocations: 318.3 kB / 0.6553 GB, free: 2.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.9042, allocations: 187.2 kB / 0.6554 GB, free: 2.656 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.9087, allocations: 2.008 MB / 0.6574 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.9098, allocations: 1.098 MB / 0.6585 GB, free: 15.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.9103, allocations: 51.44 kB / 0.6585 GB, free: 15.43 MB / 474.7 MB Notification: Performance of SimCode: time 1.332e-06/0.9103, allocations: 8 kB / 0.6585 GB, free: 15.43 MB / 474.7 MB Notification: Performance of Templates: time 0.08726/0.9976, allocations: 31.12 MB / 0.6889 GB, free: 268 kB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches