Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001048, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000934/0.0009341, allocations: 100.9 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002194/0.0002195, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1931, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0904/0.2835, allocations: 78.88 MB / 488.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.2837, allocations: 76.8 kB / 488.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03783/0.3216, allocations: 13.75 MB / 0.4903 GB, free: 14.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3217, allocations: 3.938 kB / 0.4903 GB, free: 14.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.001e-05/0.3217, allocations: 12 kB / 0.4903 GB, free: 14.76 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.001274/0.323, allocations: 0.995 MB / 0.4913 GB, free: 13.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.323, allocations: 8.031 kB / 0.4913 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.3233, allocations: 75.98 kB / 0.4914 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.324, allocations: 403.4 kB / 0.4918 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.324, allocations: 8.375 kB / 0.4918 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.324, allocations: 12.38 kB / 0.4918 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.3248, allocations: 0.7866 MB / 0.4925 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3248, allocations: 0 / 0.4925 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.3249, allocations: 4 kB / 0.4926 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3249, allocations: 3.984 kB / 0.4926 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.3255, allocations: 0.7047 MB / 0.4932 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.3258, allocations: 396.1 kB / 0.4936 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3271, allocations: 1.813 MB / 0.4954 GB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.3283, allocations: 1.801 MB / 0.4972 GB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-06/0.3283, allocations: 0 / 0.4972 GB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009055/0.3292, allocations: 1.033 MB / 0.4982 GB, free: 6.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=225): time 1.202e-06/0.3293, allocations: 0 / 0.4982 GB, free: 6.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=225): time 0.007227/0.3365, allocations: 4.345 MB / 0.5024 GB, free: 2.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002396/0.3368, allocations: 412.5 kB / 0.5028 GB, free: 1.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.337, allocations: 195 kB / 0.503 GB, free: 1.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001913/0.3372, allocations: 185.6 kB / 0.5032 GB, free: 1.379 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.3373, allocations: 103.9 kB / 0.5033 GB, free: 1.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007147/0.338, allocations: 0.9216 MB / 0.5042 GB, free: 348 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3381, allocations: 76 kB / 0.5042 GB, free: 272 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1571/0.4952, allocations: 466.6 kB / 0.5047 GB, free: 98.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/0.4972, allocations: 1.014 MB / 0.5057 GB, free: 98.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.4992, allocations: 2.619 MB / 0.5082 GB, free: 96.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.5027, allocations: 3.863 MB / 0.512 GB, free: 94.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.78e-05/0.5027, allocations: 17.25 kB / 0.512 GB, free: 94.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.004099/0.5068, allocations: 3.7 MB / 0.5156 GB, free: 92.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.5069, allocations: 53.83 kB / 0.5157 GB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/0.5069, allocations: 54.16 kB / 0.5157 GB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.002e-05/0.507, allocations: 75.66 kB / 0.5158 GB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.5081, allocations: 0.5248 MB / 0.5163 GB, free: 92.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.088e-05/0.5082, allocations: 112.7 kB / 0.5164 GB, free: 92.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/0.5092, allocations: 297.6 kB / 0.5167 GB, free: 92.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.5093, allocations: 184 kB / 0.5169 GB, free: 92.34 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.0005749/0.5099, allocations: 0.7572 MB / 0.5176 GB, free: 91.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.51, allocations: 110.3 kB / 0.5177 GB, free: 91.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.51, allocations: 17.16 kB / 0.5177 GB, free: 91.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.51, allocations: 5.531 kB / 0.5177 GB, free: 91.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.51, allocations: 0 / 0.5177 GB, free: 91.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.51, allocations: 4 kB / 0.5178 GB, free: 91.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.5103, allocations: 0.5262 MB / 0.5183 GB, free: 91.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5104, allocations: 0 / 0.5183 GB, free: 91.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-06/0.5104, allocations: 8.875 kB / 0.5183 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5104, allocations: 3.938 kB / 0.5183 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.575e-05/0.5104, allocations: 39.56 kB / 0.5183 GB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5104, allocations: 5.906 kB / 0.5183 GB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5105, allocations: 0 / 0.5183 GB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/0.5249, allocations: 21.79 MB / 0.5396 GB, free: 70.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.5251, allocations: 173.2 kB / 0.5398 GB, free: 69.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.5252, allocations: 47.55 kB / 0.5398 GB, free: 69.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.5254, allocations: 43.95 kB / 0.5398 GB, free: 69.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.5255, allocations: 24 kB / 0.5399 GB, free: 69.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/0.5256, allocations: 63.98 kB / 0.5399 GB, free: 69.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.346e-05/0.5257, allocations: 127.2 kB / 0.5401 GB, free: 69.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5257, allocations: 2.531 kB / 0.5401 GB, free: 69.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001727/0.5274, allocations: 0.4945 MB / 0.5405 GB, free: 69.12 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.0006944/0.5281, allocations: 387.3 kB / 0.5409 GB, free: 68.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003227/0.5313, allocations: 3.175 MB / 0.544 GB, free: 65.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5314, allocations: 4 kB / 0.544 GB, free: 65.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02182/0.5532, allocations: 52.35 MB / 0.5951 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.5537, allocations: 73.98 kB / 0.5952 GB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.5559, allocations: 2.281 MB / 0.5974 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.5562, allocations: 0.983 MB / 0.5984 GB, free: 9.895 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002764/0.5565, allocations: 192.9 kB / 0.5986 GB, free: 9.699 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.5567, allocations: 67.44 kB / 0.5986 GB, free: 9.633 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5567, allocations: 4 kB / 0.5986 GB, free: 9.629 MB / 378.7 MB Notification: Performance of Templates: time 0.01752/0.5742, allocations: 12.85 MB / 0.6112 GB, free: 12.85 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Math.FastFourierTransform.Examples.RealFFT2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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