Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadModel(Modelica): time 1.998/1.998, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 8 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08138/0.08177, allocations: 44.52 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001597/0.08341, allocations: 0.9892 MB / 309.3 MB, free: 20 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.08547, allocations: 0.9444 MB / 310.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.08557, allocations: 3.938 kB / 310.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.08606, allocations: 71.78 kB / 310.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.466e-05/0.08612, allocations: 15.98 kB / 310.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.08678, allocations: 163.5 kB / 310.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.08695, allocations: 79.88 kB / 310.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.08699, allocations: 0 / 310.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.08714, allocations: 51.83 kB / 310.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.08726, allocations: 47.84 kB / 310.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.08731, allocations: 0 / 310.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.08779, allocations: 199.6 kB / 310.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.08799, allocations: 175.5 kB / 311.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.08814, allocations: 109.3 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.08871, allocations: 363.3 kB / 311.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.33e-06/0.08873, allocations: 4 kB / 311.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.08874, allocations: 0 / 311.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.08877, allocations: 0 / 311.5 MB, free: 13.8 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.001248/0.09003, allocations: 0.9869 MB / 312.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.09008, allocations: 8.031 kB / 312.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.09021, allocations: 67.06 kB / 312.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.09057, allocations: 258 kB / 312.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.09061, allocations: 8 kB / 312.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.09065, allocations: 8 kB / 312.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.09172, allocations: 0.8373 MB / 313.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.043e-06/0.09175, allocations: 0 / 313.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.09177, allocations: 0 / 313.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.09179, allocations: 4 kB / 313.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009154/0.09271, allocations: 0.783 MB / 314.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.09318, allocations: 372.2 kB / 314.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.09519, allocations: 1.879 MB / 316.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.09523, allocations: 0 / 316.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.09658, allocations: 1.072 MB / 317.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=225): time 3.306e-06/0.09662, allocations: 4 kB / 317.8 MB, free: 7.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=225): time 0.006894/0.1035, allocations: 4.68 MB / 322.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004074/0.104, allocations: 400.5 kB / 322.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.1043, allocations: 194.5 kB / 323.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.1046, allocations: 185.6 kB / 323.3 MB, free: 1.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1047, allocations: 174.4 kB / 323.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.1058, allocations: 0.9177 MB / 324.4 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.106, allocations: 76 kB / 324.4 MB, free: 0.668 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003392/0.1063, allocations: 470.6 kB / 324.9 MB, free: 204 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/0.1085, allocations: 1.014 MB / 325.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/0.1123, allocations: 2.616 MB / 328.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.1156, allocations: 1.527 MB / 330 MB, free: 10.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-05/0.1157, allocations: 16 kB / 330.1 MB, free: 10.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.00896/0.1247, allocations: 3.697 MB / 333.8 MB, free: 6.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.1249, allocations: 57.7 kB / 333.8 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.125, allocations: 56 kB / 333.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.1251, allocations: 84 kB / 333.9 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.1272, allocations: 0.5222 MB / 334.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001586/0.1274, allocations: 115.5 kB / 334.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.1293, allocations: 297 kB / 334.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004203/0.1298, allocations: 184 kB / 335.1 MB, free: 5.242 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.001285/0.1311, allocations: 0.7614 MB / 335.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.1313, allocations: 107.1 kB / 335.9 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.1314, allocations: 25.14 kB / 335.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.441e-06/0.1314, allocations: 0 / 335.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.991e-06/0.1314, allocations: 0 / 335.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1314, allocations: 0 / 335.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.132, allocations: 0.5135 MB / 336.5 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.808e-06/0.1321, allocations: 3.938 kB / 336.5 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-06/0.1321, allocations: 3.938 kB / 336.5 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.168e-06/0.1321, allocations: 3.984 kB / 336.5 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.132e-05/0.1322, allocations: 39.98 kB / 336.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.282e-06/0.1322, allocations: 0 / 336.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.172e-06/0.1322, allocations: 0 / 336.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02667/0.1589, allocations: 21.86 MB / 358.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.1591, allocations: 175.6 kB / 358.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.1593, allocations: 43.98 kB / 358.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.1597, allocations: 39.98 kB / 358.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.1598, allocations: 24 kB / 358.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-05/0.16, allocations: 31.98 kB / 358.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.1601, allocations: 135.2 kB / 358.8 MB, free: 13.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.1601, allocations: 4.031 kB / 358.8 MB, free: 13.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002472/0.1626, allocations: 484 kB / 359.3 MB, free: 12.88 MB / 314.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.001038/0.1637, allocations: 347.2 kB / 359.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006082/0.1698, allocations: 3.186 MB / 362.8 MB, free: 9.387 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.1699, allocations: 5.938 kB / 362.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2387/0.4086, allocations: 52.36 MB / 415.2 MB, free: 31.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.4089, allocations: 40.17 kB / 415.2 MB, free: 31.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.4118, allocations: 2.321 MB / 417.5 MB, free: 28.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.4123, allocations: 0.9952 MB / 418.5 MB, free: 27.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.4125, allocations: 71.44 kB / 418.6 MB, free: 27.71 MB / 314.7 MB Notification: Performance of SimCode: time 1.472e-06/0.4125, allocations: 2.844 kB / 418.6 MB, free: 27.71 MB / 314.7 MB [CodegenCppCommonOld.tpl:1596:11-1596:11:writable] Error: Template error: ASUB_EASY_CASE 1:nfi.