Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 170.9 kB / 8.145 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 84.39 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2579/0.2579, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.122e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.305, allocations: 58.84 MB / 476.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.4761, allocations: 99.19 MB / 0.5622 GB, free: 15.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.4765, allocations: 71.95 kB / 0.5623 GB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2314/0.7078, allocations: 48.08 MB / 0.6093 GB, free: 15.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001271/0.708, allocations: 35.88 kB / 0.6093 GB, free: 15.59 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.004486/0.7125, allocations: 1.215 MB / 0.6105 GB, free: 14.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.7126, allocations: 8.031 kB / 0.6105 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004966/0.7131, allocations: 106.7 kB / 0.6106 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/0.7158, allocations: 0.7839 MB / 0.6114 GB, free: 13.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.7159, allocations: 15.91 kB / 0.6114 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.7162, allocations: 43.91 kB / 0.6114 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001128/0.7174, allocations: 365.4 kB / 0.6118 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.7191, allocations: 0.696 MB / 0.6124 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.7192, allocations: 0 / 0.6124 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/0.7193, allocations: 4 kB / 0.6124 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.7194, allocations: 8 kB / 0.6125 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005004/0.7244, allocations: 1.306 MB / 0.6137 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.7273, allocations: 0.8179 MB / 0.6145 GB, free: 9.953 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008042/0.7281, allocations: 282 kB / 0.6148 GB, free: 9.676 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.7282, allocations: 8.438 kB / 0.6148 GB, free: 9.668 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.7283, allocations: 39 kB / 0.6148 GB, free: 9.621 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 4.278e-06/0.7283, allocations: 0 / 0.6148 GB, free: 9.621 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.002238/0.7305, allocations: 0.6956 MB / 0.6155 GB, free: 8.914 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003378/0.7309, allocations: 0.6648 MB / 0.6162 GB, free: 8.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.7326, allocations: 0.6928 MB / 0.6168 GB, free: 7.371 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002835/0.7329, allocations: 25.7 kB / 0.6169 GB, free: 7.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.7331, allocations: 255.7 kB / 0.6171 GB, free: 7.086 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/0.7335, allocations: 212.9 kB / 0.6173 GB, free: 6.875 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.7336, allocations: 0 / 0.6173 GB, free: 6.875 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.7338, allocations: 362.8 kB / 0.6177 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.7354, allocations: 0.5652 MB / 0.6182 GB, free: 5.945 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/0.7372, allocations: 0.7853 MB / 0.619 GB, free: 5.086 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.7395, allocations: 0.6781 MB / 0.6196 GB, free: 4.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.7395, allocations: 4 kB / 0.6196 GB, free: 4.406 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005932/0.7455, allocations: 1.869 MB / 0.6215 GB, free: 2.492 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.7456, allocations: 4 kB / 0.6215 GB, free: 2.488 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/0.7457, allocations: 23.97 kB / 0.6215 GB, free: 2.465 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/0.748, allocations: 0.4978 MB / 0.622 GB, free: 1.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.7494, allocations: 139.9 kB / 0.6221 GB, free: 1.793 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.7494, allocations: 11.89 kB / 0.6221 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/0.7502, allocations: 74.95 kB / 0.6222 GB, free: 1.707 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.7504, allocations: 35.98 kB / 0.6222 GB, free: 1.672 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): 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.0003072/0.7507, allocations: 54.92 kB / 0.6223 GB, free: 1.613 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.751, allocations: 82.88 kB / 0.6224 GB, free: 1.531 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.7514, allocations: 101.1 kB / 0.6225 GB, free: 1.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.7514, allocations: 8 kB / 0.6225 GB, free: 1.422 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.7514, allocations: 0 / 0.6225 GB, free: 1.422 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.7515, allocations: 3.984 kB / 0.6225 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.7527, allocations: 0.6067 MB / 0.6231 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.7527, allocations: 0 / 0.6231 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.7544, allocations: 107.8 kB / 0.6232 GB, free: 0.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.7544, allocations: 4 kB / 0.6232 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.7546, allocations: 23.98 kB / 0.6232 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.7546, allocations: 0 / 0.6232 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.7546, allocations: 3.984 kB / 0.6232 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002623/0.7572, allocations: 1.137 MB / 0.6243 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.7575, allocations: 175.6 kB / 0.6245 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.7577, allocations: 23.98 kB / 0.6245 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/0.7584, allocations: 23.88 kB / 0.6245 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.7586, allocations: 28.39 kB / 0.6246 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.749e-05/0.7587, allocations: 16 kB / 0.6246 GB, free: 15.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001034/0.7597, allocations: 495.6 kB / 0.625 GB, free: 14.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003444/0.7632, allocations: 0.7574 MB / 0.6258 GB, free: 13.95 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.002864/0.7661, allocations: 0.7157 MB / 0.6265 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005031/0.7712, allocations: 2.622 MB / 0.629 GB, free: 10.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.7712, allocations: 0 / 0.629 GB, free: 10.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009764/0.7722, allocations: 333.4 kB / 0.6294 GB, free: 9.934 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.7738, allocations: 170.6 kB / 0.6295 GB, free: 9.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007739/0.7816, allocations: 1.926 MB / 0.6314 GB, free: 7.789 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002745/0.7844, allocations: 1.155 MB / 0.6325 GB, free: 6.605 MB / 474.7 MB Notification: Performance of SimCode: time 2.535e-06/0.7844, allocations: 0 / 0.6325 GB, free: 6.605 MB / 474.7 MB Notification: Performance of Templates: time 0.1977/0.9822, allocations: 31.39 MB / 0.6632 GB, free: 178.9 MB / 474.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/jenkins/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