Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic") translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003767/0.003767, allocations: 180.3 kB / 7.456 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.313/1.313, allocations: 194.2 MB / 202.1 MB, free: 8.656 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00176/0.00176, allocations: 120.4 kB / 247.1 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1613/0.1613, allocations: 39.94 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.011e-06/6.031e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3226/0.4228, allocations: 94.18 MB / 0.5291 GB, free: 5.562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.4231, allocations: 73.08 kB / 0.5292 GB, free: 5.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1373/0.5604, allocations: 48.07 MB / 0.5761 GB, free: 12.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001746/0.5607, allocations: 35.88 kB / 0.5762 GB, free: 12.78 MB / 394.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.004077/0.5647, allocations: 1.209 MB / 0.5774 GB, free: 11.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.5648, allocations: 8.031 kB / 0.5774 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005905/0.5654, allocations: 106.7 kB / 0.5775 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.5675, allocations: 0.7838 MB / 0.5782 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.5676, allocations: 12 kB / 0.5782 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002582/0.5678, allocations: 47.38 kB / 0.5783 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008025/0.5686, allocations: 364.9 kB / 0.5786 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.5699, allocations: 0.6888 MB / 0.5793 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5699, allocations: 0 / 0.5793 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.57, allocations: 4 kB / 0.5793 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.57, allocations: 12 kB / 0.5793 GB, free: 9.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.5729, allocations: 1.303 MB / 0.5806 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.5744, allocations: 0.8162 MB / 0.5814 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.5748, allocations: 272.7 kB / 0.5816 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.5748, allocations: 12.44 kB / 0.5817 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.5749, allocations: 46.69 kB / 0.5817 GB, free: 7.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 4.368e-06/0.5749, allocations: 0 / 0.5817 GB, free: 7.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.001283/0.5762, allocations: 0.6897 MB / 0.5824 GB, free: 7.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004013/0.5766, allocations: 0.6682 MB / 0.583 GB, free: 6.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.5778, allocations: 0.6909 MB / 0.5837 GB, free: 5.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.5779, allocations: 25.7 kB / 0.5837 GB, free: 5.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.5781, allocations: 237.1 kB / 0.584 GB, free: 5.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.5783, allocations: 216.6 kB / 0.5842 GB, free: 5.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.5784, allocations: 0 / 0.5842 GB, free: 5.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.5786, allocations: 419.1 kB / 0.5846 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000805/0.5794, allocations: 0.5628 MB / 0.5851 GB, free: 4.621 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000977/0.5804, allocations: 0.7895 MB / 0.5859 GB, free: 3.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.5817, allocations: 0.6772 MB / 0.5865 GB, free: 3.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5817, allocations: 0 / 0.5865 GB, free: 3.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003357/0.5851, allocations: 1.927 MB / 0.5884 GB, free: 1.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.5851, allocations: 4 kB / 0.5884 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.318e-05/0.5852, allocations: 23.97 kB / 0.5885 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.5866, allocations: 497.8 kB / 0.5889 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.5872, allocations: 135.9 kB / 0.5891 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.5872, allocations: 4 kB / 0.5891 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.5877, allocations: 114.4 kB / 0.5892 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.5879, allocations: 36 kB / 0.5892 GB, free: 0.668 MB / 394.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.000263/0.5881, allocations: 128.8 kB / 0.5893 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.5883, allocations: 90.78 kB / 0.5894 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.5886, allocations: 93.19 kB / 0.5895 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.5886, allocations: 4 kB / 0.5895 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.5886, allocations: 0 / 0.5895 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5886, allocations: 3.984 kB / 0.5895 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008759/0.5895, allocations: 0.5721 MB / 0.5901 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5895, allocations: 3.906 kB / 0.5901 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.5903, allocations: 95.89 kB / 0.5902 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.5903, allocations: 8 kB / 0.5902 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.51e-05/0.5904, allocations: 31.97 kB / 0.5902 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5904, allocations: 0 / 0.5902 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5904, allocations: 0 / 0.5902 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001563/0.592, allocations: 1.137 MB / 0.5913 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.5922, allocations: 159.8 kB / 0.5915 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.5924, allocations: 19.98 kB / 0.5915 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.5928, allocations: 19.98 kB / 0.5915 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.5929, allocations: 32.3 kB / 0.5915 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.5929, allocations: 15.98 kB / 0.5915 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006668/0.5936, allocations: 495.6 kB / 0.592 GB, free: 13.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002604/0.5962, allocations: 0.7573 MB / 0.5928 GB, free: 12.93 MB / 410.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.0027/0.5989, allocations: 0.7278 MB / 0.5935 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003225/0.6021, allocations: 2.618 MB / 0.596 GB, free: 9.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6022, allocations: 8 kB / 0.596 GB, free: 9.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.6027, allocations: 325.4 kB / 0.5963 GB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6037, allocations: 176.7 kB / 0.5965 GB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.6073, allocations: 1.842 MB / 0.5983 GB, free: 6.844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.6084, allocations: 1.144 MB / 0.5994 GB, free: 5.672 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6084, allocations: 0 / 0.5994 GB, free: 5.672 MB / 410.7 MB Notification: Performance of Templates: time 0.03376/0.6422, allocations: 18.13 MB / 0.6171 GB, free: 3.57 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)