Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,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.|Phii.1.|Phii.2.|Phii.3.|Phii.4.|Phii.5.|Phii.6.|Phii.7.|Phii.8.|Phii.9.|Phii.10.|Phii.11.|Phii.12.|Phii.13.|Phii.14.|Phii.15.|Phii.16.|Phii.17.|Phii.18.|Phii.19.|Phii.20.|Phii.21.|info|y",fileNamePrefix="Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadModel(Modelica): time 2.216/2.216, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000545/0.0005451, allocations: 12 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1087, allocations: 44.51 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5279, allocations: 72.86 MB / 381.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5283, allocations: 80.53 kB / 382 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06078/0.5891, allocations: 13.4 MB / 395.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5892, allocations: 3.969 kB / 395.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.5892, allocations: 7.688 kB / 395.4 MB, free: 14.08 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00139/0.5906, allocations: 1.052 MB / 396.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5906, allocations: 7.781 kB / 396.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.5908, allocations: 73.69 kB / 396.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.6062, allocations: 3.739 MB / 400.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.6063, allocations: 7.281 kB / 400.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.6064, allocations: 11.62 kB / 400.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.6077, allocations: 0.8648 MB / 401.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.6078, allocations: 1.312 kB / 401.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.6078, allocations: 4 kB / 401.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.6079, allocations: 1.281 kB / 401.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.6089, allocations: 0.7802 MB / 401.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.6095, allocations: 417.6 kB / 402.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.6115, allocations: 2.083 MB / 404.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.6115, allocations: 0 / 404.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.6129, allocations: 1.124 MB / 405.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 3.768e-06/0.6129, allocations: 0 / 405.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=246): time 0.01119/0.6241, allocations: 5.091 MB / 410.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002916/0.6245, allocations: 424.5 kB / 411.1 MB, free: 11.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.6248, allocations: 187.7 kB / 411.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003323/0.6251, allocations: 204.7 kB / 411.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.6252, allocations: 103.5 kB / 411.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009385/0.6261, allocations: 0.9766 MB / 412.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.6263, allocations: 80.59 kB / 412.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.6266, allocations: 486 kB / 413.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/0.629, allocations: 1.097 MB / 414.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00355/0.6326, allocations: 2.809 MB / 417 MB, free: 7.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004317/0.637, allocations: 1.65 MB / 418.6 MB, free: 6.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.94e-05/0.6371, allocations: 19.41 kB / 418.6 MB, free: 6.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01026/0.6474, allocations: 4.003 MB / 422.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.6476, allocations: 60.81 kB / 422.7 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.906e-05/0.6477, allocations: 58.12 kB / 422.8 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.6478, allocations: 91.72 kB / 422.8 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003071/0.6509, allocations: 0.5625 MB / 423.4 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001414/0.6511, allocations: 121.4 kB / 423.5 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/0.6535, allocations: 326 kB / 423.8 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003987/0.654, allocations: 200.2 kB / 424 MB, free: 5.512 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 267 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.Phii[21],Phii[21],$PRE.Phii[20],Phii[20],$PRE.Phii[19],Phii[19],$PRE.Phii[18],Phii[18],$PRE.Phii[17],Phii[17],$PRE.Phii[16],Phii[16],$PRE.Phii[15],Phii[15],$PRE.Phii[14],Phii[14],$PRE.Phii[13],Phii[13],$PRE.Phii[12],Phii[12],$PRE.Phii[11],Phii[11],$PRE.Phii[10],Phii[10],$PRE.Phii[9],Phii[9],$PRE.Phii[8],Phii[8],$PRE.Phii[7],Phii[7],$PRE.Phii[6],Phii[6],$PRE.Phii[5],Phii[5],$PRE.Phii[4],Phii[4],$PRE.Phii[3],Phii[3],$PRE.Phii[2],Phii[2],$PRE.Phii[1],Phii[1],$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 (512): * Single equations (assignments): 511 * 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.001361/0.6553, allocations: 0.8537 MB / 424.9 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.6556, allocations: 114.7 kB / 425 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.6557, allocations: 20.94 kB / 425 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6557, allocations: 0 / 425 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6557, allocations: 3.938 kB / 425 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6557, allocations: 0 / 425 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006348/0.6564, allocations: 0.5647 MB / 425.6 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6564, allocations: 3.953 kB / 425.6 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-06/0.6564, allocations: 0 / 425.6 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.6564, allocations: 0 / 425.6 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.6565, allocations: 49.36 kB / 425.6 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.6566, allocations: 4 kB / 425.7 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6566, allocations: 0 / 425.7 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03198/0.6886, allocations: 22.26 MB / 447.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.6889, allocations: 191.5 kB / 448.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/0.6893, allocations: 67.95 kB / 448.2 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.6897, allocations: 32 kB / 448.2 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.6899, allocations: 31.97 kB / 448.2 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/0.6901, allocations: 76.03 kB / 448.3 MB, free: 1.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.6903, allocations: 131.2 kB / 448.4 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6903, allocations: 0 / 448.4 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003118/0.6935, allocations: 0.5226 MB / 449 MB, free: 460 kB / 330.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: 47 ($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],Phii[1],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[9],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[20],Phii[21],info,iTick,y_buf[200]) * Number of discrete states: 47 (Phii[21],Phii[20],Phii[19],Phii[18],Phii[17],Phii[16],Phii[15],Phii[14],Phii[13],Phii[12],Phii[11],Phii[10],Phii[9],Phii[8],Phii[7],Phii[6],Phii[5],Phii[4],Phii[3],Phii[2],Phii[1],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.001201/0.6947, allocations: 395.2 kB / 449.3 MB, free: 108 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007946/0.7027, allocations: 3.442 MB / 452.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.7027, allocations: 0 / 452.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.06736/0.7701, allocations: 59.47 MB / 0.5002 GB, free: 1.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/0.7708, allocations: 40.25 kB / 0.5003 GB, free: 1.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006685/0.7775, allocations: 2.418 MB / 0.5026 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7787, allocations: 1.022 MB / 0.5036 GB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008888/0.7796, allocations: 210 kB / 0.5038 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.78, allocations: 75.42 kB / 0.5039 GB, free: 13.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7801, allocations: 3.938 kB / 0.5039 GB, free: 13.37 MB / 410.7 MB Notification: Performance of Templates: time 0.327/1.107, allocations: 13.74 MB / 0.5173 GB, free: 151 MB / 410.7 MB "" 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],Phii[1],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[9],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[20],Phii[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],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[1],Phii[20],Phii[21],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[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