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.0009022/0.0009022, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 92.09 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.723e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08495/0.08499, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3074/0.3924, allocations: 76.84 MB / 439.9 MB, free: 2.785 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.3927, allocations: 75.52 kB / 440 MB, free: 2.746 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03706/0.4298, allocations: 13.37 MB / 453.4 MB, free: 7.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4299, allocations: 0 / 453.4 MB, free: 7.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.4299, allocations: 16 kB / 453.4 MB, free: 7.746 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.00105/0.431, allocations: 0.9754 MB / 454.4 MB, free: 6.766 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.431, allocations: 8.031 kB / 454.4 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.4311, allocations: 74.95 kB / 454.4 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009377/0.4405, allocations: 3.683 MB / 458.1 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.4405, allocations: 0 / 458.1 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.4406, allocations: 11.95 kB / 458.1 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000659/0.4413, allocations: 0.7009 MB / 458.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.442, allocations: 0.7807 MB / 459.6 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.442, allocations: 4 kB / 459.6 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.442, allocations: 4 kB / 459.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.442, allocations: 0 / 459.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.4423, allocations: 273.3 kB / 459.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.4433, allocations: 1.805 MB / 461.7 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.4445, allocations: 1.796 MB / 463.5 MB, free: 1.148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.4445, allocations: 0 / 463.5 MB, free: 1.148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008899/0.4454, allocations: 1.029 MB / 464.5 MB, free: 104 kB / 330.7 MB Notification: Performance of pre-optimization done (n=225): time 1.263e-06/0.4454, allocations: 0 / 464.5 MB, free: 104 kB / 330.7 MB Notification: Performance of matching and sorting (n=225): time 0.005287/0.4507, allocations: 1.844 MB / 466.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002388/0.4509, allocations: 400.5 kB / 466.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.4511, allocations: 166.5 kB / 466.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.4513, allocations: 145.6 kB / 467.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.4513, allocations: 99.94 kB / 467.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006536/0.452, allocations: 0.9176 MB / 468.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.4521, allocations: 4.031 kB / 468.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4523, allocations: 466.6 kB / 468.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.4535, allocations: 0.9207 MB / 469.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.4557, allocations: 2.48 MB / 471.9 MB, free: 7.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.4577, allocations: 1.404 MB / 473.3 MB, free: 6.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-05/0.4577, allocations: 16 kB / 473.3 MB, free: 6.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.004929/0.4627, allocations: 3.189 MB / 476.5 MB, free: 3.246 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.01e-05/0.4628, allocations: 57.7 kB / 476.6 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-05/0.4628, allocations: 52 kB / 476.6 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.205e-05/0.4629, allocations: 87.95 kB / 476.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.4643, allocations: 0.5222 MB / 477.3 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-05/0.4644, allocations: 111.6 kB / 477.4 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.4656, allocations: 225.1 kB / 477.6 MB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.4658, allocations: 184 kB / 477.8 MB, free: 2.012 MB / 346.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.0006491/0.4664, allocations: 0.5813 MB / 478.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.4666, allocations: 107.1 kB / 478.4 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.4667, allocations: 21.45 kB / 478.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4667, allocations: 3.953 kB / 478.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4667, allocations: 0 / 478.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4667, allocations: 0 / 478.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.4671, allocations: 430.4 kB / 478.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4671, allocations: 0 / 478.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.4671, allocations: 0 / 478.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4671, allocations: 0 / 478.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.561e-05/0.4672, allocations: 47.98 kB / 478.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4672, allocations: 4 kB / 478.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4672, allocations: 0 / 478.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006606/0.4738, allocations: 2.911 MB / 481.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.474, allocations: 175.6 kB / 482 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.4742, allocations: 47.97 kB / 482.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4744, allocations: 32 kB / 482.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.4745, allocations: 28 kB / 482.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-05/0.4746, allocations: 64.02 kB / 482.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.352e-05/0.4747, allocations: 131.5 kB / 482.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4747, allocations: 0 / 482.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001863/0.4766, allocations: 431.9 kB / 482.7 MB, free: 12.93 MB / 362.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.0007641/0.4774, allocations: 360.1 kB / 483.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003836/0.4812, allocations: 2.953 MB / 486 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4812, allocations: 0 / 486 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03874/0.52, allocations: 52.31 MB / 0.5257 GB, free: 5.277 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.5204, allocations: 36.19 kB / 0.5258 GB, free: 5.242 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.5229, allocations: 1.783 MB / 0.5275 GB, free: 3.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.5235, allocations: 0.9949 MB / 0.5285 GB, free: 2.402 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003634/0.5239, allocations: 196.8 kB / 0.5287 GB, free: 2.203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.524, allocations: 67.44 kB / 0.5287 GB, free: 2.137 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.524, allocations: 4 kB / 0.5287 GB, free: 2.133 MB / 410.7 MB Notification: Performance of Templates: time 0.2058/0.7298, allocations: 12.62 MB / 0.5411 GB, free: 141.5 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