Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009854/0.0009855, allocations: 179.8 kB / 8.473 MB, free: 0.5352 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.143/1.143, allocations: 205.2 MB / 214.1 MB, free: 8.57 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008516/0.0008517, allocations: 93.36 kB / 262.1 MB, free: 5.117 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.901e-06, allocations: 0 / 315 MB, free: 1.996 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07874/0.07876, allocations: 47.56 MB / 362.5 MB, free: 2.312 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.2775, allocations: 76.52 MB / 439.1 MB, free: 11.28 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.2777, allocations: 79.33 kB / 439.1 MB, free: 11.24 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.03166/0.3094, allocations: 13 MB / 452.1 MB, free: 0.7031 MB / 322.8 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3094, allocations: 12 kB / 452.1 MB, free: 0.6914 MB / 322.8 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.0007395/0.3102, allocations: 0.967 MB / 453.1 MB, free: 15.72 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3102, allocations: 8.031 kB / 453.1 MB, free: 15.71 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3103, allocations: 76.27 kB / 453.2 MB, free: 15.64 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.3212, allocations: 3.661 MB / 456.9 MB, free: 12.65 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.3212, allocations: 0 / 456.9 MB, free: 12.65 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.3213, allocations: 8 kB / 456.9 MB, free: 12.64 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006623/0.3219, allocations: 0.7173 MB / 457.6 MB, free: 12.03 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.3227, allocations: 0.795 MB / 458.4 MB, free: 11.23 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3227, allocations: 0 / 458.4 MB, free: 11.23 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.3227, allocations: 4 kB / 458.4 MB, free: 11.22 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3228, allocations: 3.984 kB / 458.4 MB, free: 11.22 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.323, allocations: 283.6 kB / 458.7 MB, free: 10.91 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.3243, allocations: 1.821 MB / 460.5 MB, free: 9.078 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.3255, allocations: 1.809 MB / 462.3 MB, free: 7.27 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.3255, allocations: 4 kB / 462.3 MB, free: 7.266 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008356/0.3264, allocations: 1.037 MB / 463.3 MB, free: 6.211 MB / 338.8 MB Notification: Performance of pre-optimization done (n=225): time 1.152e-06/0.3264, allocations: 0 / 463.3 MB, free: 6.211 MB / 338.8 MB Notification: Performance of matching and sorting (n=225): time 0.004687/0.3311, allocations: 6.317 MB / 469.7 MB, free: 15.89 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002325/0.3313, allocations: 404.4 kB / 470 MB, free: 15.47 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3315, allocations: 167.7 kB / 470.2 MB, free: 15.3 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.3317, allocations: 157.6 kB / 470.4 MB, free: 15.14 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.3317, allocations: 107.9 kB / 470.5 MB, free: 15.03 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000597/0.3323, allocations: 0.9021 MB / 471.4 MB, free: 14.11 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.3324, allocations: 0 / 471.4 MB, free: 14.11 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.3326, allocations: 470.6 kB / 471.8 MB, free: 13.64 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.3339, allocations: 0.9832 MB / 472.8 MB, free: 12.66 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.336, allocations: 2.554 MB / 475.4 MB, free: 9.355 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.3378, allocations: 1.49 MB / 476.9 MB, free: 7.863 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.353e-05/0.3378, allocations: 16 kB / 476.9 MB, free: 7.848 MB / 354.8 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.004427/0.3423, allocations: 3.302 MB / 480.2 MB, free: 4.539 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3423, allocations: 4 kB / 480.2 MB, free: 4.535 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.095e-05/0.3423, allocations: 56 kB / 480.2 MB, free: 4.48 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-05/0.3424, allocations: 84 kB / 480.3 MB, free: 4.398 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.3437, allocations: 0.5183 MB / 480.8 MB, free: 3.879 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.785e-05/0.3438, allocations: 111.6 kB / 480.9 MB, free: 3.77 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.345, allocations: 221.6 kB / 481.2 MB, free: 3.551 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.3452, allocations: 196.8 kB / 481.4 MB, free: 3.359 MB / 354.8 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.0005933/0.3458, allocations: 0.5691 MB / 481.9 MB, free: 2.777 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.3459, allocations: 103.1 kB / 482 MB, free: 2.676 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.346, allocations: 21.14 kB / 482 MB, free: 2.648 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.346, allocations: 0 / 482 MB, free: 2.648 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.346, allocations: 3.906 kB / 482 MB, free: 2.645 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.346, allocations: 0 / 482 MB, free: 2.645 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.3464, allocations: 434.4 kB / 482.5 MB, free: 2.184 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3464, allocations: 0 / 482.5 MB, free: 2.184 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-06/0.3464, allocations: 5.062 kB / 482.5 MB, free: 2.18 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3464, allocations: 4 kB / 482.5 MB, free: 2.176 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/0.3465, allocations: 43.98 kB / 482.5 MB, free: 2.133 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3465, allocations: 0 / 482.5 MB, free: 2.133 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3465, allocations: 0 / 482.5 MB, free: 2.133 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006144/0.3526, allocations: 7.571 MB / 490.1 MB, free: 10.54 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.3528, allocations: 167.7 kB / 490.3 MB, free: 10.36 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.353, allocations: 52.78 kB / 490.3 MB, free: 10.31 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.3532, allocations: 35.91 kB / 490.3 MB, free: 10.27 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3533, allocations: 28.03 kB / 490.4 MB, free: 10.25 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.3534, allocations: 69.02 kB / 490.4 MB, free: 10.18 MB / 370.8 MB Notification: Performance of sort global known variables: time 9.282e-05/0.3535, allocations: 131.5 kB / 490.6 MB, free: 10.05 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.001786/0.3553, allocations: 423.9 kB / 491 MB, free: 9.637 MB / 370.8 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.0006843/0.356, allocations: 345.8 kB / 491.3 MB, free: 9.355 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.003596/0.3596, allocations: 3.062 MB / 494.4 MB, free: 6.297 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3596, allocations: 4.125 kB / 494.4 MB, free: 6.293 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1238/0.4835, allocations: 53.51 MB / 0.5351 GB, free: 173.3 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.4838, allocations: 33.66 kB / 0.5351 GB, free: 173.3 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.4859, allocations: 1.872 MB / 0.5369 GB, free: 173 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/0.4863, allocations: 1.061 MB / 0.5379 GB, free: 172.3 MB / 402.8 MB Notification: Performance of SimCode: time 9.22e-07/0.4863, allocations: 0 / 0.5379 GB, free: 172.3 MB / 402.8 MB Notification: Performance of Templates: time 0.01561/0.502, allocations: 12.88 MB / 0.5505 GB, free: 161.3 MB / 402.8 MB make -j1 -f Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/FastFourierTransform/Examples/RealFFT2/RealFFT2.csv","../files/Modelica_3.2.3_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