Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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.RealFFT1,fileNamePrefix="Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009473/0.0009475, allocations: 95.5 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.015e-05, allocations: 4 kB / 343.8 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 51.49 MB / 395.3 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2988/0.4099, allocations: 78.21 MB / 473.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.4102, allocations: 71.41 kB / 473.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03646/0.4467, allocations: 13.8 MB / 487.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4467, allocations: 1.219 kB / 487.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.4467, allocations: 8 kB / 487.4 MB, free: 3.598 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001044/0.4478, allocations: 1.042 MB / 488.4 MB, free: 2.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4478, allocations: 8.031 kB / 488.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.4481, allocations: 86.95 kB / 488.5 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.4593, allocations: 3.716 MB / 492.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.4593, allocations: 4 kB / 492.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.4593, allocations: 4 kB / 492.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009351/0.4603, allocations: 0.7788 MB / 493 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.4615, allocations: 0.8479 MB / 493.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4615, allocations: 0 / 493.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.4616, allocations: 0 / 493.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.4616, allocations: 4 kB / 493.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.4621, allocations: 292.8 kB / 494.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.464, allocations: 2.083 MB / 496.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002395/0.4664, allocations: 2.071 MB / 498.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.4664, allocations: 0 / 498.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.468, allocations: 1.114 MB / 499.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 2.585e-06/0.468, allocations: 0 / 499.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=246): time 0.008535/0.4765, allocations: 1.996 MB / 0.4896 GB, free: 8.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004392/0.477, allocations: 440.5 kB / 0.4901 GB, free: 7.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.4773, allocations: 169.7 kB / 0.4902 GB, free: 7.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002958/0.4776, allocations: 157.6 kB / 0.4904 GB, free: 7.391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.4777, allocations: 104.2 kB / 0.4905 GB, free: 7.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001108/0.4788, allocations: 0.9524 MB / 0.4914 GB, free: 6.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.479, allocations: 0 / 0.4914 GB, free: 6.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003228/0.4793, allocations: 483.4 kB / 0.4919 GB, free: 5.832 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.4813, allocations: 0.9877 MB / 0.4928 GB, free: 4.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003064/0.4844, allocations: 2.688 MB / 0.4955 GB, free: 1.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.4867, allocations: 1.517 MB / 0.4969 GB, free: 15.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.516e-05/0.4868, allocations: 16 kB / 0.497 GB, free: 15.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005682/0.4924, allocations: 3.435 MB / 0.5003 GB, free: 12.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.488e-05/0.4926, allocations: 61.72 kB / 0.5004 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.862e-05/0.4927, allocations: 60 kB / 0.5004 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.4928, allocations: 95.95 kB / 0.5005 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.4944, allocations: 0.565 MB / 0.5011 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-05/0.4946, allocations: 119.6 kB / 0.5012 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.4959, allocations: 240.8 kB / 0.5014 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.4961, allocations: 196 kB / 0.5016 GB, free: 11 MB / 378.7 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.0008671/0.497, allocations: 0.6462 MB / 0.5022 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00715/0.5042, allocations: 3.042 MB / 0.5052 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.5044, allocations: 118.9 kB / 0.5053 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.5045, allocations: 20.02 kB / 0.5053 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5045, allocations: 8.031 kB / 0.5053 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5045, allocations: 0 / 0.5053 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.5045, allocations: 0 / 0.5053 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.505, allocations: 458.2 kB / 0.5058 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.505, allocations: 0 / 0.5058 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-06/0.505, allocations: 0 / 0.5058 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.505, allocations: 7.984 kB / 0.5058 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.539e-05/0.5051, allocations: 44 kB / 0.5058 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.5051, allocations: 7.953 kB / 0.5058 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.5051, allocations: 0 / 0.5058 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007148/0.5123, allocations: 3.15 MB / 0.5089 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.5125, allocations: 175.6 kB / 0.5091 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.5127, allocations: 71.94 kB / 0.5091 GB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.513, allocations: 32 kB / 0.5092 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.5131, allocations: 27.95 kB / 0.5092 GB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.5133, allocations: 75.98 kB / 0.5093 GB, free: 3.027 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.5134, allocations: 120.3 kB / 0.5094 GB, free: 2.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5134, allocations: 4 kB / 0.5094 GB, free: 2.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002198/0.5156, allocations: 461.7 kB / 0.5098 GB, free: 2.457 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: 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.00771/0.5234, allocations: 5.961 MB / 0.5157 GB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00505/0.5284, allocations: 3.192 MB / 0.5188 GB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5285, allocations: 1.75 kB / 0.5188 GB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.256/0.7845, allocations: 59.4 MB / 0.5768 GB, free: 131.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.7849, allocations: 37.2 kB / 0.5768 GB, free: 131.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.7884, allocations: 2.144 MB / 0.5789 GB, free: 131.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.7887, allocations: 1.022 MB / 0.5799 GB, free: 130.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000295/0.7891, allocations: 208.9 kB / 0.5801 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.7893, allocations: 267.2 kB / 0.5804 GB, free: 130.6 MB / 442.7 MB Notification: Performance of SimCode: time 6.62e-07/0.7893, allocations: 0 / 0.5804 GB, free: 130.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04346/0.8328, allocations: 20.85 MB / 0.6007 GB, free: 129.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.8331, allocations: 171.2 kB / 0.6009 GB, free: 129.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.761/3.594, allocations: 8.219 kB / 0.6009 GB, free: 129.2 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT1_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT1.fmu > Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat does not exist to compare? outputFormat=mat