Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 188.3 kB / 8.139 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.135/1.135, allocations: 221.4 MB / 229.9 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000916/0.000916, allocations: 88.95 kB / 280.8 MB, free: 1.293 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.484e-06, allocations: 4 kB / 336.5 MB, free: 9.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1875, allocations: 50.39 MB / 386.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07845/0.266, allocations: 77.34 MB / 464.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.2662, allocations: 77.03 kB / 464.3 MB, free: 9.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03831/0.3045, allocations: 13.28 MB / 477.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.3046, allocations: 12.75 kB / 477.6 MB, free: 12.12 MB / 362.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.0009473/0.3055, allocations: 1.03 MB / 478.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.3056, allocations: 8.031 kB / 478.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.3057, allocations: 74.97 kB / 478.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.317, allocations: 3.711 MB / 482.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.317, allocations: 4 kB / 482.4 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.3171, allocations: 4 kB / 482.4 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008113/0.3179, allocations: 0.7906 MB / 483.2 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008221/0.3187, allocations: 0.8665 MB / 484.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3187, allocations: 0 / 484.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.3188, allocations: 0 / 484.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3188, allocations: 3.984 kB / 484.1 MB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.3191, allocations: 294.5 kB / 484.4 MB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.3206, allocations: 2.098 MB / 486.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.3221, allocations: 2.083 MB / 488.6 MB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.3221, allocations: 0 / 488.6 MB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009752/0.3231, allocations: 1.131 MB / 489.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 1.783e-06/0.3231, allocations: 0 / 489.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=246): time 0.005775/0.3289, allocations: 7.375 MB / 497.1 MB, free: 8.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002647/0.3292, allocations: 428.5 kB / 497.5 MB, free: 8.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3293, allocations: 165.8 kB / 497.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000226/0.3296, allocations: 177.6 kB / 497.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.3296, allocations: 96.23 kB / 497.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/0.3303, allocations: 0.9563 MB / 498.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.3304, allocations: 0 / 498.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.3306, allocations: 483.4 kB / 499.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.332, allocations: 1.062 MB / 0.4887 GB, free: 5.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.3344, allocations: 2.751 MB / 0.4914 GB, free: 1.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.09494/0.4293, allocations: 1.616 MB / 0.493 GB, free: 139.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.122e-05/0.4294, allocations: 19.44 kB / 0.493 GB, free: 139.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.00406/0.4335, allocations: 3.549 MB / 0.4964 GB, free: 139.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4335, allocations: 3.344 kB / 0.4964 GB, free: 139.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/0.4335, allocations: 58.59 kB / 0.4965 GB, free: 139.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.171e-05/0.4336, allocations: 96.41 kB / 0.4966 GB, free: 139.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.4349, allocations: 0.5675 MB / 0.4971 GB, free: 139.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.436e-05/0.435, allocations: 124.3 kB / 0.4973 GB, free: 139.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.4361, allocations: 239.7 kB / 0.4975 GB, free: 139.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.4362, allocations: 197.2 kB / 0.4977 GB, free: 139.4 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.0005094/0.4368, allocations: 0.6414 MB / 0.4983 GB, free: 139.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4369, allocations: 118.2 kB / 0.4984 GB, free: 139.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.4369, allocations: 13.94 kB / 0.4984 GB, free: 139.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4369, allocations: 2 kB / 0.4984 GB, free: 139.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.4369, allocations: 0 / 0.4984 GB, free: 139.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4369, allocations: 3.281 kB / 0.4984 GB, free: 139.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.4372, allocations: 464.4 kB / 0.4989 GB, free: 139 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4372, allocations: 3.875 kB / 0.4989 GB, free: 139 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.4373, allocations: 0.5938 kB / 0.4989 GB, free: 139 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4373, allocations: 0 / 0.4989 GB, free: 139 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/0.4373, allocations: 48.88 kB / 0.4989 GB, free: 139 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.4373, allocations: 0 / 0.4989 GB, free: 139 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4374, allocations: 1 kB / 0.4989 GB, free: 139 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008038/0.4454, allocations: 8.718 MB / 0.5074 GB, free: 138.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4455, allocations: 189.3 kB / 0.5076 GB, free: 138.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.4457, allocations: 75.03 kB / 0.5077 GB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.446, allocations: 32 kB / 0.5077 GB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.4461, allocations: 27.56 kB / 0.5078 GB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/0.4462, allocations: 70.64 kB / 0.5078 GB, free: 138.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.215e-05/0.4463, allocations: 131.3 kB / 0.5079 GB, free: 138.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001781/0.4481, allocations: 451.7 kB / 0.5084 GB, free: 137.7 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: 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.0006701/0.4488, allocations: 388.2 kB / 0.5087 GB, free: 137.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003245/0.452, allocations: 3.309 MB / 0.512 GB, free: 135.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.452, allocations: 0.5 kB / 0.512 GB, free: 135.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02778/0.4798, allocations: 60.61 MB / 0.5712 GB, free: 78.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4802, allocations: 43.03 kB / 0.5712 GB, free: 78.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.4823, allocations: 1.989 MB / 0.5732 GB, free: 76.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/0.4827, allocations: 1.09 MB / 0.5742 GB, free: 75.55 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4827, allocations: 0 / 0.5742 GB, free: 75.55 MB / 378.7 MB Notification: Performance of Templates: time 0.01747/0.5002, allocations: 14.09 MB / 0.588 GB, free: 61.76 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile (rm -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & ./Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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