Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") 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.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00237/0.002374, allocations: 181.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.168e-05, allocations: 7.984 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09207, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3982/0.4904, allocations: 77.27 MB / 446.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.4907, allocations: 77.14 kB / 446.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0689/0.5596, allocations: 13.61 MB / 460 MB, free: 4.258 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5597, allocations: 0 / 460 MB, free: 4.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.5597, allocations: 8 kB / 460 MB, free: 4.25 MB / 330.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.001543/0.5613, allocations: 1.034 MB / 461.1 MB, free: 3.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.5613, allocations: 8.031 kB / 461.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.5616, allocations: 70.97 kB / 461.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/0.5787, allocations: 3.704 MB / 464.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.5787, allocations: 8 kB / 464.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.5788, allocations: 11.95 kB / 464.9 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.5804, allocations: 0.8568 MB / 465.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5804, allocations: 0 / 465.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.5805, allocations: 0 / 465.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.5805, allocations: 8 kB / 465.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.5818, allocations: 0.7829 MB / 466.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.5824, allocations: 419.8 kB / 466.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.585, allocations: 2.075 MB / 469 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002561/0.5876, allocations: 2.071 MB / 471.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.5877, allocations: 3.953 kB / 471.1 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.5894, allocations: 1.112 MB / 472.2 MB, free: 7.906 MB / 346.7 MB Notification: Performance of pre-optimization done (n=246): time 2.555e-06/0.5894, allocations: 0 / 472.2 MB, free: 7.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=246): time 0.009145/0.5986, allocations: 2.22 MB / 474.4 MB, free: 5.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004114/0.599, allocations: 428.5 kB / 474.8 MB, free: 5.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.5993, allocations: 169.7 kB / 475 MB, free: 5.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003966/0.5997, allocations: 201.6 kB / 475.2 MB, free: 4.852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.442e-05/0.5998, allocations: 174.6 kB / 475.4 MB, free: 4.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.601, allocations: 0.9758 MB / 476.3 MB, free: 3.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.6012, allocations: 84.03 kB / 476.4 MB, free: 3.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000353/0.6016, allocations: 475.4 kB / 476.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00275/0.6043, allocations: 1.07 MB / 478 MB, free: 2.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004284/0.6086, allocations: 2.782 MB / 480.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004068/0.6128, allocations: 1.632 MB / 482.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.281e-05/0.6129, allocations: 24 kB / 482.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01044/0.6233, allocations: 3.935 MB / 486.3 MB, free: 8.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.89e-05/0.6235, allocations: 61.66 kB / 486.4 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.917e-05/0.6236, allocations: 63.94 kB / 486.5 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.6237, allocations: 92.75 kB / 486.5 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/0.6268, allocations: 0.5689 MB / 487.1 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001615/0.6269, allocations: 123.6 kB / 487.2 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.6291, allocations: 320.8 kB / 487.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003958/0.6296, allocations: 196 kB / 487.7 MB, free: 7.387 MB / 362.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 () * 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.001221/0.6308, allocations: 0.7231 MB / 488.5 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.6311, allocations: 115 kB / 488.6 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.6311, allocations: 21.89 kB / 488.6 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6311, allocations: 0 / 488.6 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.6312, allocations: 0 / 488.6 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6312, allocations: 0 / 488.6 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007739/0.6319, allocations: 0.568 MB / 489.2 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.632, allocations: 0 / 489.2 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-06/0.632, allocations: 4 kB / 489.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.632, allocations: 0 / 489.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.6321, allocations: 51.98 kB / 489.2 MB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.6322, allocations: 3.953 kB / 489.2 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6322, allocations: 0 / 489.2 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03491/0.6671, allocations: 22.22 MB / 0.4994 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.6674, allocations: 187.5 kB / 0.4996 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/0.6677, allocations: 67.94 kB / 0.4997 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.6682, allocations: 36.03 kB / 0.4997 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.6684, allocations: 31.95 kB / 0.4998 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/0.6686, allocations: 71.98 kB / 0.4998 GB, free: 15.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.6688, allocations: 136.3 kB / 0.5 GB, free: 15.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6688, allocations: 0 / 0.5 GB, free: 15.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002895/0.6717, allocations: 0.5273 MB / 0.5005 GB, free: 14.51 MB / 394.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) * 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.001266/0.673, allocations: 409.6 kB / 0.5009 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008038/0.6811, allocations: 3.396 MB / 0.5042 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6811, allocations: 4.125 kB / 0.5042 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3084/0.9896, allocations: 59.45 MB / 0.5622 GB, free: 112.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.9901, allocations: 36 kB / 0.5623 GB, free: 112.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.9935, allocations: 1.996 MB / 0.5642 GB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.9941, allocations: 1.025 MB / 0.5652 GB, free: 109.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.9944, allocations: 71.44 kB / 0.5653 GB, free: 109.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.9944, allocations: 3.375 kB / 0.5653 GB, free: 109.5 MB / 410.7 MB Notification: Performance of Templates: time 0.03503/1.029, allocations: 16.4 MB / 0.5813 GB, free: 93.3 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1Functions.cpp:152:48: error: use of undeclared identifier \'D_24tmpVar2_\'; did you mean \'D_24tmpVar3_\'?\n Modelica_SIunits_Conversions_to__deg(D_24tmpVar2_,tmp9);\n ^~~~~~~~~~~~\n D_24tmpVar3_\n./OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1Functions.cpp:125:14: note: \'D_24tmpVar3_\' declared here\n double D_24tmpVar3_;\n ^\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp:33:\n./OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.cpp:1665:7: warning: expression result unused [-Wunused-value]\n tmp1;\n ^~~~\n1 warning and 1 error generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o] Error 1\n'