Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT2,fileNamePrefix="Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT2,fileNamePrefix="Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008374/0.0008375, allocations: 98.7 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.889e-05/1.891e-05, allocations: 4 kB / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1026, allocations: 51.47 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3992/0.5018, allocations: 78.21 MB / 473.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.502, allocations: 71.25 kB / 473.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03342/0.5355, allocations: 13.65 MB / 487.2 MB, free: 3.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5355, allocations: 0 / 487.2 MB, free: 3.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.5355, allocations: 12 kB / 487.2 MB, free: 3.391 MB / 346.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.0009289/0.5365, allocations: 0.9761 MB / 488.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5365, allocations: 16.02 kB / 488.2 MB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.5368, allocations: 74.97 kB / 488.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008444/0.5452, allocations: 3.716 MB / 492 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.5453, allocations: 0 / 492 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.5454, allocations: 11.47 kB / 492 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007325/0.5461, allocations: 0.7051 MB / 492.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007557/0.5469, allocations: 0.7864 MB / 493.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.5469, allocations: 0 / 493.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.5469, allocations: 4 kB / 493.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.547, allocations: 0 / 493.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.5474, allocations: 276.5 kB / 493.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.5487, allocations: 1.806 MB / 495.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.5502, allocations: 1.796 MB / 497.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.5502, allocations: 0 / 497.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.5513, allocations: 1.033 MB / 498.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 2.164e-06/0.5513, allocations: 0 / 498.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.005606/0.557, allocations: 1.84 MB / 0.4885 GB, free: 9.199 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000258/0.5572, allocations: 400.5 kB / 0.4889 GB, free: 8.781 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.5575, allocations: 169.7 kB / 0.4891 GB, free: 8.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.5577, allocations: 149.6 kB / 0.4892 GB, free: 8.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/0.5577, allocations: 96 kB / 0.4893 GB, free: 8.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009161/0.5587, allocations: 0.9061 MB / 0.4902 GB, free: 7.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.5588, allocations: 3.938 kB / 0.4902 GB, free: 7.434 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003103/0.5591, allocations: 470.6 kB / 0.4906 GB, free: 6.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.5606, allocations: 0.9207 MB / 0.4915 GB, free: 6.043 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.5631, allocations: 2.484 MB / 0.4939 GB, free: 2.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.5653, allocations: 1.404 MB / 0.4953 GB, free: 1.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.89e-05/0.5654, allocations: 12 kB / 0.4953 GB, free: 1.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005055/0.5704, allocations: 3.189 MB / 0.4984 GB, free: 14.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.868e-05/0.5705, allocations: 54.95 kB / 0.4985 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.538e-05/0.5706, allocations: 52 kB / 0.4985 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.5708, allocations: 91.94 kB / 0.4986 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.5723, allocations: 0.5222 MB / 0.4991 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.915e-05/0.5724, allocations: 117.4 kB / 0.4993 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.5737, allocations: 221.1 kB / 0.4995 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.5739, allocations: 180.3 kB / 0.4996 GB, free: 12.97 MB / 378.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.0007182/0.5746, allocations: 0.5849 MB / 0.5002 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006736/0.5814, allocations: 2.804 MB / 0.5029 GB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.5816, allocations: 114.9 kB / 0.5031 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.5816, allocations: 13.47 kB / 0.5031 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5816, allocations: 0 / 0.5031 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5817, allocations: 6.141 kB / 0.5031 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5817, allocations: 0 / 0.5031 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.5822, allocations: 438.4 kB / 0.5035 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5822, allocations: 0 / 0.5035 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.5822, allocations: 0 / 0.5035 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5822, allocations: 4.031 kB / 0.5035 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/0.5823, allocations: 36 kB / 0.5035 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5823, allocations: 7.891 kB / 0.5035 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.5823, allocations: 4 kB / 0.5035 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006671/0.589, allocations: 2.899 MB / 0.5064 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.5892, allocations: 179.7 kB / 0.5065 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.5894, allocations: 43.98 kB / 0.5066 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.5896, allocations: 35.98 kB / 0.5066 GB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.5898, allocations: 31.98 kB / 0.5067 GB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.5899, allocations: 63.98 kB / 0.5067 GB, free: 5.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.59, allocations: 124.3 kB / 0.5068 GB, free: 5.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.59, allocations: 0 / 0.5068 GB, free: 5.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001966/0.592, allocations: 427.9 kB / 0.5072 GB, free: 5.074 MB / 378.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.007568/0.5996, allocations: 5.525 MB / 0.5126 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004065/0.6037, allocations: 2.961 MB / 0.5155 GB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6037, allocations: 0 / 0.5155 GB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03781/0.6415, allocations: 52.31 MB / 0.5666 GB, free: 8.301 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.6419, allocations: 39.03 kB / 0.5667 GB, free: 8.266 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.6461, allocations: 1.992 MB / 0.5686 GB, free: 6.234 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.6467, allocations: 0.9939 MB / 0.5696 GB, free: 5.211 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004376/0.6471, allocations: 196.9 kB / 0.5698 GB, free: 5.012 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.6475, allocations: 247.4 kB / 0.57 GB, free: 4.77 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6475, allocations: 0 / 0.57 GB, free: 4.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2785/0.926, allocations: 19.29 MB / 0.5888 GB, free: 128.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/0.9262, allocations: 170.6 kB / 0.589 GB, free: 128.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.811/3.737, allocations: 0 / 0.589 GB, free: 128.1 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT2_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT2.fmu > Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat does not exist to compare? outputFormat=mat