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") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009612/0.0009614, allocations: 194.2 kB / 7.805 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.098/1.098, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008078/0.0008079, allocations: 84.75 kB / 261.4 MB, free: 13.55 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.154/0.154, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.252e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.206, allocations: 58.84 MB / 476.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.316, allocations: 99.17 MB / 0.5622 GB, free: 15.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000162/0.3162, allocations: 79.89 kB / 0.5623 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1287/0.4449, allocations: 48.09 MB / 0.6093 GB, free: 15.49 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.458e-05/0.445, allocations: 39.94 kB / 0.6093 GB, free: 15.45 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.002506/0.4475, allocations: 1.211 MB / 0.6105 GB, free: 14.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.4475, allocations: 15.97 kB / 0.6105 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.4477, allocations: 106.7 kB / 0.6106 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.4491, allocations: 0.7723 MB / 0.6114 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.4491, allocations: 15.91 kB / 0.6114 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.4492, allocations: 43.91 kB / 0.6114 GB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005534/0.4498, allocations: 361.4 kB / 0.6118 GB, free: 12.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008038/0.4506, allocations: 0.6921 MB / 0.6125 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4506, allocations: 0 / 0.6125 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.4506, allocations: 7.938 kB / 0.6125 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.4507, allocations: 12 kB / 0.6125 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.4528, allocations: 1.302 MB / 0.6137 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.454, allocations: 0.8102 MB / 0.6145 GB, free: 9.836 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.4544, allocations: 282 kB / 0.6148 GB, free: 9.559 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.4545, allocations: 4.438 kB / 0.6148 GB, free: 9.555 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4545, allocations: 47 kB / 0.6149 GB, free: 9.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 1.663e-06/0.4545, allocations: 0 / 0.6149 GB, free: 9.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.00097/0.4555, allocations: 0.6917 MB / 0.6155 GB, free: 8.797 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/0.4557, allocations: 0.6687 MB / 0.6162 GB, free: 7.969 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/0.4564, allocations: 0.6889 MB / 0.6169 GB, free: 7.258 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.4565, allocations: 29.7 kB / 0.6169 GB, free: 7.223 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.4566, allocations: 241.2 kB / 0.6171 GB, free: 6.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.4568, allocations: 212.9 kB / 0.6173 GB, free: 6.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.4568, allocations: 0 / 0.6173 GB, free: 6.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.457, allocations: 418.7 kB / 0.6177 GB, free: 6.352 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007037/0.4577, allocations: 0.5574 MB / 0.6183 GB, free: 5.793 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008482/0.4585, allocations: 0.7853 MB / 0.619 GB, free: 4.934 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.4596, allocations: 0.6898 MB / 0.6197 GB, free: 4.246 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4596, allocations: 0 / 0.6197 GB, free: 4.246 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002859/0.4625, allocations: 1.911 MB / 0.6216 GB, free: 2.289 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4625, allocations: 4 kB / 0.6216 GB, free: 2.285 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.055e-05/0.4625, allocations: 27.97 kB / 0.6216 GB, free: 2.258 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.4638, allocations: 497.7 kB / 0.6221 GB, free: 1.734 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.4644, allocations: 139.8 kB / 0.6222 GB, free: 1.598 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.4644, allocations: 7.906 kB / 0.6222 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.4649, allocations: 110.5 kB / 0.6223 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.4649, allocations: 35.98 kB / 0.6223 GB, free: 1.445 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.000164/0.4651, allocations: 129.7 kB / 0.6225 GB, free: 1.316 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.4652, allocations: 86.78 kB / 0.6226 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.4654, allocations: 101.2 kB / 0.6227 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4655, allocations: 4 kB / 0.6227 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4655, allocations: 0 / 0.6227 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.4655, allocations: 4 kB / 0.6227 GB, free: 1.121 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.4661, allocations: 0.5681 MB / 0.6232 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4661, allocations: 0 / 0.6232 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/0.4668, allocations: 111.8 kB / 0.6233 GB, free: 412 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4668, allocations: 4 kB / 0.6233 GB, free: 408 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.4669, allocations: 27.97 kB / 0.6234 GB, free: 380 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4669, allocations: 0 / 0.6234 GB, free: 380 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4669, allocations: 7.938 kB / 0.6234 GB, free: 372 kB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001301/0.4682, allocations: 1.133 MB / 0.6245 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.4684, allocations: 155.9 kB / 0.6246 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.4685, allocations: 31.88 kB / 0.6246 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.4688, allocations: 15.98 kB / 0.6247 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.4689, allocations: 28.39 kB / 0.6247 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.469, allocations: 19.98 kB / 0.6247 GB, free: 14.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005242/0.4695, allocations: 491.6 kB / 0.6252 GB, free: 14.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002161/0.4717, allocations: 0.7574 MB / 0.6259 GB, free: 13.7 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.001504/0.4732, allocations: 0.7321 MB / 0.6266 GB, free: 12.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002658/0.4758, allocations: 2.614 MB / 0.6292 GB, free: 10 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.4759, allocations: 8 kB / 0.6292 GB, free: 9.992 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.4763, allocations: 329.4 kB / 0.6295 GB, free: 9.668 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/0.4771, allocations: 163.3 kB / 0.6297 GB, free: 9.508 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.4798, allocations: 1.846 MB / 0.6315 GB, free: 7.613 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008283/0.4807, allocations: 1.151 MB / 0.6326 GB, free: 6.434 MB / 474.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4807, allocations: 0 / 0.6326 GB, free: 6.434 MB / 474.7 MB Notification: Performance of Templates: time 0.1358/0.6165, allocations: 18.1 MB / 0.6503 GB, free: 177.6 MB / 474.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/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_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches