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 1.85/1.85, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.1003, allocations: 44.5 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.002065/0.1025, allocations: 1.001 MB / 310.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.1054, allocations: 0.9445 MB / 311 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.1055, allocations: 3.938 kB / 311 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.106, allocations: 71.8 kB / 311.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.251e-05/0.1061, allocations: 11.98 kB / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.107, allocations: 167.5 kB / 311.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1073, allocations: 75.83 kB / 311.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.1073, allocations: 7.984 kB / 311.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1075, allocations: 47.91 kB / 311.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1077, allocations: 39.83 kB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.1077, allocations: 4 kB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006451/0.1084, allocations: 187.7 kB / 311.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.1087, allocations: 191.4 kB / 311.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.1089, allocations: 105.3 kB / 311.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007536/0.1096, allocations: 363.3 kB / 312.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1097, allocations: 0 / 312.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1097, allocations: 0 / 312.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1097, allocations: 4 kB / 312.3 MB, free: 13.14 MB / 266.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.001579/0.1113, allocations: 0.9868 MB / 313.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.1114, allocations: 8.031 kB / 313.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.1115, allocations: 67.06 kB / 313.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.1119, allocations: 262 kB / 313.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.112, allocations: 4 kB / 313.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.1121, allocations: 12 kB / 313.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.1135, allocations: 0.8373 MB / 314.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1135, allocations: 0 / 314.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1136, allocations: 0 / 314.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1136, allocations: 0 / 314.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.1149, allocations: 0.7751 MB / 315.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.1154, allocations: 376.2 kB / 315.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.1181, allocations: 1.887 MB / 317.5 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.1181, allocations: 0 / 317.5 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001741/0.1199, allocations: 1.072 MB / 318.5 MB, free: 6.688 MB / 266.7 MB Notification: Performance of pre-optimization done (n=225): time 2.735e-06/0.1199, allocations: 3.938 kB / 318.5 MB, free: 6.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=225): time 0.009116/0.129, allocations: 4.676 MB / 323.2 MB, free: 1.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004801/0.1296, allocations: 400.5 kB / 323.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.1299, allocations: 198.5 kB / 323.8 MB, free: 1.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004872/0.1304, allocations: 185.6 kB / 324 MB, free: 1.172 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.1305, allocations: 99.98 kB / 324.1 MB, free: 1.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001257/0.1318, allocations: 0.9255 MB / 325 MB, free: 136 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.132, allocations: 72 kB / 325.1 MB, free: 64 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003909/0.1325, allocations: 466.7 kB / 325.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003449/0.1359, allocations: 1.022 MB / 326.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00516/0.1411, allocations: 2.604 MB / 329.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00486/0.146, allocations: 1.524 MB / 330.7 MB, free: 9.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-05/0.1461, allocations: 16 kB / 330.7 MB, free: 9.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01162/0.1577, allocations: 3.701 MB / 334.4 MB, free: 5.949 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.158e-05/0.1578, allocations: 57.7 kB / 334.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.76e-05/0.1579, allocations: 56 kB / 334.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.158, allocations: 84.75 kB / 334.6 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/0.1606, allocations: 0.5222 MB / 335.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001327/0.1607, allocations: 111.6 kB / 335.2 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.1624, allocations: 305 kB / 335.5 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/0.1627, allocations: 180 kB / 335.7 MB, free: 4.641 MB / 282.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.001198/0.1639, allocations: 0.7653 MB / 336.5 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.1641, allocations: 103.1 kB / 336.6 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.1641, allocations: 17.16 kB / 336.6 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1642, allocations: 0 / 336.6 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1642, allocations: 3.938 kB / 336.6 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.1643, allocations: 179.6 kB / 336.7 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.1645, allocations: 51.92 kB / 336.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.1649, allocations: 32 kB / 336.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.1651, allocations: 27.98 kB / 336.9 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2759/0.441, allocations: 40.6 MB / 377.5 MB, free: 64.93 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02002/0.4611, allocations: 21.97 MB / 399.4 MB, free: 47.69 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02161/0.4827, allocations: 33.5 MB / 432.9 MB, free: 14.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.4829, allocations: 129.4 kB / 433.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of Backend: time 7.62e-07/0.4829, allocations: 0 / 433.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004931/0.4879, allocations: 2.111 MB / 435.2 MB, free: 12.06 MB / 314.7 MB Notification: Performance of SimCode: time 0.02015/0.5081, allocations: 20.69 MB / 455.9 MB, free: 7.309 MB / 330.7 MB Notification: Performance of Templates: time 0.03314/0.5413, allocations: 12.73 MB / 468.6 MB, free: 10.6 MB / 346.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