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.RealFFT1.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.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_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadModel(Modelica): time 1.88/1.88, allocations: 194.8 MB / 211.6 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003579, allocations: 12 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07875/0.07913, allocations: 44.5 MB / 308.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT1): time 0.001509/0.08069, allocations: 1.009 MB / 309.4 MB, free: 12 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.08272, allocations: 0.9443 MB / 310.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.08281, allocations: 4 kB / 310.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.08327, allocations: 75.73 kB / 310.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.08333, allocations: 11.97 kB / 310.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.084, allocations: 167.5 kB / 310.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.08416, allocations: 71.88 kB / 310.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.08421, allocations: 8 kB / 310.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.08435, allocations: 51.84 kB / 310.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.777e-05/0.08447, allocations: 39.89 kB / 310.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.0845, allocations: 0 / 310.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.08495, allocations: 195.7 kB / 310.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.08516, allocations: 203.4 kB / 311.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.08531, allocations: 113.3 kB / 311.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.08585, allocations: 375.3 kB / 311.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.982e-06/0.08587, allocations: 0 / 311.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.08588, allocations: 0 / 311.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.387e-06/0.0859, allocations: 0 / 311.6 MB, free: 13.77 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001262/0.08718, allocations: 1.046 MB / 312.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.08723, allocations: 8.031 kB / 312.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.08736, allocations: 74.95 kB / 312.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.08771, allocations: 266 kB / 313 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.08776, allocations: 12 kB / 313 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.0878, allocations: 12 kB / 313 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.08904, allocations: 0.9037 MB / 313.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-06/0.08907, allocations: 0 / 313.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.08909, allocations: 4 kB / 313.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.135e-06/0.08911, allocations: 4 kB / 313.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.09014, allocations: 0.8532 MB / 314.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.0906, allocations: 395.9 kB / 315.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.09287, allocations: 2.168 MB / 317.3 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-06/0.0929, allocations: 0 / 317.3 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/0.09432, allocations: 1.162 MB / 318.5 MB, free: 6.695 MB / 266.7 MB Notification: Performance of pre-optimization done (n=246): time 5.19e-06/0.09434, allocations: 0 / 318.5 MB, free: 6.695 MB / 266.7 MB Notification: Performance of matching and sorting (n=246): time 0.007739/0.1021, allocations: 5.262 MB / 323.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004232/0.1025, allocations: 424.5 kB / 324.2 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.1028, allocations: 194.5 kB / 324.3 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003124/0.1032, allocations: 205.6 kB / 324.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1033, allocations: 174.6 kB / 324.7 MB, free: 392 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.1044, allocations: 0.9718 MB / 325.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.1046, allocations: 80 kB / 325.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003558/0.105, allocations: 483.4 kB / 326.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/0.1073, allocations: 1.093 MB / 327.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003848/0.1112, allocations: 2.829 MB / 330.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003311/0.1145, allocations: 1.648 MB / 331.8 MB, free: 8.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.412e-05/0.1146, allocations: 16 kB / 331.8 MB, free: 8.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008744/0.1233, allocations: 3.99 MB / 335.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1235, allocations: 61.69 kB / 335.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.249e-05/0.1236, allocations: 56 kB / 335.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.1237, allocations: 96.03 kB / 336 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.1257, allocations: 0.5689 MB / 336.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001412/0.1259, allocations: 115.6 kB / 336.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.1278, allocations: 316.9 kB / 337 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.1281, allocations: 196 kB / 337.2 MB, free: 2.977 MB / 282.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.001344/0.1295, allocations: 0.8605 MB / 338.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.1297, allocations: 115 kB / 338.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.1297, allocations: 13.94 kB / 338.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.044e-06/0.1298, allocations: 0 / 338.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.394e-06/0.1298, allocations: 0 / 338.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.851e-06/0.1298, allocations: 4 kB / 338.2 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.1305, allocations: 0.56 MB / 338.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-06/0.1305, allocations: 0 / 338.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.827e-06/0.1305, allocations: 7.984 kB / 338.8 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.597e-06/0.1305, allocations: 0 / 338.8 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.4e-05/0.1306, allocations: 39.98 kB / 338.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.963e-06/0.1306, allocations: 0 / 338.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.162e-06/0.1306, allocations: 4 kB / 338.8 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02731/0.158, allocations: 22.35 MB / 361.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.1582, allocations: 187.6 kB / 361.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.1584, allocations: 63.95 kB / 361.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.1588, allocations: 40 kB / 361.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.1589, allocations: 27.98 kB / 361.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.1591, allocations: 43.98 kB / 361.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.1592, allocations: 131.2 kB / 361.6 MB, free: 10.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.1593, allocations: 0 / 361.6 MB, free: 10.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002593/0.1619, allocations: 0.5078 MB / 362.2 MB, free: 9.895 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: 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.00107/0.163, allocations: 395.2 kB / 362.5 MB, free: 9.547 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006634/0.1696, allocations: 3.438 MB / 366 MB, free: 6.109 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.585e-06/0.1697, allocations: 0 / 366 MB, free: 6.109 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3182/0.4879, allocations: 59.46 MB / 425.4 MB, free: 21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.4884, allocations: 40.19 kB / 425.5 MB, free: 20.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.4915, allocations: 2.471 MB / 427.9 MB, free: 18.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.492, allocations: 1.019 MB / 429 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.4922, allocations: 74.28 kB / 429 MB, free: 17.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.534e-06/0.4922, allocations: 0 / 429 MB, free: 17.36 MB / 314.7 MB [CodegenCppCommonOld.tpl:1596:11-1596:11:writable] Error: Template error: ASUB_EASY_CASE 1:nfi.