Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 225.6 MB / 234.8 MB, free: 3.195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009665/0.0009665, allocations: 102.6 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.144e-05, allocations: 4 kB / 343.7 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 51.47 MB / 395.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3132/0.4153, allocations: 78.21 MB / 473.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.4155, allocations: 75.27 kB / 473.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03272/0.4483, allocations: 13.65 MB / 487.1 MB, free: 3.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4483, allocations: 0 / 487.1 MB, free: 3.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.4484, allocations: 9.688 kB / 487.1 MB, free: 3.613 MB / 346.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.0009027/0.4493, allocations: 0.9729 MB / 488.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4493, allocations: 11.97 kB / 488.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.4495, allocations: 74.97 kB / 488.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008266/0.4578, allocations: 3.712 MB / 491.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.4579, allocations: 4 kB / 491.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.4579, allocations: 4 kB / 491.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007957/0.4587, allocations: 0.7066 MB / 492.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007682/0.4595, allocations: 0.7914 MB / 493.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4596, allocations: 0 / 493.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.4596, allocations: 4 kB / 493.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4596, allocations: 0 / 493.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.46, allocations: 281.3 kB / 493.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.4611, allocations: 1.803 MB / 495.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.4624, allocations: 1.792 MB / 497.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.4625, allocations: 0 / 497.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.4635, allocations: 1.029 MB / 498.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 2.585e-06/0.4635, allocations: 0 / 498.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.005576/0.4691, allocations: 1.848 MB / 0.4884 GB, free: 9.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002999/0.4695, allocations: 404.5 kB / 0.4888 GB, free: 8.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.4697, allocations: 169.7 kB / 0.489 GB, free: 8.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.4699, allocations: 149.6 kB / 0.4891 GB, free: 8.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.47, allocations: 99.98 kB / 0.4892 GB, free: 8.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007969/0.4708, allocations: 0.8982 MB / 0.4901 GB, free: 7.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.4709, allocations: 0 / 0.4901 GB, free: 7.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002663/0.4712, allocations: 477.5 kB / 0.4905 GB, free: 7.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.4727, allocations: 0.9207 MB / 0.4914 GB, free: 6.148 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.4752, allocations: 2.48 MB / 0.4938 GB, free: 2.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.4773, allocations: 1.408 MB / 0.4952 GB, free: 1.512 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.935e-05/0.4773, allocations: 16 kB / 0.4952 GB, free: 1.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005213/0.4826, allocations: 3.181 MB / 0.4983 GB, free: 14.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/0.4827, allocations: 57.69 kB / 0.4984 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.193e-05/0.4828, allocations: 60 kB / 0.4985 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.4829, allocations: 87.95 kB / 0.4985 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.4843, allocations: 0.5222 MB / 0.4991 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.053e-05/0.4844, allocations: 111.6 kB / 0.4992 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.4857, allocations: 221.1 kB / 0.4994 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.4859, allocations: 180 kB / 0.4995 GB, free: 13.07 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 () * 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.0007586/0.4867, allocations: 0.5811 MB / 0.5001 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.4868, allocations: 111.1 kB / 0.5002 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.4869, allocations: 13.47 kB / 0.5002 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4869, allocations: 3.953 kB / 0.5002 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4869, allocations: 4 kB / 0.5002 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4869, allocations: 0 / 0.5002 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.4874, allocations: 434.4 kB / 0.5006 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4874, allocations: 0 / 0.5006 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.4874, allocations: 3.938 kB / 0.5007 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4874, allocations: 0 / 0.5007 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/0.4875, allocations: 43.98 kB / 0.5007 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4875, allocations: 0 / 0.5007 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.4875, allocations: 4 kB / 0.5007 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006806/0.4943, allocations: 2.907 MB / 0.5035 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.4945, allocations: 171.7 kB / 0.5037 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.4947, allocations: 51.97 kB / 0.5037 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.495, allocations: 28 kB / 0.5038 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.4951, allocations: 29.67 kB / 0.5038 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.4952, allocations: 63.98 kB / 0.5039 GB, free: 8.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.4954, allocations: 128.3 kB / 0.504 GB, free: 8.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4954, allocations: 0 / 0.504 GB, free: 8.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001896/0.4973, allocations: 431.9 kB / 0.5044 GB, free: 7.996 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.0008761/0.4981, allocations: 375.1 kB / 0.5048 GB, free: 7.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004236/0.5024, allocations: 2.957 MB / 0.5076 GB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5024, allocations: 5.031 kB / 0.5076 GB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03746/0.5399, allocations: 52.31 MB / 0.5587 GB, free: 404 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.5403, allocations: 38.92 kB / 0.5588 GB, free: 368 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.5429, allocations: 1.767 MB / 0.5605 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.5435, allocations: 0.9978 MB / 0.5615 GB, free: 13.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004421/0.5439, allocations: 196.9 kB / 0.5617 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.5441, allocations: 71.44 kB / 0.5617 GB, free: 13.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5441, allocations: 0 / 0.5617 GB, free: 13.27 MB / 442.7 MB Notification: Performance of Templates: time 0.02132/0.5655, allocations: 12.62 MB / 0.5741 GB, free: 0.6641 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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