Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009149/0.0009149, allocations: 180.9 kB / 17.41 MB, free: 4.289 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.28/1.28, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007091/0.0007091, allocations: 86.38 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004143, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2244, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08536/0.3098, allocations: 77.39 MB / 453.1 MB, free: 3.227 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.31, allocations: 83.95 kB / 453.2 MB, free: 3.145 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03558/0.3456, allocations: 13.49 MB / 466.7 MB, free: 5.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3456, allocations: 0 / 466.7 MB, free: 5.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.3457, allocations: 8 kB / 466.7 MB, free: 5.621 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.001027/0.3467, allocations: 0.9794 MB / 467.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3468, allocations: 12.03 kB / 467.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.3469, allocations: 68 kB / 467.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006414/0.3475, allocations: 411.4 kB / 468.2 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3475, allocations: 8.375 kB / 468.2 MB, free: 4.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.3476, allocations: 8.375 kB / 468.2 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007618/0.3483, allocations: 0.7943 MB / 469 MB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.3484, allocations: 3.938 kB / 469 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.3484, allocations: 0 / 469 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3484, allocations: 4 kB / 469 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000681/0.3491, allocations: 0.7087 MB / 469.7 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.3494, allocations: 400 kB / 470.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.3508, allocations: 1.809 MB / 471.9 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.3522, allocations: 1.794 MB / 473.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3522, allocations: 3.984 kB / 473.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009692/0.3532, allocations: 1.037 MB / 474.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 1.904e-06/0.3532, allocations: 4 kB / 474.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.007681/0.3609, allocations: 4.345 MB / 479.1 MB, free: 9.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002576/0.3612, allocations: 404.4 kB / 479.5 MB, free: 8.641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.3614, allocations: 191.6 kB / 479.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002053/0.3616, allocations: 189.6 kB / 479.8 MB, free: 8.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.3617, allocations: 99.91 kB / 479.9 MB, free: 8.148 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007152/0.3624, allocations: 0.9216 MB / 480.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.3625, allocations: 80.03 kB / 480.9 MB, free: 7.137 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.3628, allocations: 466.6 kB / 481.4 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.3642, allocations: 1.022 MB / 482.4 MB, free: 5.648 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.3666, allocations: 2.609 MB / 485 MB, free: 2.293 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004301/0.3709, allocations: 3.862 MB / 488.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.933e-05/0.371, allocations: 16 kB / 488.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005633/0.3766, allocations: 3.708 MB / 492.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.252e-05/0.3767, allocations: 54.8 kB / 492.7 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.966e-05/0.3768, allocations: 52 kB / 492.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.814e-05/0.3769, allocations: 76.78 kB / 492.8 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.3782, allocations: 0.5261 MB / 493.3 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.06e-05/0.3783, allocations: 115.6 kB / 493.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.3795, allocations: 293.2 kB / 493.7 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.3797, allocations: 180 kB / 493.9 MB, free: 8.629 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.0008235/0.3806, allocations: 0.7575 MB / 494.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.3807, allocations: 111 kB / 494.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.3808, allocations: 17.16 kB / 494.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3808, allocations: 4 kB / 494.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3808, allocations: 0 / 494.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3808, allocations: 0 / 494.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.3814, allocations: 0.5446 MB / 495.3 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3815, allocations: 3.938 kB / 495.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-07/0.3815, allocations: 0 / 495.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3815, allocations: 0 / 495.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.3816, allocations: 39.98 kB / 495.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3816, allocations: 0 / 495.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.3816, allocations: 11.94 kB / 495.4 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2101/0.5918, allocations: 21.78 MB / 0.505 GB, free: 109.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.592, allocations: 178.2 kB / 0.5052 GB, free: 109.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.5921, allocations: 51.17 kB / 0.5052 GB, free: 109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.5924, allocations: 31.98 kB / 0.5053 GB, free: 109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.5925, allocations: 24 kB / 0.5053 GB, free: 109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-05/0.5926, allocations: 63.98 kB / 0.5054 GB, free: 108.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.5927, allocations: 133.6 kB / 0.5055 GB, free: 108.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5927, allocations: 0 / 0.5055 GB, free: 108.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001815/0.5945, allocations: 497.2 kB / 0.506 GB, free: 108.3 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.0007234/0.5953, allocations: 374.1 kB / 0.5063 GB, free: 108 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003423/0.5987, allocations: 3.176 MB / 0.5094 GB, free: 104.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.5987, allocations: 6.562 kB / 0.5094 GB, free: 104.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02157/0.6203, allocations: 52.35 MB / 0.5605 GB, free: 52.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.6208, allocations: 71.69 kB / 0.5606 GB, free: 52.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.6232, allocations: 2.332 MB / 0.5629 GB, free: 50.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.6235, allocations: 0.9719 MB / 0.5638 GB, free: 49.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.6238, allocations: 71.44 kB / 0.5639 GB, free: 49.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6238, allocations: 0 / 0.5639 GB, free: 49.04 MB / 378.7 MB Notification: Performance of Templates: time 0.02035/0.6441, allocations: 15.48 MB / 0.579 GB, free: 33.6 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches