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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 95.09 kB / 16.93 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 181 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004816, allocations: 11.44 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1134, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001968/0.1154, allocations: 1.016 MB / 329.3 MB, free: 3.078 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1172, allocations: 0.9698 MB / 330.3 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.1173, allocations: 0 / 330.3 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005398/0.1178, allocations: 79.72 kB / 330.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.118, allocations: 87.86 kB / 330.5 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007407/0.1188, allocations: 171.5 kB / 330.6 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.119, allocations: 131.8 kB / 330.8 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.1191, allocations: 0 / 330.8 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.1193, allocations: 127.7 kB / 330.9 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.1196, allocations: 143.8 kB / 331 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1196, allocations: 3.938 kB / 331 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.12, allocations: 195.7 kB / 331.2 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.1202, allocations: 195.5 kB / 331.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1203, allocations: 105.3 kB / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.1208, allocations: 367.2 kB / 331.9 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1208, allocations: 4 kB / 331.9 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1208, allocations: 0 / 331.9 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.1208, allocations: 4 kB / 331.9 MB, free: 0.5156 MB / 270.1 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.001136/0.122, allocations: 0.983 MB / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.122, allocations: 8.031 kB / 332.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.1222, allocations: 71 kB / 332.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.1225, allocations: 254.1 kB / 333.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1225, allocations: 7.953 kB / 333.2 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.1225, allocations: 12 kB / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.1234, allocations: 0.8373 MB / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1234, allocations: 0 / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1234, allocations: 0 / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.1234, allocations: 0 / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006808/0.1241, allocations: 0.7829 MB / 334.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.1245, allocations: 376 kB / 335.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.1259, allocations: 1.883 MB / 337.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.1259, allocations: 3.953 kB / 337.1 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009989/0.127, allocations: 1.072 MB / 338.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of pre-optimization done (n=225): time 4.608e-06/0.127, allocations: 3.984 kB / 338.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of matching and sorting (n=225): time 0.00523/0.1322, allocations: 4.68 MB / 342.8 MB, free: 5.352 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002786/0.1325, allocations: 400.5 kB / 343.2 MB, free: 4.938 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1327, allocations: 194.5 kB / 343.4 MB, free: 4.734 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.133, allocations: 181.6 kB / 343.6 MB, free: 4.551 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.133, allocations: 107.9 kB / 343.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000816/0.1339, allocations: 0.9255 MB / 344.6 MB, free: 3.504 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.134, allocations: 76 kB / 344.7 MB, free: 3.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002945/0.1343, allocations: 466.6 kB / 345.2 MB, free: 2.965 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.136, allocations: 1.022 MB / 346.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002796/0.1388, allocations: 2.6 MB / 348.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.1412, allocations: 1.527 MB / 350.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.071e-05/0.1413, allocations: 16 kB / 350.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005945/0.1472, allocations: 3.709 MB / 354 MB, free: 9.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.02e-05/0.1473, allocations: 53.7 kB / 354.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/0.1474, allocations: 56 kB / 354.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.1476, allocations: 84 kB / 354.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.149, allocations: 0.5222 MB / 354.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001242/0.1492, allocations: 111.6 kB / 354.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.1505, allocations: 293.2 kB / 355.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/0.1508, allocations: 180.4 kB / 355.3 MB, free: 8.023 MB / 302.1 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.00107/0.1519, allocations: 0.7653 MB / 356.1 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.1521, allocations: 114.9 kB / 356.2 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.1521, allocations: 17.09 kB / 356.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1521, allocations: 0 / 356.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1521, allocations: 0 / 356.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1521, allocations: 0 / 356.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.1527, allocations: 0.5097 MB / 356.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1528, allocations: 0 / 356.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-06/0.1528, allocations: 4 kB / 356.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.1528, allocations: 0 / 356.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/0.1529, allocations: 47.94 kB / 356.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.1529, allocations: 3.984 kB / 356.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1529, allocations: 0 / 356.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02263/0.1755, allocations: 21.86 MB / 378.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/0.176, allocations: 175.7 kB / 378.8 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.1762, allocations: 51.91 kB / 378.9 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.1766, allocations: 35.95 kB / 378.9 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/0.1769, allocations: 28.02 kB / 378.9 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.757e-05/0.177, allocations: 36 kB / 379 MB, free: 252 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.1773, allocations: 128.3 kB / 379.1 MB, free: 124 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1773, allocations: 0 / 379.1 MB, free: 124 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.1851/0.3623, allocations: 484.1 kB / 379.6 MB, free: 54.27 MB / 318.1 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.0008473/0.3632, allocations: 354 kB / 379.9 MB, free: 54.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005552/0.3688, allocations: 3.183 MB / 383.1 MB, free: 53.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.3688, allocations: 1.094 kB / 383.1 MB, free: 53.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.03379/0.4026, allocations: 52.37 MB / 435.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.4031, allocations: 40.12 kB / 435.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.4056, allocations: 2.249 MB / 437.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.4059, allocations: 0.9913 MB / 438.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003184/0.4063, allocations: 191.9 kB / 438.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.4064, allocations: 71.44 kB / 439 MB, free: 5.332 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4064, allocations: 4 kB / 439 MB, free: 5.328 MB / 318.1 MB Notification: Performance of Templates: time 0.01976/0.4262, allocations: 12.76 MB / 451.8 MB, free: 8.586 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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