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.001099/0.001099, allocations: 181.1 kB / 17.01 MB, free: 5.125 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.568/1.568, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.0008231/0.0008233, allocations: 98.59 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 47.56 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4302, allocations: 77.35 MB / 453.2 MB, free: 3.332 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.4305, allocations: 79.95 kB / 453.2 MB, free: 3.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03841/0.469, allocations: 13.5 MB / 466.7 MB, free: 5.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.469, allocations: 0 / 466.7 MB, free: 5.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.469, allocations: 12 kB / 466.7 MB, free: 5.715 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.001099/0.4701, allocations: 0.991 MB / 467.7 MB, free: 4.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4702, allocations: 8.031 kB / 467.7 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.4703, allocations: 67.06 kB / 467.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009699/0.48, allocations: 3.723 MB / 471.5 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.4801, allocations: 12 kB / 471.5 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.4801, allocations: 15.89 kB / 471.6 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008691/0.481, allocations: 0.7825 MB / 472.3 MB, free: 0 / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.481, allocations: 4.047 kB / 472.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.4811, allocations: 4 kB / 472.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4811, allocations: 0 / 472.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007209/0.4818, allocations: 0.7087 MB / 473.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.4822, allocations: 400 kB / 473.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.4836, allocations: 1.809 MB / 475.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.4836, allocations: 3.938 kB / 475.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000963/0.4846, allocations: 1.033 MB / 476.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 1.392e-06/0.4846, allocations: 0 / 476.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.007518/0.4921, allocations: 4.512 MB / 480.8 MB, free: 7.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002742/0.4924, allocations: 404.5 kB / 481.2 MB, free: 7.012 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.4926, allocations: 174.8 kB / 481.4 MB, free: 6.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002089/0.4928, allocations: 189.5 kB / 481.6 MB, free: 6.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.4929, allocations: 103.9 kB / 481.7 MB, free: 6.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008011/0.4937, allocations: 0.9293 MB / 482.6 MB, free: 5.594 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.4938, allocations: 80.03 kB / 482.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.4941, allocations: 462.7 kB / 483.1 MB, free: 5.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.4955, allocations: 1.018 MB / 484.1 MB, free: 4.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.498, allocations: 2.6 MB / 486.7 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/0.5, allocations: 1.524 MB / 488.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.719e-05/0.5, allocations: 16 kB / 488.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005321/0.5053, allocations: 3.709 MB / 492 MB, free: 11.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.5055, allocations: 57.66 kB / 492 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.061e-05/0.5056, allocations: 52 kB / 492.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.789e-05/0.5056, allocations: 84 kB / 492.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.5069, allocations: 0.526 MB / 492.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.335e-05/0.507, allocations: 107.6 kB / 492.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.5083, allocations: 297.1 kB / 493.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.5084, allocations: 176 kB / 493.3 MB, free: 10.12 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.0007966/0.5092, allocations: 0.7771 MB / 494 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.5094, allocations: 107.1 kB / 494.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.5095, allocations: 17.11 kB / 494.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5095, allocations: 4 kB / 494.2 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5095, allocations: 0 / 494.2 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5095, allocations: 0 / 494.2 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.51, allocations: 0.533 MB / 494.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.51, allocations: 0 / 494.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.51, allocations: 0 / 494.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.51, allocations: 0 / 494.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/0.5101, allocations: 40 kB / 494.7 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5101, allocations: 7.953 kB / 494.8 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5101, allocations: 4 kB / 494.8 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2061/0.7162, allocations: 21.76 MB / 0.5044 GB, free: 110.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.7164, allocations: 173.7 kB / 0.5046 GB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.7165, allocations: 45.06 kB / 0.5046 GB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.7167, allocations: 35.98 kB / 0.5047 GB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.7168, allocations: 26.58 kB / 0.5047 GB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.19e-05/0.7169, allocations: 68.58 kB / 0.5047 GB, free: 110.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.526e-05/0.717, allocations: 131.9 kB / 0.5049 GB, free: 110.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.717, allocations: 0.9844 kB / 0.5049 GB, free: 110.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001849/0.7189, allocations: 0.4946 MB / 0.5054 GB, free: 109.7 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.0007069/0.7196, allocations: 372.7 kB / 0.5057 GB, free: 109.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003422/0.723, allocations: 3.184 MB / 0.5088 GB, free: 106.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7231, allocations: 0 / 0.5088 GB, free: 106.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02182/0.7449, allocations: 52.36 MB / 0.56 GB, free: 53.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.7453, allocations: 40.64 kB / 0.56 GB, free: 53.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.7477, allocations: 2.253 MB / 0.5622 GB, free: 51.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.748, allocations: 0.995 MB / 0.5632 GB, free: 50.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003071/0.7484, allocations: 192.9 kB / 0.5634 GB, free: 50.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.7485, allocations: 67.44 kB / 0.5634 GB, free: 50.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7485, allocations: 0 / 0.5634 GB, free: 50.38 MB / 378.7 MB Notification: Performance of Templates: time 0.0187/0.7672, allocations: 12.82 MB / 0.5759 GB, free: 37.64 MB / 378.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