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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 174.8 kB / 18.04 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 224.2 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007489/0.0007489, allocations: 97.19 kB / 272.5 MB, free: 8.223 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002822, allocations: 8 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2245, allocations: 47.57 MB / 377 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09051/0.315, allocations: 77.4 MB / 454.4 MB, free: 3.125 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.3154, allocations: 71.97 kB / 454.5 MB, free: 3.055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0374/0.3528, allocations: 13.49 MB / 468 MB, free: 5.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3528, allocations: 3.938 kB / 468 MB, free: 5.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.3529, allocations: 12 kB / 468 MB, free: 5.523 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.001487/0.3544, allocations: 0.9872 MB / 469 MB, free: 4.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.3544, allocations: 8.031 kB / 469 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.3546, allocations: 68 kB / 469.1 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.3554, allocations: 399.4 kB / 469.5 MB, free: 3.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.3555, allocations: 8.375 kB / 469.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.3555, allocations: 16.38 kB / 469.5 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3565, allocations: 0.7943 MB / 470.3 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3565, allocations: 0 / 470.3 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.3566, allocations: 4 kB / 470.3 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3566, allocations: 4 kB / 470.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.3573, allocations: 0.7048 MB / 471 MB, free: 2.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.3578, allocations: 400 kB / 471.4 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.3593, allocations: 1.805 MB / 473.2 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.3608, allocations: 1.801 MB / 475 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3608, allocations: 0 / 475 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009889/0.3618, allocations: 1.041 MB / 476 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 2.244e-06/0.3618, allocations: 3.938 kB / 476 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.007436/0.3692, allocations: 4.341 MB / 480.4 MB, free: 8.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002866/0.3696, allocations: 404.5 kB / 480.8 MB, free: 8.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.3698, allocations: 191.6 kB / 481 MB, free: 8.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002281/0.37, allocations: 185.6 kB / 481.1 MB, free: 8.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.3701, allocations: 103.9 kB / 481.2 MB, free: 8.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008275/0.371, allocations: 0.9255 MB / 482.2 MB, free: 7.117 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.3711, allocations: 80 kB / 482.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002679/0.3714, allocations: 462.7 kB / 482.7 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.373, allocations: 1.022 MB / 483.7 MB, free: 5.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/0.3757, allocations: 2.609 MB / 486.3 MB, free: 2.199 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/0.38, allocations: 3.865 MB / 490.2 MB, free: 13.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.278e-05/0.3801, allocations: 16 kB / 490.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.006304/0.3864, allocations: 3.704 MB / 493.9 MB, free: 9.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-05/0.3865, allocations: 53.7 kB / 494 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.3866, allocations: 56.88 kB / 494 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000114/0.3868, allocations: 76 kB / 494.1 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.3883, allocations: 0.5261 MB / 494.6 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001237/0.3884, allocations: 111.6 kB / 494.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.3897, allocations: 289.2 kB / 495 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/0.39, allocations: 184 kB / 495.2 MB, free: 8.539 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.001062/0.3911, allocations: 0.7575 MB / 495.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.3913, allocations: 115 kB / 496.1 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.3914, allocations: 17.16 kB / 496.1 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3914, allocations: 3.938 kB / 496.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3914, allocations: 0 / 496.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3914, allocations: 7.938 kB / 496.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.3919, allocations: 0.5329 MB / 496.6 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.392, allocations: 3.938 kB / 496.6 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-06/0.392, allocations: 0 / 496.6 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.392, allocations: 3.984 kB / 496.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.3921, allocations: 44 kB / 496.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3921, allocations: 0 / 496.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3921, allocations: 0 / 496.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1963/0.5884, allocations: 21.78 MB / 0.5063 GB, free: 109.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.5886, allocations: 177.8 kB / 0.5065 GB, free: 109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.5887, allocations: 47.97 kB / 0.5065 GB, free: 108.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.589, allocations: 32 kB / 0.5065 GB, free: 108.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.5891, allocations: 27.98 kB / 0.5066 GB, free: 108.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.207e-05/0.5891, allocations: 60 kB / 0.5066 GB, free: 108.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.974e-05/0.5892, allocations: 129.6 kB / 0.5067 GB, free: 108.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5892, allocations: 0 / 0.5067 GB, free: 108.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001781/0.591, allocations: 0.4932 MB / 0.5072 GB, free: 108.2 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.000764/0.5918, allocations: 370.7 kB / 0.5076 GB, free: 107.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.5952, allocations: 3.183 MB / 0.5107 GB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5952, allocations: 10.16 kB / 0.5107 GB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02219/0.6174, allocations: 52.35 MB / 0.5618 GB, free: 52.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.6179, allocations: 63.75 kB / 0.5619 GB, free: 52.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.6204, allocations: 2.279 MB / 0.5641 GB, free: 50.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.6208, allocations: 0.9797 MB / 0.5651 GB, free: 49.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.6211, allocations: 192.9 kB / 0.5653 GB, free: 48.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.6212, allocations: 67.44 kB / 0.5653 GB, free: 48.81 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6213, allocations: 3.469 kB / 0.5653 GB, free: 48.81 MB / 378.7 MB Notification: Performance of Templates: time 0.01826/0.6395, allocations: 12.86 MB / 0.5779 GB, free: 36.02 MB / 378.7 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/jenkins1/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