Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2") 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_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002417/0.002417, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.213/3.213, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001497/0.001497, allocations: 103.4 kB / 297.4 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 8 kB / 357.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.5271, allocations: 51.3 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1843/0.7114, allocations: 78.89 MB / 487.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/0.7119, allocations: 76.8 kB / 487.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07962/0.7915, allocations: 13.74 MB / 0.4896 GB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.586e-06/0.7916, allocations: 0 / 0.4896 GB, free: 14.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.09e-05/0.7917, allocations: 12 kB / 0.4896 GB, free: 14.9 MB / 378.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.001832/0.7935, allocations: 0.9935 MB / 0.4906 GB, free: 13.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.231e-05/0.7936, allocations: 8.031 kB / 0.4906 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004213/0.794, allocations: 75.98 kB / 0.4907 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.7954, allocations: 411.4 kB / 0.4911 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.7954, allocations: 8.375 kB / 0.4911 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.7955, allocations: 12.31 kB / 0.4911 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.797, allocations: 0.7866 MB / 0.4919 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.7971, allocations: 0 / 0.4919 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.7971, allocations: 11.97 kB / 0.4919 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7972, allocations: 0 / 0.4919 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.7985, allocations: 0.7047 MB / 0.4926 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.7993, allocations: 396.1 kB / 0.4929 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.802, allocations: 1.809 MB / 0.4947 GB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002584/0.8046, allocations: 1.801 MB / 0.4965 GB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.8046, allocations: 0 / 0.4965 GB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001846/0.8065, allocations: 1.033 MB / 0.4975 GB, free: 6.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=225): time 2.825e-06/0.8065, allocations: 0 / 0.4975 GB, free: 6.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=225): time 0.01356/0.8201, allocations: 4.353 MB / 0.5017 GB, free: 2.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005164/0.8207, allocations: 404.6 kB / 0.5021 GB, free: 1.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.8211, allocations: 195 kB / 0.5023 GB, free: 1.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004097/0.8215, allocations: 185.6 kB / 0.5025 GB, free: 1.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.8217, allocations: 103.9 kB / 0.5026 GB, free: 1.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001403/0.8231, allocations: 0.9177 MB / 0.5035 GB, free: 496 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.8233, allocations: 76 kB / 0.5035 GB, free: 420 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.4554/1.279, allocations: 466.6 kB / 0.504 GB, free: 98.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005077/1.284, allocations: 1.013 MB / 0.505 GB, free: 98.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005317/1.289, allocations: 2.617 MB / 0.5075 GB, free: 96.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009493/1.299, allocations: 3.864 MB / 0.5113 GB, free: 94.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/1.299, allocations: 13.34 kB / 0.5113 GB, free: 94.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01044/1.309, allocations: 3.707 MB / 0.5149 GB, free: 93.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00015/1.31, allocations: 54.61 kB / 0.515 GB, free: 93.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/1.31, allocations: 53.28 kB / 0.515 GB, free: 93.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/1.31, allocations: 79.72 kB / 0.5151 GB, free: 93.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/1.313, allocations: 0.518 MB / 0.5156 GB, free: 92.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001415/1.313, allocations: 114.3 kB / 0.5157 GB, free: 92.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/1.315, allocations: 300.5 kB / 0.516 GB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/1.316, allocations: 180 kB / 0.5162 GB, free: 92.39 MB / 378.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.001453/1.317, allocations: 0.7656 MB / 0.5169 GB, free: 91.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/1.318, allocations: 107.1 kB / 0.517 GB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/1.318, allocations: 13.16 kB / 0.517 GB, free: 91.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/1.318, allocations: 3.938 kB / 0.517 GB, free: 91.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.318, allocations: 0 / 0.517 GB, free: 91.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.318, allocations: 4 kB / 0.5171 GB, free: 91.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/1.319, allocations: 0.5305 MB / 0.5176 GB, free: 91.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.319, allocations: 0 / 0.5176 GB, free: 91.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-06/1.319, allocations: 4 kB / 0.5176 GB, free: 91.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.319, allocations: 4 kB / 0.5176 GB, free: 91.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/1.319, allocations: 49.7 kB / 0.5176 GB, free: 91.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/1.319, allocations: 5.906 kB / 0.5176 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.319, allocations: 0 / 0.5176 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03023/1.349, allocations: 21.78 MB / 0.5389 GB, free: 70.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/1.349, allocations: 173.2 kB / 0.5391 GB, free: 69.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/1.35, allocations: 47.97 kB / 0.5391 GB, free: 69.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/1.35, allocations: 39.97 kB / 0.5391 GB, free: 69.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.35, allocations: 27.98 kB / 0.5392 GB, free: 69.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/1.35, allocations: 64 kB / 0.5392 GB, free: 69.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001686/1.351, allocations: 127.2 kB / 0.5394 GB, free: 69.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.351, allocations: 0 / 0.5394 GB, free: 69.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003884/1.355, allocations: 0.4906 MB / 0.5398 GB, free: 69.16 MB / 378.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.001252/1.356, allocations: 396.5 kB / 0.5402 GB, free: 68.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007143/1.363, allocations: 3.175 MB / 0.5433 GB, free: 65.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/1.363, allocations: 0 / 0.5433 GB, free: 65.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04635/1.409, allocations: 52.35 MB / 0.5944 GB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/1.41, allocations: 71.75 kB / 0.5945 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/1.415, allocations: 2.325 MB / 0.5968 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/1.416, allocations: 0.9836 MB / 0.5977 GB, free: 9.875 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/1.416, allocations: 67.44 kB / 0.5978 GB, free: 9.809 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/1.416, allocations: 0 / 0.5978 GB, free: 9.809 MB / 378.7 MB Notification: Performance of Templates: time 0.04791/1.464, allocations: 15.49 MB / 0.6129 GB, free: 10.36 MB / 394.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/FastFourierTransform/Examples/RealFFT2/RealFFT2.csv","../files/Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches