Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.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.RealFFT2,fileNamePrefix="Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT2,fileNamePrefix="Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT2",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.001714/0.001714, 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.448/1.448, allocations: 221.5 MB / 230.3 MB, free: 7.52 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.001051/0.001051, allocations: 83.86 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.129e-05, allocations: 4 kB / 337.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 50.42 MB / 387.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3194/0.4304, allocations: 77.42 MB / 465 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4307, allocations: 71.97 kB / 465 MB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03664/0.4673, allocations: 13.51 MB / 478.5 MB, free: 3.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4674, allocations: 0 / 478.5 MB, free: 3.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.4674, allocations: 12 kB / 478.6 MB, free: 3.715 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.000985/0.4684, allocations: 0.9755 MB / 479.5 MB, free: 2.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4684, allocations: 8.031 kB / 479.5 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.4685, allocations: 75.02 kB / 479.6 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009436/0.478, allocations: 3.715 MB / 483.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.478, allocations: 4 kB / 483.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.4781, allocations: 4 kB / 483.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000722/0.4788, allocations: 0.7009 MB / 484 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007352/0.4796, allocations: 0.7903 MB / 484.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.4796, allocations: 0 / 484.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.4796, allocations: 3.953 kB / 484.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4796, allocations: 0 / 484.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.48, allocations: 274.7 kB / 485.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.4814, allocations: 1.817 MB / 486.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.4827, allocations: 1.794 MB / 488.7 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.4827, allocations: 3.984 kB / 488.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009094/0.4836, allocations: 1.029 MB / 489.7 MB, free: 8.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 1.684e-06/0.4836, allocations: 0 / 489.7 MB, free: 8.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.005257/0.4889, allocations: 1.844 MB / 491.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000246/0.4891, allocations: 408.5 kB / 492 MB, free: 6.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.4893, allocations: 165.7 kB / 492.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.4895, allocations: 149.6 kB / 492.3 MB, free: 5.754 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.4896, allocations: 96 kB / 492.4 MB, free: 5.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006538/0.4902, allocations: 0.9021 MB / 493.3 MB, free: 4.742 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.4903, allocations: 0 / 493.3 MB, free: 4.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.4905, allocations: 474.6 kB / 493.7 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.4917, allocations: 0.9207 MB / 494.7 MB, free: 3.348 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.494, allocations: 2.484 MB / 497.2 MB, free: 120 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.4958, allocations: 1.404 MB / 498.6 MB, free: 14.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.506e-05/0.4958, allocations: 16 kB / 498.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.004428/0.5003, allocations: 3.18 MB / 0.49 GB, free: 11.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.5003, allocations: 58.94 kB / 0.4901 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-05/0.5004, allocations: 57.66 kB / 0.4901 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.998e-05/0.5005, allocations: 84 kB / 0.4902 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.5019, allocations: 0.5261 MB / 0.4907 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.217e-05/0.502, allocations: 111.6 kB / 0.4908 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.503, allocations: 221.1 kB / 0.491 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.5032, allocations: 180 kB / 0.4912 GB, free: 10.28 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.0006454/0.5039, allocations: 0.581 MB / 0.4918 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006423/0.5103, allocations: 2.804 MB / 0.4945 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.5105, allocations: 114.9 kB / 0.4946 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.5105, allocations: 25.41 kB / 0.4946 GB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5105, allocations: 3.984 kB / 0.4946 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5105, allocations: 4.031 kB / 0.4946 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5105, allocations: 3.953 kB / 0.4946 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.5109, allocations: 430.4 kB / 0.495 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5109, allocations: 0 / 0.495 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.5109, allocations: 0 / 0.495 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.5109, allocations: 0 / 0.495 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/0.511, allocations: 40 kB / 0.4951 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.511, allocations: 3.984 kB / 0.4951 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.511, allocations: 0 / 0.4951 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/0.5173, allocations: 2.915 MB / 0.4979 GB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.5175, allocations: 171.7 kB / 0.4981 GB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.5176, allocations: 43.98 kB / 0.4981 GB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.5178, allocations: 31.98 kB / 0.4982 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.518, allocations: 28 kB / 0.4982 GB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-05/0.5181, allocations: 59.98 kB / 0.4983 GB, free: 2.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.642e-05/0.5181, allocations: 128.3 kB / 0.4984 GB, free: 2.797 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5182, allocations: 0 / 0.4984 GB, free: 2.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001778/0.5199, allocations: 428 kB / 0.4988 GB, free: 2.379 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.006344/0.5263, allocations: 5.534 MB / 0.5042 GB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003738/0.53, allocations: 2.957 MB / 0.5071 GB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5301, allocations: 1.562 kB / 0.5071 GB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2331/0.7631, allocations: 52.31 MB / 0.5582 GB, free: 143.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.7636, allocations: 35.22 kB / 0.5582 GB, free: 143.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.7676, allocations: 1.987 MB / 0.5601 GB, free: 143 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.7681, allocations: 0.9922 MB / 0.5611 GB, free: 142.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003398/0.7685, allocations: 191.7 kB / 0.5613 GB, free: 142.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.7687, allocations: 245.5 kB / 0.5615 GB, free: 142.2 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.7687, allocations: 0 / 0.5615 GB, free: 142.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.8103, allocations: 19.29 MB / 0.5804 GB, free: 130 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/0.8105, allocations: 172.1 kB / 0.5805 GB, free: 129.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.486, allocations: 2.078 kB / 0.5805 GB, free: 129.8 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT2_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT2.fmu > Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat does not exist to compare? outputFormat=mat