Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.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) 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(Modelica.Math.FastFourierTransform.Examples.RealFFT2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ai.1.|Ai.2.|Ai.3.|Ai.4.|Ai.5.|Ai.6.|Ai.7.|Ai.8.|Ai.9.|Ai.10.|Ai.11.|Ai.12.|Ai.13.|Ai.14.|Ai.15.|Ai.16.|Ai.17.|Ai.18.|Ai.19.|Ai.20.|Ai.21.|info|y",fileNamePrefix="Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2") translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ai.1.|Ai.2.|Ai.3.|Ai.4.|Ai.5.|Ai.6.|Ai.7.|Ai.8.|Ai.9.|Ai.10.|Ai.11.|Ai.12.|Ai.13.|Ai.14.|Ai.15.|Ai.16.|Ai.17.|Ai.18.|Ai.19.|Ai.20.|Ai.21.|info|y",fileNamePrefix="Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 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: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009042/0.0009042, allocations: 89.45 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000234/0.000234, allocations: 11.94 kB / 351.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1863, allocations: 50.41 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08255/0.2689, allocations: 78.14 MB / 479.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.2691, allocations: 79.95 kB / 479.7 MB, free: 2.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03737/0.3065, allocations: 13.62 MB / 493.3 MB, free: 4.625 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3065, allocations: 0 / 493.3 MB, free: 4.625 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.3065, allocations: 11.94 kB / 493.4 MB, free: 4.613 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.0009459/0.3075, allocations: 0.9977 MB / 494.3 MB, free: 3.559 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3075, allocations: 8.031 kB / 494.4 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.3076, allocations: 71.02 kB / 494.4 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009485/0.3171, allocations: 3.758 MB / 498.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3172, allocations: 8 kB / 498.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.3172, allocations: 12 kB / 498.2 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.318, allocations: 0.7903 MB / 499 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.318, allocations: 0 / 499 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.318, allocations: 0 / 499 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3181, allocations: 7.953 kB / 499 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.3187, allocations: 0.7126 MB / 499.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.319, allocations: 400 kB / 0.4884 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.3203, allocations: 1.805 MB / 0.4901 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.3203, allocations: 0 / 0.4901 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008729/0.3212, allocations: 1.029 MB / 0.4911 GB, free: 10.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=225): time 1.393e-06/0.3212, allocations: 4 kB / 0.4912 GB, free: 10.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=225): time 0.007098/0.3283, allocations: 4.512 MB / 0.4956 GB, free: 6.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002307/0.3286, allocations: 408.5 kB / 0.4959 GB, free: 5.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3287, allocations: 182.1 kB / 0.4961 GB, free: 5.684 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.3289, allocations: 181.6 kB / 0.4963 GB, free: 5.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.329, allocations: 107.9 kB / 0.4964 GB, free: 5.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006014/0.3296, allocations: 0.9216 MB / 0.4973 GB, free: 4.457 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.679e-05/0.3297, allocations: 76 kB / 0.4974 GB, free: 4.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.3299, allocations: 470.7 kB / 0.4978 GB, free: 3.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.3312, allocations: 1.018 MB / 0.4988 GB, free: 2.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1533/0.4846, allocations: 2.596 MB / 0.5013 GB, free: 100.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.4872, allocations: 1.527 MB / 0.5028 GB, free: 100.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-05/0.4873, allocations: 15.38 kB / 0.5029 GB, free: 100.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005378/0.4927, allocations: 3.699 MB / 0.5065 GB, free: 99.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.4927, allocations: 59.09 kB / 0.5065 GB, free: 99.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.807e-05/0.4928, allocations: 60.22 kB / 0.5066 GB, free: 99.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.912e-05/0.4929, allocations: 82.88 kB / 0.5067 GB, free: 99.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.494, allocations: 0.5182 MB / 0.5072 GB, free: 99.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.389e-05/0.4941, allocations: 111.7 kB / 0.5073 GB, free: 99.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.4952, allocations: 302.2 kB / 0.5076 GB, free: 99.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.4953, allocations: 177 kB / 0.5077 GB, free: 99.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 246 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.Ai[21],Ai[21],$PRE.Ai[20],Ai[20],$PRE.Ai[19],Ai[19],$PRE.Ai[18],Ai[18],$PRE.Ai[17],Ai[17],$PRE.Ai[16],Ai[16],$PRE.Ai[15],Ai[15],$PRE.Ai[14],Ai[14],$PRE.Ai[13],Ai[13],$PRE.Ai[12],Ai[12],$PRE.Ai[11],Ai[11],$PRE.Ai[10],Ai[10],$PRE.Ai[9],Ai[9],$PRE.Ai[8],Ai[8],$PRE.Ai[7],Ai[7],$PRE.Ai[6],Ai[6],$PRE.Ai[5],Ai[5],$PRE.Ai[4],Ai[4],$PRE.Ai[3],Ai[3],$PRE.Ai[2],Ai[2],$PRE.Ai[1],Ai[1],$PRE.info,info,$PRE.y_buf[200],y_buf[200],$PRE.y,y,$PRE.iTick,iTick,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (470): * Single equations (assignments): 469 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0006316/0.4959, allocations: 0.7632 MB / 0.5085 GB, free: 99.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.4961, allocations: 109.2 kB / 0.5086 GB, free: 99.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.4961, allocations: 13.16 kB / 0.5086 GB, free: 99.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4961, allocations: 7.875 kB / 0.5086 GB, free: 99.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4961, allocations: 0 / 0.5086 GB, free: 99.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4961, allocations: 1.688 kB / 0.5086 GB, free: 99.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.4965, allocations: 0.5349 MB / 0.5091 GB, free: 98.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4965, allocations: 0 / 0.5091 GB, free: 98.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.4965, allocations: 2.625 kB / 0.5091 GB, free: 98.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4965, allocations: 3.562 kB / 0.5091 GB, free: 98.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/0.4966, allocations: 41.31 kB / 0.5092 GB, free: 98.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4966, allocations: 0 / 0.5092 GB, free: 98.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4966, allocations: 3.938 kB / 0.5092 GB, free: 98.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/0.5118, allocations: 21.78 MB / 0.5304 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.512, allocations: 175 kB / 0.5306 GB, free: 79.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.5122, allocations: 47.98 kB / 0.5307 GB, free: 79.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.5124, allocations: 28 kB / 0.5307 GB, free: 79.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5125, allocations: 27.98 kB / 0.5307 GB, free: 79.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.5127, allocations: 63.98 kB / 0.5308 GB, free: 79.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.887e-05/0.5128, allocations: 127.8 kB / 0.5309 GB, free: 78.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5128, allocations: 0 / 0.5309 GB, free: 78.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001841/0.5146, allocations: 0.4937 MB / 0.5314 GB, free: 78.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,y,Ai[1],Ai[2],Ai[3],Ai[4],Ai[5],Ai[6],Ai[7],Ai[8],Ai[9],Ai[10],Ai[11],Ai[12],Ai[13],Ai[14],Ai[15],Ai[16],Ai[17],Ai[18],Ai[19],Ai[20],Ai[21],info,iTick,y_buf[200]) * Number of discrete states: 26 (Ai[21],Ai[20],Ai[19],Ai[18],Ai[17],Ai[16],Ai[15],Ai[14],Ai[13],Ai[12],Ai[11],Ai[10],Ai[9],Ai[8],Ai[7],Ai[6],Ai[5],Ai[4],Ai[3],Ai[2],Ai[1],info,y_buf[200],y,iTick,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000717/0.5153, allocations: 379.7 kB / 0.5317 GB, free: 78.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.5185, allocations: 3.184 MB / 0.5348 GB, free: 74.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5185, allocations: 448 / 0.5348 GB, free: 74.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0217/0.5402, allocations: 52.37 MB / 0.586 GB, free: 22.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.5406, allocations: 36.14 kB / 0.586 GB, free: 22.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.5429, allocations: 2.254 MB / 0.5882 GB, free: 20.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.5433, allocations: 0.9913 MB / 0.5892 GB, free: 19.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.5436, allocations: 196.6 kB / 0.5894 GB, free: 19.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.5437, allocations: 67.44 kB / 0.5894 GB, free: 18.96 MB / 378.7 MB Notification: Performance of SimCode: time 6.42e-07/0.5437, allocations: 0 / 0.5894 GB, free: 18.96 MB / 378.7 MB Notification: Performance of Templates: time 0.01611/0.5599, allocations: 12.83 MB / 0.602 GB, free: 6.207 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/FastFourierTransform/Examples/RealFFT2/RealFFT2.csv","../files/Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Ai[1],Ai[2],Ai[3],Ai[4],Ai[5],Ai[6],Ai[7],Ai[8],Ai[9],Ai[10],Ai[11],Ai[12],Ai[13],Ai[14],Ai[15],Ai[16],Ai[17],Ai[18],Ai[19],Ai[20],Ai[21],info,y Variables in the result:Ai[10],Ai[11],Ai[12],Ai[13],Ai[14],Ai[15],Ai[16],Ai[17],Ai[18],Ai[19],Ai[1],Ai[20],Ai[21],Ai[2],Ai[3],Ai[4],Ai[5],Ai[6],Ai[7],Ai[8],Ai[9],T,Ts,f1,f2,f_max,f_max_FFT,f_resolution,fi[10],fi[11],fi[12],fi[13],fi[14],fi[15],fi[16],fi[17],fi[18],fi[19],fi[1],fi[20],fi[21],fi[2],fi[3],fi[4],fi[5],fi[6],fi[7],fi[8],fi[9],info,nf,nfi,ns,time,y