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: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 178.3 kB / 8.359 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 1.996/1.996, 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.001107/0.001106, allocations: 93.8 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.609e-05, allocations: 4 kB / 314.9 MB, free: 9.059 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3469, allocations: 47.56 MB / 362.4 MB, free: 45.76 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4761, allocations: 76.61 MB / 439 MB, free: 9.613 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.4764, allocations: 71.95 kB / 439.1 MB, free: 9.543 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06745/0.5439, allocations: 13.54 MB / 452.6 MB, free: 12.04 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.544, allocations: 0.6562 kB / 452.6 MB, free: 12.04 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.544, allocations: 8 kB / 452.6 MB, free: 12.03 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.001635/0.5457, allocations: 1.033 MB / 453.7 MB, free: 10.94 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.497e-05/0.5458, allocations: 8.031 kB / 453.7 MB, free: 10.93 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.546, allocations: 74.97 kB / 453.8 MB, free: 10.86 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01719/0.5632, allocations: 3.697 MB / 457.5 MB, free: 7.117 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.5633, allocations: 4 kB / 457.5 MB, free: 7.113 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.5633, allocations: 13.17 kB / 457.5 MB, free: 7.102 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001329/0.5647, allocations: 0.7673 MB / 458.2 MB, free: 6.336 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.5661, allocations: 0.8568 MB / 459.1 MB, free: 5.473 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5661, allocations: 4 kB / 459.1 MB, free: 5.469 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.5662, allocations: 4 kB / 459.1 MB, free: 5.465 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5662, allocations: 0 / 459.1 MB, free: 5.465 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.5667, allocations: 286.5 kB / 459.4 MB, free: 5.148 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.5694, allocations: 2.075 MB / 461.5 MB, free: 3.066 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00265/0.5721, allocations: 2.067 MB / 463.5 MB, free: 0.9961 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.5721, allocations: 0 / 463.5 MB, free: 0.9961 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00182/0.574, allocations: 1.127 MB / 464.7 MB, free: 15.85 MB / 363.1 MB Notification: Performance of pre-optimization done (n=246): time 3.397e-06/0.574, allocations: 0 / 464.7 MB, free: 15.85 MB / 363.1 MB Notification: Performance of matching and sorting (n=246): time 0.009293/0.5833, allocations: 1.988 MB / 466.6 MB, free: 13.86 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004196/0.5838, allocations: 429.9 kB / 467.1 MB, free: 13.41 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.584, allocations: 166.5 kB / 467.2 MB, free: 13.24 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003528/0.5844, allocations: 161.6 kB / 467.4 MB, free: 13.07 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5845, allocations: 170.7 kB / 467.6 MB, free: 12.9 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00128/0.5858, allocations: 0.9602 MB / 468.5 MB, free: 11.93 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.586, allocations: 0 / 468.5 MB, free: 11.93 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0003695/0.5864, allocations: 479.4 kB / 469 MB, free: 11.45 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002521/0.5889, allocations: 0.9838 MB / 470 MB, free: 10.46 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004233/0.5932, allocations: 2.684 MB / 472.6 MB, free: 6.93 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003943/0.5972, allocations: 1.518 MB / 474.2 MB, free: 5.41 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.332e-05/0.5973, allocations: 20 kB / 474.2 MB, free: 5.391 MB / 363.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.009978/0.6073, allocations: 3.431 MB / 477.6 MB, free: 1.953 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.6075, allocations: 61.69 kB / 477.7 MB, free: 1.887 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.6076, allocations: 56 kB / 477.7 MB, free: 1.832 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.6078, allocations: 95.95 kB / 477.8 MB, free: 1.738 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/0.6108, allocations: 0.5668 MB / 478.4 MB, free: 1.172 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001398/0.611, allocations: 119.6 kB / 478.5 MB, free: 1.055 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.6134, allocations: 244.8 kB / 478.7 MB, free: 0.8125 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004713/0.6139, allocations: 196 kB / 478.9 MB, free: 0.6211 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.001278/0.6152, allocations: 0.654 MB / 479.6 MB, free: 15.95 MB / 379.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01233/0.6275, allocations: 3.034 MB / 482.6 MB, free: 12.91 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.6279, allocations: 122.9 kB / 482.7 MB, free: 12.79 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.628, allocations: 18.23 kB / 482.8 MB, free: 12.77 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.628, allocations: 0 / 482.8 MB, free: 12.77 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.628, allocations: 4 kB / 482.8 MB, free: 12.76 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.6281, allocations: 3.938 kB / 482.8 MB, free: 12.76 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/0.6288, allocations: 458.3 kB / 483.2 MB, free: 12.27 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6288, allocations: 0 / 483.2 MB, free: 12.27 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-06/0.6288, allocations: 4.969 kB / 483.2 MB, free: 12.27 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.6289, allocations: 0 / 483.2 MB, free: 12.27 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.629, allocations: 47.98 kB / 483.3 MB, free: 12.22 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.629, allocations: 10.22 kB / 483.3 MB, free: 12.21 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.629, allocations: 0 / 483.3 MB, free: 12.21 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.6413, allocations: 3.138 MB / 486.4 MB, free: 9.055 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.6416, allocations: 191.4 kB / 486.6 MB, free: 8.848 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/0.642, allocations: 67.94 kB / 486.7 MB, free: 8.781 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.6425, allocations: 36.03 kB / 486.7 MB, free: 8.746 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.6427, allocations: 31.95 kB / 486.7 MB, free: 8.715 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/0.6429, allocations: 74.23 kB / 486.8 MB, free: 8.645 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.6431, allocations: 131.5 kB / 486.9 MB, free: 8.516 MB / 379.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.6431, allocations: 0 / 486.9 MB, free: 8.516 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.003087/0.6462, allocations: 459.9 kB / 487.4 MB, free: 8.066 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.01242/0.6587, allocations: 5.95 MB / 493.3 MB, free: 2.145 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.007269/0.666, allocations: 3.189 MB / 496.5 MB, free: 14.95 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6661, allocations: 0 / 496.5 MB, free: 14.95 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.324/0.9901, allocations: 59.41 MB / 0.5429 GB, free: 98.05 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.9906, allocations: 44.66 kB / 0.5429 GB, free: 98.01 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/0.9958, allocations: 2.187 MB / 0.5451 GB, free: 95.8 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.9963, allocations: 1.019 MB / 0.5461 GB, free: 94.75 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.9968, allocations: 263.4 kB / 0.5463 GB, free: 94.5 MB / 395.1 MB Notification: Performance of SimCode: time 1.232e-06/0.9968, allocations: 0 / 0.5463 GB, free: 94.5 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.25/4.247, allocations: 21.83 MB / 0.5676 GB, free: 72.87 MB / 395.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1.fmu > Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat does not exist to compare? outputFormat=mat