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.001243/0.001243, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009271/0.0009271, allocations: 99.48 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002152/0.0002152, allocations: 8 kB / 357.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2049, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08828/0.2932, allocations: 78.95 MB / 488.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.2934, allocations: 75.97 kB / 488.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03512/0.3286, allocations: 13.76 MB / 0.4904 GB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3286, allocations: 0 / 0.4904 GB, free: 13.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.3286, allocations: 12 kB / 0.4904 GB, free: 13.81 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.001076/0.3297, allocations: 1.007 MB / 0.4914 GB, free: 12.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3298, allocations: 8.031 kB / 0.4914 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.33, allocations: 75.05 kB / 0.4915 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008804/0.3388, allocations: 3.754 MB / 0.4952 GB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3388, allocations: 8 kB / 0.4952 GB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.3389, allocations: 15.95 kB / 0.4952 GB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.3396, allocations: 0.7942 MB / 0.496 GB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.3396, allocations: 0 / 0.496 GB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.3397, allocations: 0 / 0.496 GB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.3397, allocations: 0 / 0.496 GB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.3403, allocations: 0.7087 MB / 0.4966 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.3406, allocations: 396 kB / 0.497 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.3418, allocations: 1.813 MB / 0.4988 GB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.3418, allocations: 0 / 0.4988 GB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008362/0.3427, allocations: 1.037 MB / 0.4998 GB, free: 4.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=225): time 1.212e-06/0.3427, allocations: 0 / 0.4998 GB, free: 4.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=225): time 0.1625/0.5052, allocations: 4.508 MB / 0.5042 GB, free: 98.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002963/0.5056, allocations: 402.2 kB / 0.5046 GB, free: 98.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.5058, allocations: 173.8 kB / 0.5048 GB, free: 98.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.506, allocations: 184.1 kB / 0.5049 GB, free: 98.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.506, allocations: 105.7 kB / 0.505 GB, free: 98.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006093/0.5066, allocations: 0.9275 MB / 0.5059 GB, free: 98.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-05/0.5067, allocations: 72.72 kB / 0.506 GB, free: 98.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5069, allocations: 465 kB / 0.5065 GB, free: 97.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.5082, allocations: 1.018 MB / 0.5074 GB, free: 97.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.5101, allocations: 2.601 MB / 0.51 GB, free: 95.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/0.5119, allocations: 1.533 MB / 0.5115 GB, free: 94.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.133e-05/0.5119, allocations: 14.22 kB / 0.5115 GB, free: 94.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.003926/0.5159, allocations: 3.702 MB / 0.5151 GB, free: 93.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.5159, allocations: 53.62 kB / 0.5152 GB, free: 93.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.35e-05/0.516, allocations: 58.55 kB / 0.5152 GB, free: 93.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-05/0.516, allocations: 85.19 kB / 0.5153 GB, free: 93.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.5171, allocations: 0.5213 MB / 0.5158 GB, free: 93.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.388e-05/0.5172, allocations: 106.8 kB / 0.5159 GB, free: 93.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009773/0.5181, allocations: 296.5 kB / 0.5162 GB, free: 93.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.5183, allocations: 180 kB / 0.5164 GB, free: 93.12 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.0005248/0.5188, allocations: 0.7672 MB / 0.5171 GB, free: 92.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/0.5189, allocations: 118.9 kB / 0.5172 GB, free: 92.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.523e-05/0.5189, allocations: 18.17 kB / 0.5172 GB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5189, allocations: 0 / 0.5172 GB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5189, allocations: 0 / 0.5172 GB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.5189, allocations: 4 kB / 0.5173 GB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.5192, allocations: 0.5321 MB / 0.5178 GB, free: 91.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5192, allocations: 0 / 0.5178 GB, free: 91.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-06/0.5192, allocations: 7.828 kB / 0.5178 GB, free: 91.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5193, allocations: 0 / 0.5178 GB, free: 91.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.5193, allocations: 43.61 kB / 0.5178 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.5193, allocations: 4 kB / 0.5178 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5193, allocations: 0 / 0.5178 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/0.5325, allocations: 21.76 MB / 0.5391 GB, free: 70.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.5326, allocations: 175.7 kB / 0.5392 GB, free: 70.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5327, allocations: 47.92 kB / 0.5393 GB, free: 70.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.5329, allocations: 35.95 kB / 0.5393 GB, free: 70.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.533, allocations: 30.12 kB / 0.5394 GB, free: 70.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/0.5331, allocations: 64 kB / 0.5394 GB, free: 70.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.5332, allocations: 136.3 kB / 0.5395 GB, free: 70.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5332, allocations: 0 / 0.5395 GB, free: 70.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001856/0.5351, allocations: 0.4918 MB / 0.54 GB, free: 69.56 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.0006739/0.5357, allocations: 390.8 kB / 0.5404 GB, free: 69.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.5389, allocations: 3.184 MB / 0.5435 GB, free: 66.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5389, allocations: 0 / 0.5435 GB, free: 66.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02004/0.5589, allocations: 52.36 MB / 0.5946 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.5592, allocations: 34.25 kB / 0.5947 GB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.5612, allocations: 2.249 MB / 0.5969 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.5615, allocations: 0.9944 MB / 0.5978 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003636/0.5618, allocations: 192.9 kB / 0.598 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.5619, allocations: 67.44 kB / 0.5981 GB, free: 10.11 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.562, allocations: 4 kB / 0.5981 GB, free: 10.1 MB / 378.7 MB Notification: Performance of Templates: time 0.01492/0.5769, allocations: 12.83 MB / 0.6106 GB, free: 13.36 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/jenkins/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