Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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.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_trunk_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_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 200.1 kB / 8.536 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008821/0.0008823, allocations: 94.39 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.416e-06/8.556e-06, allocations: 4 kB / 343.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 51.48 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.3329, allocations: 78.14 MB / 472.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.3332, allocations: 73.59 kB / 472.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03311/0.3663, allocations: 13.42 MB / 486.2 MB, free: 4.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.3663, allocations: 12 kB / 486.3 MB, free: 4.059 MB / 346.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.0008301/0.3672, allocations: 1.03 MB / 487.3 MB, free: 3.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.3672, allocations: 12.02 kB / 487.3 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.3674, allocations: 78.97 kB / 487.4 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009807/0.3773, allocations: 3.712 MB / 491.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3773, allocations: 4 kB / 491.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.3773, allocations: 7.906 kB / 491.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007526/0.3781, allocations: 0.7845 MB / 491.9 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.3789, allocations: 0.8725 MB / 492.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3789, allocations: 1.688 kB / 492.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.3789, allocations: 3.938 kB / 492.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3789, allocations: 4 kB / 492.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.3792, allocations: 290.6 kB / 493.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.3806, allocations: 2.088 MB / 495.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.3821, allocations: 2.083 MB / 497.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.3821, allocations: 0 / 497.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.3831, allocations: 1.123 MB / 498.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 2.044e-06/0.3831, allocations: 4 kB / 498.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=246): time 0.00625/0.3894, allocations: 7.379 MB / 0.4939 GB, free: 3.586 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003042/0.3897, allocations: 428.4 kB / 0.4943 GB, free: 3.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.3899, allocations: 165.9 kB / 0.4944 GB, free: 2.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002356/0.3902, allocations: 177.6 kB / 0.4946 GB, free: 2.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.3902, allocations: 96.23 kB / 0.4947 GB, free: 2.688 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008065/0.391, allocations: 0.9602 MB / 0.4956 GB, free: 1.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.3911, allocations: 0 / 0.4956 GB, free: 1.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.3914, allocations: 479.4 kB / 0.4961 GB, free: 1.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.3927, allocations: 1.062 MB / 0.4971 GB, free: 168 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/0.3954, allocations: 2.749 MB / 0.4998 GB, free: 12.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.3974, allocations: 1.623 MB / 0.5014 GB, free: 10.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/0.3974, allocations: 16 kB / 0.5014 GB, free: 10.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005275/0.4027, allocations: 3.552 MB / 0.5049 GB, free: 7.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4028, allocations: 4 kB / 0.5049 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/0.4029, allocations: 63.91 kB / 0.505 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.403, allocations: 88 kB / 0.505 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.4046, allocations: 0.5689 MB / 0.5056 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.229e-05/0.4047, allocations: 123.6 kB / 0.5057 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.4061, allocations: 240.8 kB / 0.5059 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/0.4064, allocations: 196 kB / 0.5061 GB, free: 6.098 MB / 378.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.0007665/0.4071, allocations: 0.6413 MB / 0.5068 GB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.4073, allocations: 126.9 kB / 0.5069 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.4074, allocations: 13.94 kB / 0.5069 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4074, allocations: 0 / 0.5069 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4074, allocations: 0 / 0.5069 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4074, allocations: 3.984 kB / 0.5069 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.4078, allocations: 462.2 kB / 0.5073 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4079, allocations: 0 / 0.5073 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-06/0.4079, allocations: 4 kB / 0.5073 GB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4079, allocations: 0 / 0.5073 GB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.785e-05/0.408, allocations: 47.98 kB / 0.5074 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.408, allocations: 0 / 0.5074 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.408, allocations: 11.91 kB / 0.5074 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008633/0.4166, allocations: 8.709 MB / 0.5159 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.4169, allocations: 183.5 kB / 0.5161 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.4171, allocations: 73.73 kB / 0.5161 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.4174, allocations: 35.91 kB / 0.5162 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4175, allocations: 27.98 kB / 0.5162 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.4176, allocations: 75.98 kB / 0.5163 GB, free: 11.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001431/0.4178, allocations: 128.3 kB / 0.5164 GB, free: 11.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002299/0.4201, allocations: 455.9 kB / 0.5168 GB, free: 11.05 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.0009269/0.421, allocations: 393.7 kB / 0.5172 GB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004669/0.4257, allocations: 3.305 MB / 0.5204 GB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4257, allocations: 4.062 kB / 0.5204 GB, free: 7.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2344/0.6602, allocations: 60.61 MB / 0.5796 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.6606, allocations: 35.59 kB / 0.5797 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.6637, allocations: 1.987 MB / 0.5816 GB, free: 114.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006458/0.6643, allocations: 1.088 MB / 0.5827 GB, free: 113.6 MB / 442.7 MB Notification: Performance of SimCode: time 6.92e-07/0.6643, allocations: 1.031 kB / 0.5827 GB, free: 113.6 MB / 442.7 MB Notification: Performance of Templates: time 0.02391/0.6883, allocations: 14.09 MB / 0.5964 GB, free: 112.7 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile (rm -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & ./Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/FastFourierTransform/Examples/RealFFT1/RealFFT1.csv","../files/Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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],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 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],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[1],Phii[20],Phii[21],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[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