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.002213/0.002212, 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.038/2.038, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001133/0.001133, allocations: 98.47 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.115e-05, allocations: 4 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3359, allocations: 47.57 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.4632, allocations: 76.6 MB / 438.9 MB, free: 9.719 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4635, allocations: 67.97 kB / 439 MB, free: 9.652 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06586/0.5294, allocations: 13.39 MB / 452.4 MB, free: 12.29 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5295, allocations: 0 / 452.4 MB, free: 12.29 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.5295, allocations: 8 kB / 452.4 MB, free: 12.28 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001454/0.531, allocations: 0.9637 MB / 453.4 MB, free: 11.26 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.531, allocations: 12.03 kB / 453.4 MB, free: 11.25 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.5312, allocations: 66.97 kB / 453.5 MB, free: 11.18 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/0.5483, allocations: 3.688 MB / 457.1 MB, free: 7.449 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.5484, allocations: 0 / 457.1 MB, free: 7.449 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.5485, allocations: 15.95 kB / 457.2 MB, free: 7.434 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00125/0.5498, allocations: 0.7009 MB / 457.9 MB, free: 6.734 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.5511, allocations: 0.7787 MB / 458.6 MB, free: 5.949 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5512, allocations: 1.594 kB / 458.6 MB, free: 5.949 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.5512, allocations: 4 kB / 458.6 MB, free: 5.945 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5513, allocations: 0 / 458.6 MB, free: 5.945 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.5517, allocations: 278.7 kB / 458.9 MB, free: 5.637 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.5541, allocations: 1.809 MB / 460.7 MB, free: 3.82 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002312/0.5565, allocations: 1.794 MB / 462.5 MB, free: 2.023 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.5565, allocations: 0 / 462.5 MB, free: 2.023 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/0.5582, allocations: 1.037 MB / 463.6 MB, free: 0.9688 MB / 347.1 MB Notification: Performance of pre-optimization done (n=225): time 4.488e-06/0.5583, allocations: 0 / 463.6 MB, free: 0.9688 MB / 347.1 MB Notification: Performance of matching and sorting (n=225): time 0.009189/0.5675, allocations: 1.844 MB / 465.4 MB, free: 15.12 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006392/0.5682, allocations: 396.5 kB / 465.8 MB, free: 14.7 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.5686, allocations: 162.5 kB / 465.9 MB, free: 14.54 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005783/0.5692, allocations: 145.6 kB / 466.1 MB, free: 14.39 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.5694, allocations: 170.4 kB / 466.2 MB, free: 14.22 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001858/0.5712, allocations: 0.9137 MB / 467.2 MB, free: 13.29 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.5715, allocations: 0 / 467.2 MB, free: 13.29 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0004965/0.5721, allocations: 466.7 kB / 467.6 MB, free: 12.83 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003416/0.5755, allocations: 0.9216 MB / 468.5 MB, free: 11.91 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005542/0.5811, allocations: 2.48 MB / 471 MB, free: 8.68 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005239/0.5864, allocations: 1.404 MB / 472.4 MB, free: 7.273 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-05/0.5865, allocations: 16 kB / 472.4 MB, free: 7.258 MB / 363.1 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01146/0.598, allocations: 3.185 MB / 475.6 MB, free: 4.066 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.5982, allocations: 61.69 kB / 475.7 MB, free: 4 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.5983, allocations: 56 kB / 475.7 MB, free: 3.945 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.5985, allocations: 87.95 kB / 475.8 MB, free: 3.859 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003705/0.6023, allocations: 0.5183 MB / 476.3 MB, free: 3.34 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000172/0.6025, allocations: 111.6 kB / 476.5 MB, free: 3.23 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/0.6051, allocations: 223.4 kB / 476.7 MB, free: 3.012 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004775/0.6056, allocations: 180.8 kB / 476.8 MB, free: 2.836 MB / 363.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 () * 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.001411/0.607, allocations: 0.5811 MB / 477.4 MB, free: 2.238 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.6074, allocations: 111.1 kB / 477.5 MB, free: 2.129 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.6075, allocations: 13.47 kB / 477.6 MB, free: 2.109 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.6075, allocations: 3.953 kB / 477.6 MB, free: 2.105 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.6075, allocations: 4 kB / 477.6 MB, free: 2.102 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6075, allocations: 4 kB / 477.6 MB, free: 2.098 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008634/0.6084, allocations: 434.4 kB / 478 MB, free: 1.637 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.6084, allocations: 0 / 478 MB, free: 1.637 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-06/0.6085, allocations: 0 / 478 MB, free: 1.637 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.6085, allocations: 0 / 478 MB, free: 1.637 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/0.6086, allocations: 43.98 kB / 478 MB, free: 1.594 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.6087, allocations: 0 / 478 MB, free: 1.594 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.6087, allocations: 4 kB / 478 MB, free: 1.59 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/0.6233, allocations: 2.907 MB / 480.9 MB, free: 14.66 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.6236, allocations: 175.6 kB / 481.1 MB, free: 14.46 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.6239, allocations: 51.97 kB / 481.2 MB, free: 14.41 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.6243, allocations: 28 kB / 481.2 MB, free: 14.39 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.6245, allocations: 27.98 kB / 481.2 MB, free: 14.36 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.6247, allocations: 60 kB / 481.3 MB, free: 14.3 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.6249, allocations: 135.5 kB / 481.4 MB, free: 14.17 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6249, allocations: 0 / 481.4 MB, free: 14.17 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.002688/0.6276, allocations: 431.8 kB / 481.8 MB, free: 13.75 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: 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) * 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.001102/0.6287, allocations: 360.2 kB / 482.2 MB, free: 13.44 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.006352/0.6351, allocations: 2.954 MB / 485.1 MB, free: 10.48 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.6351, allocations: 0 / 485.1 MB, free: 10.48 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.3118/0.947, allocations: 52.31 MB / 0.5249 GB, free: 102.1 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.9475, allocations: 36.72 kB / 0.5249 GB, free: 102.1 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.9507, allocations: 1.835 MB / 0.5267 GB, free: 100.4 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.9513, allocations: 0.9911 MB / 0.5276 GB, free: 99.36 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.9516, allocations: 68.97 kB / 0.5277 GB, free: 99.29 MB / 395.1 MB Notification: Performance of SimCode: time 1.313e-06/0.9516, allocations: 0.5 kB / 0.5277 GB, free: 99.29 MB / 395.1 MB Notification: Performance of Templates: time 0.03376/0.9853, allocations: 15.18 MB / 0.5425 GB, free: 84.34 MB / 395.1 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