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/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.RealFFT2,fileNamePrefix="Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT2,fileNamePrefix="Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT2",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.00104/0.00104, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009084/0.0009083, allocations: 90.48 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.956e-05/1.958e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 47.59 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.4948, allocations: 76.85 MB / 440 MB, free: 2.504 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.4951, allocations: 74.39 kB / 440.1 MB, free: 2.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03669/0.5318, allocations: 13.38 MB / 453.5 MB, free: 7.477 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5319, allocations: 0 / 453.5 MB, free: 7.477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.5319, allocations: 8 kB / 453.5 MB, free: 7.469 MB / 330.7 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.001053/0.533, allocations: 0.978 MB / 454.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.533, allocations: 12.03 kB / 454.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.5332, allocations: 70.97 kB / 454.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009242/0.5425, allocations: 3.681 MB / 458.2 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.5425, allocations: 4.75 kB / 458.2 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.5426, allocations: 7.953 kB / 458.2 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007148/0.5433, allocations: 0.7057 MB / 458.9 MB, free: 2.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.544, allocations: 0.7843 MB / 459.7 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.544, allocations: 0 / 459.7 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.5441, allocations: 0 / 459.7 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.5441, allocations: 4 kB / 459.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.5444, allocations: 278 kB / 460 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.5456, allocations: 1.811 MB / 461.8 MB, free: 1.582 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.5466, allocations: 1.791 MB / 463.6 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.5467, allocations: 0 / 463.6 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009986/0.5477, allocations: 1.037 MB / 464.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=225): time 1.403e-06/0.5477, allocations: 0 / 464.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=225): time 0.00531/0.553, allocations: 1.84 MB / 466.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002731/0.5533, allocations: 396.5 kB / 466.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.5535, allocations: 162.5 kB / 467 MB, free: 13.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.5537, allocations: 153.6 kB / 467.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.5537, allocations: 99.98 kB / 467.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006462/0.5544, allocations: 0.902 MB / 468.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.5545, allocations: 4 kB / 468.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.5547, allocations: 474.7 kB / 468.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.5559, allocations: 0.9168 MB / 469.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.5582, allocations: 2.484 MB / 472 MB, free: 7.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.56, allocations: 1.408 MB / 473.4 MB, free: 6.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.743e-05/0.56, allocations: 16 kB / 473.5 MB, free: 6.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.004728/0.5648, allocations: 3.181 MB / 476.6 MB, free: 3.117 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.5649, allocations: 61.62 kB / 476.7 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.393e-05/0.5649, allocations: 60 kB / 476.8 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.814e-05/0.565, allocations: 87.95 kB / 476.8 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.5664, allocations: 0.5222 MB / 477.4 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.777e-05/0.5665, allocations: 107.6 kB / 477.5 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.5677, allocations: 225 kB / 477.7 MB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.5679, allocations: 180 kB / 477.9 MB, free: 1.879 MB / 346.7 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.0006836/0.5686, allocations: 0.581 MB / 478.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006578/0.5752, allocations: 2.8 MB / 481.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.5753, allocations: 119 kB / 481.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.5754, allocations: 21.45 kB / 481.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5754, allocations: 0 / 481.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5754, allocations: 4 kB / 481.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5754, allocations: 0 / 481.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.5759, allocations: 434.4 kB / 481.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.5759, allocations: 0 / 481.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.5759, allocations: 0 / 481.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.5759, allocations: 0 / 481.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/0.576, allocations: 43.98 kB / 481.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.576, allocations: 3.953 kB / 481.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.576, allocations: 4 kB / 481.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006496/0.5825, allocations: 2.903 MB / 484.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.5827, allocations: 175.6 kB / 484.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.5829, allocations: 51.97 kB / 485 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.5831, allocations: 31.94 kB / 485 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.5832, allocations: 27.95 kB / 485.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.5834, allocations: 63.98 kB / 485.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.5835, allocations: 135.5 kB / 485.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5835, allocations: 0 / 485.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002233/0.5857, allocations: 424 kB / 485.7 MB, free: 9.98 MB / 362.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: 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.006816/0.5926, allocations: 5.515 MB / 491.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004349/0.5969, allocations: 2.958 MB / 494.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.597, allocations: 0 / 494.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2529/0.8499, allocations: 52.31 MB / 0.5336 GB, free: 142.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.8503, allocations: 33.62 kB / 0.5337 GB, free: 142.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.8546, allocations: 1.994 MB / 0.5356 GB, free: 142.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.8551, allocations: 0.9914 MB / 0.5366 GB, free: 141.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003774/0.8555, allocations: 192.3 kB / 0.5368 GB, free: 141.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.8558, allocations: 246 kB / 0.537 GB, free: 141.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.8558, allocations: 3.906 kB / 0.537 GB, free: 141.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04577/0.9016, allocations: 19.29 MB / 0.5558 GB, free: 133.3 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.9019, allocations: 167.7 kB / 0.556 GB, free: 133.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.529, allocations: 0 / 0.556 GB, free: 133.1 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT2_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT2.fmu > Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat does not exist to compare? outputFormat=mat