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.002368/0.002373, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 96.16 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.168e-05, allocations: 4 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3487, allocations: 47.56 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.4854, allocations: 76.61 MB / 438.9 MB, free: 9.715 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.4858, allocations: 71.95 kB / 439 MB, free: 9.645 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06516/0.5509, allocations: 13.54 MB / 452.5 MB, free: 12.14 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.551, allocations: 1.312 kB / 452.5 MB, free: 12.14 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.481e-05/0.551, allocations: 8 kB / 452.6 MB, free: 12.13 MB / 347.1 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.001585/0.5526, allocations: 1.028 MB / 453.6 MB, free: 11.05 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5527, allocations: 12.02 kB / 453.6 MB, free: 11.04 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.5529, allocations: 70.97 kB / 453.7 MB, free: 10.97 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01687/0.5698, allocations: 3.689 MB / 457.4 MB, free: 7.234 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.5698, allocations: 4 kB / 457.4 MB, free: 7.23 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.5699, allocations: 7.953 kB / 457.4 MB, free: 7.223 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001301/0.5712, allocations: 0.779 MB / 458.1 MB, free: 6.445 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.5726, allocations: 0.849 MB / 459 MB, free: 5.59 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.5727, allocations: 0 / 459 MB, free: 5.59 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.5727, allocations: 0 / 459 MB, free: 5.59 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.5728, allocations: 4 kB / 459 MB, free: 5.586 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.5732, allocations: 294.5 kB / 459.3 MB, free: 5.262 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.5759, allocations: 2.075 MB / 461.4 MB, free: 3.18 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002574/0.5785, allocations: 2.071 MB / 463.4 MB, free: 1.105 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.5785, allocations: 0 / 463.4 MB, free: 1.105 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.5803, allocations: 1.115 MB / 464.5 MB, free: 15.97 MB / 363.1 MB Notification: Performance of pre-optimization done (n=246): time 3.176e-06/0.5803, allocations: 0 / 464.5 MB, free: 15.97 MB / 363.1 MB Notification: Performance of matching and sorting (n=246): time 0.009301/0.5896, allocations: 2 MB / 466.5 MB, free: 13.96 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004214/0.5901, allocations: 432.4 kB / 467 MB, free: 13.52 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.5904, allocations: 166.5 kB / 467.1 MB, free: 13.34 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003465/0.5907, allocations: 158.7 kB / 467.3 MB, free: 13.18 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.5908, allocations: 170.6 kB / 467.5 MB, free: 13.01 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.5921, allocations: 0.9525 MB / 468.4 MB, free: 12.05 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.5922, allocations: 0 / 468.4 MB, free: 12.05 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0003379/0.5926, allocations: 475.4 kB / 468.9 MB, free: 11.57 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/0.595, allocations: 0.9955 MB / 469.9 MB, free: 10.57 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004079/0.5991, allocations: 2.68 MB / 472.5 MB, free: 7.043 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/0.6029, allocations: 1.517 MB / 474.1 MB, free: 5.523 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.26e-05/0.603, allocations: 16 kB / 474.1 MB, free: 5.508 MB / 363.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.009372/0.6124, allocations: 3.439 MB / 477.5 MB, free: 2.062 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-05/0.6125, allocations: 57.64 kB / 477.6 MB, free: 2 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.976e-05/0.6126, allocations: 60 kB / 477.6 MB, free: 1.941 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.6128, allocations: 97.92 kB / 477.7 MB, free: 1.848 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/0.6158, allocations: 0.5651 MB / 478.3 MB, free: 1.281 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001538/0.616, allocations: 119.6 kB / 478.4 MB, free: 1.164 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.6182, allocations: 244.8 kB / 478.7 MB, free: 0.9219 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004792/0.6187, allocations: 196 kB / 478.8 MB, free: 0.7305 MB / 363.1 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 () * 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.001679/0.6204, allocations: 0.6465 MB / 479.5 MB, free: 68 kB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.6207, allocations: 119 kB / 479.6 MB, free: 15.95 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.6208, allocations: 18.25 kB / 479.6 MB, free: 15.93 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.6208, allocations: 3.953 kB / 479.6 MB, free: 15.92 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6208, allocations: 0 / 479.6 MB, free: 15.92 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6208, allocations: 0 / 479.6 MB, free: 15.92 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006925/0.6215, allocations: 462.2 kB / 480.1 MB, free: 15.43 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6215, allocations: 3.938 kB / 480.1 MB, free: 15.43 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-06/0.6216, allocations: 4 kB / 480.1 MB, free: 15.43 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.6216, allocations: 0 / 480.1 MB, free: 15.43 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.6217, allocations: 51.98 kB / 480.1 MB, free: 15.38 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.6217, allocations: 0 / 480.1 MB, free: 15.38 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6217, allocations: 4 kB / 480.1 MB, free: 15.37 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/0.6335, allocations: 3.146 MB / 483.3 MB, free: 12.21 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.6338, allocations: 183.5 kB / 483.5 MB, free: 12.01 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/0.6341, allocations: 67.94 kB / 483.5 MB, free: 11.95 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.6346, allocations: 33.03 kB / 483.6 MB, free: 11.91 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.6348, allocations: 31.98 kB / 483.6 MB, free: 11.88 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/0.635, allocations: 71.98 kB / 483.7 MB, free: 11.81 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.6352, allocations: 127.5 kB / 483.8 MB, free: 11.69 MB / 379.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.6352, allocations: 4.031 kB / 483.8 MB, free: 11.68 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.003108/0.6383, allocations: 467.9 kB / 484.3 MB, free: 11.23 MB / 379.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: 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) * 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.001206/0.6396, allocations: 395.2 kB / 484.6 MB, free: 10.88 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.006911/0.6465, allocations: 3.186 MB / 487.8 MB, free: 7.691 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.6466, allocations: 192 / 487.8 MB, free: 7.691 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.3068/0.9534, allocations: 59.42 MB / 0.5344 GB, free: 102.9 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.9539, allocations: 33.12 kB / 0.5344 GB, free: 102.9 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.9571, allocations: 1.947 MB / 0.5363 GB, free: 101 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.9576, allocations: 1.02 MB / 0.5373 GB, free: 99.98 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.9579, allocations: 75.19 kB / 0.5374 GB, free: 99.91 MB / 395.1 MB Notification: Performance of SimCode: time 9.02e-07/0.9579, allocations: 0.75 kB / 0.5374 GB, free: 99.91 MB / 395.1 MB Notification: Performance of Templates: time 0.03397/0.9919, allocations: 16.25 MB / 0.5533 GB, free: 83.91 MB / 395.1 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