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") [: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 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 175.6 kB / 8.517 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 221.4 MB / 230.3 MB, free: 7.68 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.0008805/0.0008806, allocations: 95.16 kB / 281.2 MB, free: 5.496 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.1916/0.1916, allocations: 44.16 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.085e-06, allocations: 0 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1357, allocations: 61.91 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.5167, allocations: 100.2 MB / 0.5919 GB, free: 12.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.517, allocations: 65.59 kB / 0.592 GB, free: 12.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1344/0.6514, allocations: 48.31 MB / 0.6392 GB, free: 12.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.379e-05/0.6515, allocations: 35.88 kB / 0.6392 GB, free: 12.2 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.002947/0.6545, allocations: 1.211 MB / 0.6404 GB, free: 10.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.6545, allocations: 11.97 kB / 0.6404 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.6548, allocations: 110.7 kB / 0.6405 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.6561, allocations: 0.7762 MB / 0.6413 GB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.6562, allocations: 23.83 kB / 0.6413 GB, free: 9.957 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.6563, allocations: 47.91 kB / 0.6413 GB, free: 9.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005941/0.6569, allocations: 353.4 kB / 0.6417 GB, free: 9.566 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009323/0.6578, allocations: 0.708 MB / 0.6424 GB, free: 8.746 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.6579, allocations: 0 / 0.6424 GB, free: 8.746 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.6579, allocations: 0 / 0.6424 GB, free: 8.746 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.6579, allocations: 8 kB / 0.6424 GB, free: 8.738 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.6602, allocations: 1.298 MB / 0.6436 GB, free: 7.402 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.6615, allocations: 0.8172 MB / 0.6444 GB, free: 6.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.6618, allocations: 290 kB / 0.6447 GB, free: 6.281 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.6619, allocations: 4.438 kB / 0.6447 GB, free: 6.277 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.6619, allocations: 42.86 kB / 0.6448 GB, free: 6.227 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 1.603e-06/0.6619, allocations: 4 kB / 0.6448 GB, free: 6.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.001063/0.663, allocations: 0.684 MB / 0.6454 GB, free: 5.535 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002999/0.6633, allocations: 0.6725 MB / 0.6461 GB, free: 4.703 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007588/0.6641, allocations: 0.685 MB / 0.6468 GB, free: 3.996 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.6642, allocations: 29.7 kB / 0.6468 GB, free: 3.961 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.6643, allocations: 241.3 kB / 0.647 GB, free: 3.719 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.6645, allocations: 212.9 kB / 0.6472 GB, free: 3.508 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.6645, allocations: 0 / 0.6472 GB, free: 3.508 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.6647, allocations: 418.7 kB / 0.6476 GB, free: 3.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000738/0.6655, allocations: 0.5613 MB / 0.6482 GB, free: 2.527 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.6665, allocations: 0.7852 MB / 0.6489 GB, free: 1.668 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.6676, allocations: 0.6898 MB / 0.6496 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6676, allocations: 0 / 0.6496 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003051/0.6707, allocations: 1.911 MB / 0.6515 GB, free: 15.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.6707, allocations: 11.98 kB / 0.6515 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-05/0.6708, allocations: 19.98 kB / 0.6515 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.6721, allocations: 493.8 kB / 0.652 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/0.6727, allocations: 147.8 kB / 0.6521 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.6728, allocations: 3.906 kB / 0.6521 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.6732, allocations: 110.4 kB / 0.6522 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.6733, allocations: 35.98 kB / 0.6523 GB, free: 14.18 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.0002019/0.6735, allocations: 128.8 kB / 0.6524 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.6736, allocations: 86.78 kB / 0.6525 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.6739, allocations: 93.19 kB / 0.6526 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.6739, allocations: 8 kB / 0.6526 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.6739, allocations: 0 / 0.6526 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.6739, allocations: 3.984 kB / 0.6526 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007706/0.6747, allocations: 0.5682 MB / 0.6531 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6747, allocations: 3.938 kB / 0.6531 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/0.6755, allocations: 107.9 kB / 0.6532 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6755, allocations: 0 / 0.6532 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.6756, allocations: 31.97 kB / 0.6533 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.6756, allocations: 4 kB / 0.6533 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6756, allocations: 0 / 0.6533 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001404/0.677, allocations: 1.125 MB / 0.6544 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.6771, allocations: 159.8 kB / 0.6545 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.6773, allocations: 35.89 kB / 0.6545 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.6776, allocations: 23.97 kB / 0.6546 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.6777, allocations: 20.39 kB / 0.6546 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.6778, allocations: 16 kB / 0.6546 GB, free: 11.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005964/0.6784, allocations: 499.6 kB / 0.6551 GB, free: 11.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002561/0.6809, allocations: 0.7612 MB / 0.6558 GB, free: 10.43 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.001639/0.6826, allocations: 0.7262 MB / 0.6565 GB, free: 9.699 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.6854, allocations: 2.622 MB / 0.6591 GB, free: 6.727 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6854, allocations: 4 kB / 0.6591 GB, free: 6.723 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.6858, allocations: 329.4 kB / 0.6594 GB, free: 6.402 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.6867, allocations: 160.7 kB / 0.6596 GB, free: 6.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.6895, allocations: 1.848 MB / 0.6614 GB, free: 4.352 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009262/0.6905, allocations: 1.148 MB / 0.6625 GB, free: 3.176 MB / 474.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6905, allocations: 3.938 kB / 0.6625 GB, free: 3.172 MB / 474.7 MB Notification: Performance of Templates: time 0.0332/0.7237, allocations: 18.12 MB / 0.6802 GB, free: 1.105 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