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.001544/0.001544, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 105.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2891/0.2891, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/1.995e-05, allocations: 0 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4201, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.606, allocations: 99.26 MB / 0.5628 GB, free: 32 kB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.6063, allocations: 67.97 kB / 0.5629 GB, free: 15.96 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2426/0.849, allocations: 48.28 MB / 0.61 GB, free: 15.61 MB / 459.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.849, allocations: 0 / 0.61 GB, free: 15.61 MB / 459.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.8492, allocations: 39.88 kB / 0.6101 GB, free: 15.57 MB / 459.1 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.004861/0.854, allocations: 1.215 MB / 0.6113 GB, free: 14.31 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.8541, allocations: 8.031 kB / 0.6113 GB, free: 14.3 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006596/0.8548, allocations: 106.7 kB / 0.6114 GB, free: 14.2 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.8576, allocations: 0.7606 MB / 0.6121 GB, free: 13.38 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.8577, allocations: 16 kB / 0.6121 GB, free: 13.37 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.858, allocations: 51.8 kB / 0.6122 GB, free: 13.32 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001022/0.8591, allocations: 341.3 kB / 0.6125 GB, free: 12.98 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.8606, allocations: 0.6803 MB / 0.6132 GB, free: 12.19 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.8606, allocations: 0 / 0.6132 GB, free: 12.19 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.8607, allocations: 4 kB / 0.6132 GB, free: 12.19 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.8607, allocations: 8 kB / 0.6132 GB, free: 12.18 MB / 459.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004797/0.8655, allocations: 1.295 MB / 0.6144 GB, free: 10.85 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.868, allocations: 0.7829 MB / 0.6152 GB, free: 10.05 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000661/0.8687, allocations: 266 kB / 0.6155 GB, free: 9.785 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.717e-05/0.8688, allocations: 8.438 kB / 0.6155 GB, free: 9.777 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.8689, allocations: 45.23 kB / 0.6155 GB, free: 9.727 MB / 459.1 MB Notification: Performance of pre-optimization done (n=53): time 4.047e-06/0.8689, allocations: 0 / 0.6155 GB, free: 9.727 MB / 459.1 MB Notification: Performance of matching and sorting (n=53): time 0.001976/0.8709, allocations: 0.6653 MB / 0.6162 GB, free: 9.051 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003903/0.8713, allocations: 0.6724 MB / 0.6168 GB, free: 8.219 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.8728, allocations: 0.6811 MB / 0.6175 GB, free: 7.516 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002691/0.8731, allocations: 25.7 kB / 0.6175 GB, free: 7.484 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.8735, allocations: 371.8 kB / 0.6179 GB, free: 7.117 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.8738, allocations: 212.9 kB / 0.6181 GB, free: 6.906 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.8739, allocations: 0 / 0.6181 GB, free: 6.906 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.8741, allocations: 362.8 kB / 0.6184 GB, free: 6.543 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.8755, allocations: 0.5382 MB / 0.6189 GB, free: 6.004 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.8772, allocations: 0.7628 MB / 0.6197 GB, free: 5.168 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.8792, allocations: 0.6557 MB / 0.6203 GB, free: 4.516 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.8793, allocations: 3.938 kB / 0.6203 GB, free: 4.512 MB / 459.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00533/0.8846, allocations: 1.74 MB / 0.622 GB, free: 2.727 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.8847, allocations: 4 kB / 0.622 GB, free: 2.723 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/0.8848, allocations: 23.97 kB / 0.6221 GB, free: 2.699 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/0.8873, allocations: 473.8 kB / 0.6225 GB, free: 2.199 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.8885, allocations: 143.8 kB / 0.6226 GB, free: 2.059 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.8886, allocations: 7.984 kB / 0.6227 GB, free: 2.051 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009492/0.8895, allocations: 106.5 kB / 0.6228 GB, free: 1.945 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.8897, allocations: 35.98 kB / 0.6228 GB, free: 1.91 MB / 459.1 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.0002918/0.89, allocations: 131.8 kB / 0.6229 GB, free: 1.777 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.8902, allocations: 90.77 kB / 0.623 GB, free: 1.688 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.8906, allocations: 101.2 kB / 0.6231 GB, free: 1.586 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.8906, allocations: 4 kB / 0.6231 GB, free: 1.582 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.8906, allocations: 0 / 0.6231 GB, free: 1.582 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.8906, allocations: 0 / 0.6231 GB, free: 1.582 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.8919, allocations: 0.5682 MB / 0.6237 GB, free: 0.9766 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.892, allocations: 3.953 kB / 0.6237 GB, free: 0.9727 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/0.8938, allocations: 115.8 kB / 0.6238 GB, free: 0.8594 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/0.8939, allocations: 3.938 kB / 0.6238 GB, free: 0.8555 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.894, allocations: 31.91 kB / 0.6238 GB, free: 0.8242 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/0.8941, allocations: 4 kB / 0.6238 GB, free: 0.8203 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8941, allocations: 0 / 0.6238 GB, free: 0.8203 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/0.8966, allocations: 1.083 MB / 0.6249 GB, free: 15.72 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.8969, allocations: 167.7 kB / 0.625 GB, free: 15.54 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.8972, allocations: 19.98 kB / 0.625 GB, free: 15.52 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007113/0.8979, allocations: 23.97 kB / 0.6251 GB, free: 15.49 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.898, allocations: 36.38 kB / 0.6251 GB, free: 15.46 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.123e-05/0.8981, allocations: 16 kB / 0.6251 GB, free: 15.44 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.8991, allocations: 483.6 kB / 0.6256 GB, free: 14.96 MB / 475.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8992, allocations: 0 / 0.6256 GB, free: 14.96 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.003442/0.9026, allocations: 0.7612 MB / 0.6263 GB, free: 14.2 MB / 475.1 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.003109/0.9058, allocations: 0.7205 MB / 0.627 GB, free: 13.47 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.004889/0.9107, allocations: 2.576 MB / 0.6295 GB, free: 10.55 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.9108, allocations: 0 / 0.6295 GB, free: 10.55 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008722/0.9116, allocations: 309.5 kB / 0.6298 GB, free: 10.25 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.9132, allocations: 182.7 kB / 0.63 GB, free: 10.07 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.918, allocations: 1.945 MB / 0.6319 GB, free: 8.082 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.9191, allocations: 1.102 MB / 0.633 GB, free: 6.949 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.9195, allocations: 55.44 kB / 0.633 GB, free: 6.895 MB / 475.1 MB Notification: Performance of SimCode: time 1.233e-06/0.9195, allocations: 0 / 0.633 GB, free: 6.895 MB / 475.1 MB Notification: Performance of Templates: time 0.3804/1.3, allocations: 31.03 MB / 0.6633 GB, free: 122.5 MB / 475.1 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