Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001053, allocations: 177.3 kB / 17.41 MB, free: 4.418 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.392/1.392, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007314/0.0007315, allocations: 78.44 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.000307, allocations: 12 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2066, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08522/0.2919, allocations: 77.41 MB / 453.1 MB, free: 3.242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.2922, allocations: 71.97 kB / 453.2 MB, free: 3.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03697/0.3291, allocations: 13.64 MB / 466.8 MB, free: 5.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3292, allocations: 0 / 466.8 MB, free: 5.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.3292, allocations: 8 kB / 466.8 MB, free: 5.504 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001102/0.3303, allocations: 1.05 MB / 467.9 MB, free: 4.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3304, allocations: 11.97 kB / 467.9 MB, free: 4.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.89e-05/0.3305, allocations: 75.91 kB / 468 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.3312, allocations: 403.5 kB / 468.4 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3312, allocations: 12.36 kB / 468.4 MB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.3313, allocations: 8.375 kB / 468.4 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.3322, allocations: 0.8685 MB / 469.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3322, allocations: 0 / 469.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.3322, allocations: 0 / 469.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3322, allocations: 0 / 469.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007433/0.333, allocations: 0.779 MB / 470 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.3333, allocations: 419.8 kB / 470.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.3349, allocations: 2.082 MB / 472.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.3365, allocations: 2.067 MB / 474.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.3365, allocations: 0 / 474.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.3376, allocations: 1.127 MB / 475.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 1.483e-06/0.3376, allocations: 3.938 kB / 475.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=246): time 0.007695/0.3453, allocations: 4.9 MB / 480.6 MB, free: 7.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002971/0.3456, allocations: 432.4 kB / 481.1 MB, free: 7.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3458, allocations: 191.6 kB / 481.2 MB, free: 6.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000205/0.3461, allocations: 201.6 kB / 481.4 MB, free: 6.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.3461, allocations: 108.2 kB / 481.5 MB, free: 6.562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007251/0.3469, allocations: 0.9757 MB / 482.5 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.347, allocations: 80 kB / 482.6 MB, free: 5.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.3473, allocations: 483.5 kB / 483.1 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.3488, allocations: 1.093 MB / 484.2 MB, free: 3.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/0.3515, allocations: 2.829 MB / 487 MB, free: 236 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/0.356, allocations: 4.187 MB / 491.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.467e-05/0.3561, allocations: 20 kB / 491.2 MB, free: 11.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005884/0.3619, allocations: 3.994 MB / 495.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.362, allocations: 61.92 kB / 495.3 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-05/0.3621, allocations: 59.98 kB / 495.3 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-05/0.3622, allocations: 84 kB / 495.4 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.3636, allocations: 0.569 MB / 496 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.27e-05/0.3637, allocations: 123.5 kB / 496.1 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.3649, allocations: 320.8 kB / 496.4 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.3652, allocations: 196 kB / 496.6 MB, free: 5.773 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 () * Number of clocked 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.0009116/0.3661, allocations: 0.845 MB / 497.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.3662, allocations: 122.9 kB / 497.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.3663, allocations: 17.92 kB / 497.6 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3663, allocations: 3.938 kB / 497.6 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3663, allocations: 4 kB / 497.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3663, allocations: 0 / 497.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.3668, allocations: 0.564 MB / 498.1 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3668, allocations: 3.938 kB / 498.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3668, allocations: 0 / 498.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3668, allocations: 4 kB / 498.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.367, allocations: 47.98 kB / 498.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.367, allocations: 3.938 kB / 498.2 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.367, allocations: 0 / 498.2 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1755/0.5425, allocations: 22.26 MB / 0.5083 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.5427, allocations: 190.9 kB / 0.5084 GB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.5429, allocations: 67.94 kB / 0.5085 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.5431, allocations: 36 kB / 0.5085 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.5432, allocations: 24 kB / 0.5086 GB, free: 105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.474e-05/0.5433, allocations: 71.98 kB / 0.5086 GB, free: 105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.012e-05/0.5434, allocations: 129.6 kB / 0.5088 GB, free: 104.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5434, allocations: 0 / 0.5088 GB, free: 104.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001799/0.5452, allocations: 0.5272 MB / 0.5093 GB, free: 104.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: 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) * 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.0007049/0.546, allocations: 391.8 kB / 0.5097 GB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003625/0.5496, allocations: 3.442 MB / 0.513 GB, free: 100.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5496, allocations: 11.66 kB / 0.513 GB, free: 100.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02388/0.5735, allocations: 59.44 MB / 0.5711 GB, free: 41.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.574, allocations: 79.66 kB / 0.5711 GB, free: 41.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.5764, allocations: 2.469 MB / 0.5736 GB, free: 38.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.5768, allocations: 1.004 MB / 0.5745 GB, free: 37.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.577, allocations: 71.44 kB / 0.5746 GB, free: 37.51 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.577, allocations: 0 / 0.5746 GB, free: 37.51 MB / 378.7 MB Notification: Performance of Templates: time 0.02071/0.5977, allocations: 16.6 MB / 0.5908 GB, free: 20.95 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & ./Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/FastFourierTransform/Examples/RealFFT1/RealFFT1.csv","../files/Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches