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.RealFFT2.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.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.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadModel(Modelica): time 2.109/2.109, allocations: 194.8 MB / 211.7 MB, free: 2.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003577, allocations: 12 kB / 264.5 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1013, allocations: 44.5 MB / 309 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4144/0.5157, allocations: 72.85 MB / 381.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.516, allocations: 76.41 kB / 382 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0598/0.5759, allocations: 13.26 MB / 395.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5759, allocations: 0 / 395.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.576, allocations: 7.719 kB / 395.2 MB, free: 14.12 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001343/0.5773, allocations: 1 MB / 396.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.5774, allocations: 7.844 kB / 396.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.5776, allocations: 66.34 kB / 396.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/0.5928, allocations: 3.728 MB / 400 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.5929, allocations: 7.125 kB / 400 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.5929, allocations: 13.58 kB / 400.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.5941, allocations: 0.7892 MB / 400.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5942, allocations: 3.938 kB / 400.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.5942, allocations: 0 / 400.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.5943, allocations: 4 kB / 400.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009757/0.5952, allocations: 0.7085 MB / 401.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.5958, allocations: 403.4 kB / 402 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.5974, allocations: 1.814 MB / 403.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.5974, allocations: 0 / 403.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.5987, allocations: 1.022 MB / 404.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=225): time 3.998e-06/0.5987, allocations: 4 kB / 404.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=225): time 0.01092/0.6096, allocations: 4.528 MB / 409.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002573/0.6099, allocations: 408.8 kB / 409.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.6102, allocations: 189.1 kB / 409.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002952/0.6105, allocations: 188.7 kB / 410.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.6106, allocations: 105.3 kB / 410.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008941/0.6115, allocations: 0.9219 MB / 411.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.6117, allocations: 73.5 kB / 411.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.612, allocations: 471.5 kB / 411.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/0.6144, allocations: 1.015 MB / 412.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/0.6185, allocations: 2.604 MB / 415.3 MB, free: 7.828 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/0.6221, allocations: 1.538 MB / 416.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.125e-05/0.6222, allocations: 15.66 kB / 416.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.009085/0.6313, allocations: 3.696 MB / 420.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.39e-05/0.6314, allocations: 60.56 kB / 420.6 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.673e-05/0.6315, allocations: 53.5 kB / 420.6 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/0.6316, allocations: 85.94 kB / 420.7 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/0.6344, allocations: 0.5203 MB / 421.2 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000119/0.6346, allocations: 113 kB / 421.3 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.6367, allocations: 302.1 kB / 421.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003711/0.6371, allocations: 179.2 kB / 421.8 MB, free: 6.102 MB / 314.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.001181/0.6383, allocations: 0.7637 MB / 422.6 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.6386, allocations: 108.6 kB / 422.7 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.483e-05/0.6387, allocations: 21.14 kB / 422.7 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6387, allocations: 0 / 422.7 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6387, allocations: 0 / 422.7 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6387, allocations: 0 / 422.7 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.6393, allocations: 0.528 MB / 423.2 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6393, allocations: 3.953 kB / 423.2 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-06/0.6393, allocations: 0 / 423.2 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6393, allocations: 3.875 kB / 423.2 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.6394, allocations: 38.89 kB / 423.3 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.6395, allocations: 3.875 kB / 423.3 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6395, allocations: 0 / 423.3 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02945/0.6689, allocations: 21.79 MB / 445.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.6693, allocations: 179.6 kB / 445.2 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.6695, allocations: 43.98 kB / 445.3 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.67, allocations: 28 kB / 445.3 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.6701, allocations: 27.98 kB / 445.3 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/0.6703, allocations: 67.73 kB / 445.4 MB, free: 4.074 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.6705, allocations: 131.2 kB / 445.5 MB, free: 3.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6705, allocations: 4.031 kB / 445.5 MB, free: 3.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002782/0.6733, allocations: 491.9 kB / 446 MB, free: 3.461 MB / 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: 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.001058/0.6744, allocations: 371.9 kB / 446.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007181/0.6816, allocations: 3.178 MB / 449.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.6817, allocations: 1.875 kB / 449.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05746/0.7392, allocations: 52.37 MB / 0.4902 GB, free: 11.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.7397, allocations: 38.94 kB / 0.4902 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/0.7444, allocations: 2.28 MB / 0.4924 GB, free: 9.211 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008396/0.7453, allocations: 0.9991 MB / 0.4934 GB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000604/0.7459, allocations: 188.9 kB / 0.4936 GB, free: 7.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.7462, allocations: 71.44 kB / 0.4936 GB, free: 7.93 MB / 394.7 MB Notification: Performance of SimCode: time 2.725e-06/0.7462, allocations: 0 / 0.4936 GB, free: 7.93 MB / 394.7 MB Notification: Performance of Templates: time 0.04206/0.7883, allocations: 12.81 MB / 0.5062 GB, free: 11.13 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],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