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") [: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.001058/0.001058, allocations: 201.6 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 88.75 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.528e-06, allocations: 4 kB / 343.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.08696, allocations: 51.47 MB / 394.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.3264, allocations: 78.14 MB / 472.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.3267, allocations: 76.41 kB / 472.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03444/0.3611, allocations: 13.26 MB / 486.1 MB, free: 4.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.3612, allocations: 8 kB / 486.1 MB, free: 4.117 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.0009434/0.3622, allocations: 0.9698 MB / 487.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3622, allocations: 12.03 kB / 487.1 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.3625, allocations: 74.97 kB / 487.1 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.3728, allocations: 3.699 MB / 490.8 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3729, allocations: 4 kB / 490.8 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.373, allocations: 4 kB / 490.9 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008586/0.3738, allocations: 0.7186 MB / 491.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007384/0.3746, allocations: 0.797 MB / 492.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3746, allocations: 0 / 492.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.3746, allocations: 0 / 492.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3746, allocations: 3.938 kB / 492.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.375, allocations: 286.9 kB / 492.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.3763, allocations: 1.821 MB / 494.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.3775, allocations: 1.809 MB / 496.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.603e-06/0.3775, allocations: 3 kB / 496.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008435/0.3784, allocations: 1.037 MB / 497.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 1.553e-06/0.3784, allocations: 0 / 497.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.005593/0.384, allocations: 6.313 MB / 0.4918 GB, free: 5.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002383/0.3843, allocations: 404.5 kB / 0.4922 GB, free: 5.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.3845, allocations: 169.8 kB / 0.4924 GB, free: 4.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002046/0.3847, allocations: 161.6 kB / 0.4925 GB, free: 4.801 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.3847, allocations: 103.9 kB / 0.4926 GB, free: 4.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007389/0.3855, allocations: 0.91 MB / 0.4935 GB, free: 3.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.3856, allocations: 0 / 0.4935 GB, free: 3.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002839/0.3859, allocations: 462.7 kB / 0.494 GB, free: 3.312 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.3874, allocations: 0.9871 MB / 0.4949 GB, free: 2.324 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.3899, allocations: 2.551 MB / 0.4974 GB, free: 15.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.3921, allocations: 1.494 MB / 0.4989 GB, free: 13.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.998e-05/0.3921, allocations: 19.94 kB / 0.4989 GB, free: 13.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005212/0.3974, allocations: 3.298 MB / 0.5021 GB, free: 10.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3974, allocations: 8 kB / 0.5021 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-05/0.3975, allocations: 56 kB / 0.5022 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.3976, allocations: 84 kB / 0.5023 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.3991, allocations: 0.5183 MB / 0.5028 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001077/0.3992, allocations: 111.6 kB / 0.5029 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4008, allocations: 225.1 kB / 0.5031 GB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/0.4011, allocations: 183.8 kB / 0.5033 GB, free: 9.031 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 () * 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.0009349/0.402, allocations: 0.5772 MB / 0.5038 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.4023, allocations: 107.1 kB / 0.5039 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.4023, allocations: 13.16 kB / 0.5039 GB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4023, allocations: 0 / 0.5039 GB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4023, allocations: 3.906 kB / 0.5039 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4023, allocations: 4 kB / 0.5039 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.4028, allocations: 438.4 kB / 0.5044 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4028, allocations: 0 / 0.5044 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.4028, allocations: 0 / 0.5044 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4028, allocations: 2.812 kB / 0.5044 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.641e-05/0.4029, allocations: 44 kB / 0.5044 GB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4029, allocations: 0 / 0.5044 GB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.403, allocations: 0.625 kB / 0.5044 GB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007463/0.4104, allocations: 7.571 MB / 0.5118 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.4106, allocations: 171.7 kB / 0.512 GB, free: 20 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.4109, allocations: 52.02 kB / 0.512 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.4112, allocations: 31.91 kB / 0.512 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.4113, allocations: 27.94 kB / 0.5121 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.4114, allocations: 64.03 kB / 0.5121 GB, free: 15.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001211/0.4115, allocations: 124.3 kB / 0.5123 GB, free: 15.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002121/0.4137, allocations: 431.9 kB / 0.5127 GB, free: 15.3 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: 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) * 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.001047/0.4147, allocations: 364.8 kB / 0.513 GB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004447/0.4192, allocations: 3.056 MB / 0.516 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4192, allocations: 0 / 0.516 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03889/0.4581, allocations: 53.51 MB / 0.5683 GB, free: 6.426 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.4585, allocations: 38.78 kB / 0.5683 GB, free: 6.391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.4614, allocations: 1.864 MB / 0.5701 GB, free: 4.496 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/0.4622, allocations: 1.064 MB / 0.5712 GB, free: 3.402 MB / 442.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4623, allocations: 4 kB / 0.5712 GB, free: 3.398 MB / 442.7 MB Notification: Performance of Templates: time 0.1569/0.6191, allocations: 12.87 MB / 0.5837 GB, free: 182.9 MB / 442.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