Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.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) 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(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_3.2.3_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_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0007657/0.0007657, allocations: 82.72 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.969e-05, allocations: 4 kB / 322.4 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/0.4307, allocations: 77.26 MB / 447.3 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.431, allocations: 71.22 kB / 447.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03773/0.4687, allocations: 13.46 MB / 460.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4688, allocations: 0 / 460.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.4688, allocations: 8 kB / 460.8 MB, free: 4.078 MB / 330.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.001061/0.4699, allocations: 0.9637 MB / 461.8 MB, free: 3.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4699, allocations: 12.03 kB / 461.8 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.47, allocations: 74.95 kB / 461.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009606/0.4796, allocations: 3.704 MB / 465.6 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.4797, allocations: 4 kB / 465.6 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.4797, allocations: 19.95 kB / 465.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000885/0.4806, allocations: 0.7826 MB / 466.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.4807, allocations: 3.984 kB / 466.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.4807, allocations: 0 / 466.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4807, allocations: 0 / 466.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006875/0.4814, allocations: 0.7087 MB / 467.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.4818, allocations: 396.1 kB / 467.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.4833, allocations: 1.801 MB / 469.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.4848, allocations: 1.801 MB / 471.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.4848, allocations: 7.938 kB / 471.1 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.4858, allocations: 1.021 MB / 472.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of pre-optimization done (n=225): time 2.234e-06/0.4858, allocations: 0 / 472.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=225): time 0.00546/0.4913, allocations: 2.041 MB / 474.1 MB, free: 6.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002496/0.4916, allocations: 404.5 kB / 474.5 MB, free: 6.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4917, allocations: 169.8 kB / 474.7 MB, free: 5.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.4919, allocations: 185.6 kB / 474.9 MB, free: 5.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.492, allocations: 108 kB / 475 MB, free: 5.652 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006802/0.4927, allocations: 0.9254 MB / 475.9 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.4928, allocations: 76 kB / 476 MB, free: 4.641 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.493, allocations: 462.7 kB / 476.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.4944, allocations: 0.991 MB / 477.4 MB, free: 3.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/0.4969, allocations: 2.581 MB / 480 MB, free: 15.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.499, allocations: 1.515 MB / 481.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-05/0.4991, allocations: 19.94 kB / 481.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005249/0.5043, allocations: 3.65 MB / 485.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.72e-05/0.5044, allocations: 61.64 kB / 485.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-05/0.5045, allocations: 56 kB / 485.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.547e-05/0.5046, allocations: 84 kB / 485.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.5059, allocations: 0.5183 MB / 485.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.231e-05/0.506, allocations: 112.1 kB / 486 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.5073, allocations: 301 kB / 486.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.5076, allocations: 188 kB / 486.5 MB, free: 9.336 MB / 362.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 () * 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.0007504/0.5083, allocations: 0.6513 MB / 487.2 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.5085, allocations: 107.1 kB / 487.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.5085, allocations: 17.11 kB / 487.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5085, allocations: 0 / 487.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5086, allocations: 0 / 487.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5086, allocations: 0 / 487.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.509, allocations: 0.5369 MB / 487.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5091, allocations: 0 / 487.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.5091, allocations: 0 / 487.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5091, allocations: 4 kB / 487.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.5092, allocations: 40 kB / 487.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5092, allocations: 3.953 kB / 487.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5092, allocations: 0 / 487.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/0.5304, allocations: 21.75 MB / 0.4977 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.5307, allocations: 179.6 kB / 0.4978 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.5308, allocations: 43.98 kB / 0.4979 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.5311, allocations: 36.02 kB / 0.4979 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.5312, allocations: 31.95 kB / 0.4979 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.5313, allocations: 63.98 kB / 0.498 GB, free: 1.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.5315, allocations: 136.3 kB / 0.4981 GB, free: 1.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5315, allocations: 0 / 0.4981 GB, free: 1.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002281/0.5338, allocations: 496 kB / 0.4986 GB, free: 1.133 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) * 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.0007568/0.5345, allocations: 369.7 kB / 0.499 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004189/0.5387, allocations: 3.145 MB / 0.502 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5388, allocations: 4.125 kB / 0.502 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.272/0.8108, allocations: 52.35 MB / 0.5532 GB, free: 110.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.8113, allocations: 33.23 kB / 0.5532 GB, free: 110.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.8146, allocations: 1.831 MB / 0.555 GB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.8152, allocations: 0.9942 MB / 0.5559 GB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005126/0.8157, allocations: 191.6 kB / 0.5561 GB, free: 108.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.8159, allocations: 67.44 kB / 0.5562 GB, free: 108.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/0.8159, allocations: 4 kB / 0.5562 GB, free: 108.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02235/0.8383, allocations: 12.83 MB / 0.5687 GB, free: 96.2 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/FastFourierTransform/Examples/RealFFT2/RealFFT2.csv","../files/Modelica_3.2.3_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