Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.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.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_4.0.0_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_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 172.2 kB / 17.39 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006735/0.0006735, allocations: 92.36 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002933, allocations: 15.94 kB / 352.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2029, allocations: 50.4 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08728/0.2902, allocations: 78.18 MB / 480.9 MB, free: 2.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.2904, allocations: 81.38 kB / 481 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03579/0.3262, allocations: 13.62 MB / 494.6 MB, free: 4.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3263, allocations: 0 / 494.6 MB, free: 4.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.3263, allocations: 8 kB / 494.6 MB, free: 4.461 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001193/0.3275, allocations: 0.9795 MB / 495.6 MB, free: 3.422 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3275, allocations: 12.03 kB / 495.6 MB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.3277, allocations: 64 kB / 495.7 MB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.3284, allocations: 419.4 kB / 496.1 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3284, allocations: 8.312 kB / 496.1 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.3285, allocations: 12.38 kB / 496.1 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.3293, allocations: 0.7866 MB / 496.9 MB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3293, allocations: 4 kB / 496.9 MB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.3293, allocations: 0 / 496.9 MB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3293, allocations: 4 kB / 496.9 MB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.33, allocations: 0.7048 MB / 497.6 MB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.3303, allocations: 400 kB / 498 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.3316, allocations: 1.809 MB / 499.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.333, allocations: 1.797 MB / 0.4899 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.333, allocations: 0 / 0.4899 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000884/0.3339, allocations: 1.037 MB / 0.4909 GB, free: 12.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=225): time 1.393e-06/0.3339, allocations: 0 / 0.4909 GB, free: 12.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=225): time 0.007212/0.3411, allocations: 4.353 MB / 0.4951 GB, free: 7.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002263/0.3414, allocations: 400.4 kB / 0.4955 GB, free: 7.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3416, allocations: 195 kB / 0.4957 GB, free: 7.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001838/0.3418, allocations: 185.6 kB / 0.4959 GB, free: 7.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.3418, allocations: 107.9 kB / 0.496 GB, free: 6.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006501/0.3425, allocations: 0.9138 MB / 0.4969 GB, free: 6.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3426, allocations: 76 kB / 0.4969 GB, free: 5.984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.3428, allocations: 470.7 kB / 0.4974 GB, free: 5.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.3443, allocations: 1.018 MB / 0.4984 GB, free: 4.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/0.3467, allocations: 2.62 MB / 0.5009 GB, free: 1.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2032/0.55, allocations: 3.852 MB / 0.5047 GB, free: 99.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.737e-05/0.5501, allocations: 17.12 kB / 0.5047 GB, free: 99.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005594/0.5557, allocations: 3.708 MB / 0.5083 GB, free: 98.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.5558, allocations: 55.3 kB / 0.5084 GB, free: 98.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.887e-05/0.5558, allocations: 51.75 kB / 0.5084 GB, free: 98.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.801e-05/0.5559, allocations: 78.91 kB / 0.5085 GB, free: 98.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.557, allocations: 0.5251 MB / 0.509 GB, free: 98.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.976e-05/0.5571, allocations: 117.9 kB / 0.5091 GB, free: 98.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009618/0.5581, allocations: 289.8 kB / 0.5094 GB, free: 98.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.5582, allocations: 185.2 kB / 0.5096 GB, free: 98.68 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.0006898/0.5589, allocations: 0.7628 MB / 0.5103 GB, free: 98.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.5591, allocations: 110.1 kB / 0.5104 GB, free: 98.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.5591, allocations: 17.16 kB / 0.5105 GB, free: 98.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.5591, allocations: 0 / 0.5105 GB, free: 98.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5591, allocations: 1.781 kB / 0.5105 GB, free: 98.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.5591, allocations: 3.938 kB / 0.5105 GB, free: 98.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.5594, allocations: 0.5274 MB / 0.511 GB, free: 98.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5595, allocations: 0 / 0.511 GB, free: 98.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.5595, allocations: 0 / 0.511 GB, free: 98.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5595, allocations: 7.969 kB / 0.511 GB, free: 98.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.996e-05/0.5595, allocations: 39.05 kB / 0.511 GB, free: 98.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5596, allocations: 0 / 0.511 GB, free: 98.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5596, allocations: 0 / 0.511 GB, free: 98.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/0.5743, allocations: 21.79 MB / 0.5323 GB, free: 77.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.5744, allocations: 174.5 kB / 0.5325 GB, free: 77.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.5746, allocations: 51.97 kB / 0.5325 GB, free: 77.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.5748, allocations: 28 kB / 0.5325 GB, free: 77.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.5749, allocations: 28.03 kB / 0.5326 GB, free: 77.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.575, allocations: 67.92 kB / 0.5326 GB, free: 77.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.77e-05/0.5751, allocations: 127.8 kB / 0.5328 GB, free: 77.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5751, allocations: 4 kB / 0.5328 GB, free: 77.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001825/0.5769, allocations: 0.4899 MB / 0.5332 GB, free: 76.73 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.000715/0.5776, allocations: 384.4 kB / 0.5336 GB, free: 76.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003034/0.5807, allocations: 3.181 MB / 0.5367 GB, free: 73.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5807, allocations: 0 / 0.5367 GB, free: 73.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0215/0.6022, allocations: 52.35 MB / 0.5878 GB, free: 20.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.6027, allocations: 65.44 kB / 0.5879 GB, free: 20.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.6051, allocations: 2.283 MB / 0.5901 GB, free: 18.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.6055, allocations: 0.9785 MB / 0.5911 GB, free: 17.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003467/0.6058, allocations: 196.9 kB / 0.5913 GB, free: 17.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.606, allocations: 67.44 kB / 0.5913 GB, free: 17.25 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.606, allocations: 0 / 0.5913 GB, free: 17.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01734/0.6233, allocations: 12.84 MB / 0.6039 GB, free: 4.477 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/FastFourierTransform/Examples/RealFFT2/RealFFT2.csv","../files/Modelica_4.0.0_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