Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001516, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.5 MB / 230.3 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008694/0.0008693, allocations: 96.61 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.136e-05, allocations: 4 kB / 337.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.09878, allocations: 50.42 MB / 387.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.5025, allocations: 77.42 MB / 465 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.5029, allocations: 71.95 kB / 465 MB, free: 1.219 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03877/0.5417, allocations: 13.65 MB / 478.7 MB, free: 3.559 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5417, allocations: 0 / 478.7 MB, free: 3.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.5418, allocations: 12 kB / 478.7 MB, free: 3.547 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.001035/0.5428, allocations: 1.038 MB / 479.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5428, allocations: 8.031 kB / 479.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.543, allocations: 78.92 kB / 479.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009699/0.5527, allocations: 3.731 MB / 483.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.5527, allocations: 0 / 483.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.5528, allocations: 12 kB / 483.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008612/0.5536, allocations: 0.7712 MB / 484.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008904/0.5545, allocations: 0.8528 MB / 485.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.5546, allocations: 0 / 485.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.5546, allocations: 3.953 kB / 485.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5546, allocations: 0 / 485.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.555, allocations: 290.5 kB / 485.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.5568, allocations: 2.078 MB / 487.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.5587, allocations: 2.079 MB / 489.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.5587, allocations: 0 / 489.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.5601, allocations: 1.108 MB / 490.7 MB, free: 7.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 1.964e-06/0.5601, allocations: 0 / 490.7 MB, free: 7.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=246): time 0.005697/0.5658, allocations: 1.997 MB / 492.7 MB, free: 5.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003022/0.5662, allocations: 432.4 kB / 493.2 MB, free: 4.879 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.5664, allocations: 165.7 kB / 493.3 MB, free: 4.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.5666, allocations: 165.6 kB / 493.5 MB, free: 4.539 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.5667, allocations: 100.2 kB / 493.6 MB, free: 4.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007714/0.5674, allocations: 0.9524 MB / 494.5 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.5675, allocations: 3.938 kB / 494.5 MB, free: 3.465 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002631/0.5678, allocations: 483.4 kB / 495 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.5692, allocations: 0.9916 MB / 496 MB, free: 1.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/0.5717, allocations: 2.684 MB / 498.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.5738, allocations: 1.514 MB / 0.4885 GB, free: 12.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.981e-05/0.5738, allocations: 20 kB / 0.4885 GB, free: 12.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005499/0.5793, allocations: 3.434 MB / 0.4919 GB, free: 9.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.771e-05/0.5795, allocations: 58.7 kB / 0.4919 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-05/0.5795, allocations: 60 kB / 0.492 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/0.5797, allocations: 92 kB / 0.4921 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.5813, allocations: 0.5728 MB / 0.4926 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.545e-05/0.5814, allocations: 119.6 kB / 0.4927 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.5828, allocations: 244.8 kB / 0.493 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.583, allocations: 192 kB / 0.4931 GB, free: 8.145 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.0007859/0.5838, allocations: 0.654 MB / 0.4938 GB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006776/0.5906, allocations: 3.038 MB / 0.4968 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.5907, allocations: 115 kB / 0.4969 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.5908, allocations: 18.23 kB / 0.4969 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5908, allocations: 3.938 kB / 0.4969 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5908, allocations: 4 kB / 0.4969 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5908, allocations: 7.984 kB / 0.4969 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.5913, allocations: 462.2 kB / 0.4973 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5913, allocations: 0 / 0.4973 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-06/0.5913, allocations: 0 / 0.4973 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.5913, allocations: 0 / 0.4973 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.431e-05/0.5914, allocations: 51.98 kB / 0.4974 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5914, allocations: 0 / 0.4974 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5914, allocations: 4 kB / 0.4974 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006708/0.5981, allocations: 3.154 MB / 0.5005 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.5983, allocations: 175.6 kB / 0.5006 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.5985, allocations: 67.95 kB / 0.5007 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.5987, allocations: 32 kB / 0.5007 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.5989, allocations: 27.98 kB / 0.5008 GB, free: 240 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.599, allocations: 75.98 kB / 0.5008 GB, free: 164 kB / 378.7 MB Notification: Performance of sorting global known variables: time 9.673e-05/0.5991, allocations: 124.3 kB / 0.5009 GB, free: 40 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5991, allocations: 0 / 0.5009 GB, free: 40 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.002089/0.6012, allocations: 452 kB / 0.5014 GB, free: 15.59 MB / 394.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.007166/0.6084, allocations: 5.962 MB / 0.5072 GB, free: 9.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004712/0.6131, allocations: 3.191 MB / 0.5103 GB, free: 6.469 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6132, allocations: 6.625 kB / 0.5103 GB, free: 6.465 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2564/0.8696, allocations: 59.4 MB / 0.5683 GB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.87, allocations: 35.88 kB / 0.5684 GB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.874, allocations: 2.14 MB / 0.5705 GB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.8745, allocations: 1.011 MB / 0.5714 GB, free: 104.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003237/0.8748, allocations: 207.8 kB / 0.5716 GB, free: 104.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.875, allocations: 270.9 kB / 0.5719 GB, free: 104.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.8751, allocations: 3.969 kB / 0.5719 GB, free: 104.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04528/0.9203, allocations: 20.86 MB / 0.5923 GB, free: 86.07 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.9206, allocations: 176 kB / 0.5924 GB, free: 85.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.487, allocations: 0 / 0.5924 GB, free: 85.88 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT1_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT1.fmu > Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat does not exist to compare? outputFormat=mat