Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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.RealFFT1,fileNamePrefix="Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT1",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.001651/0.001651, allocations: 177.7 kB / 8.698 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.915/1.915, 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.000992/0.0009918, allocations: 84.09 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.863e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 47.58 MB / 363.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/0.4783, allocations: 76.84 MB / 440 MB, free: 2.781 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.4786, allocations: 75.95 kB / 440.1 MB, free: 2.742 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03761/0.5163, allocations: 13.53 MB / 453.6 MB, free: 7.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5163, allocations: 0 / 453.6 MB, free: 7.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.5164, allocations: 8 kB / 453.6 MB, free: 7.609 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001171/0.5175, allocations: 1.032 MB / 454.6 MB, free: 6.578 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.5176, allocations: 16.02 kB / 454.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.5177, allocations: 70.97 kB / 454.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009397/0.5271, allocations: 3.693 MB / 458.4 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.5272, allocations: 0 / 458.4 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.5272, allocations: 11.95 kB / 458.4 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009022/0.5281, allocations: 0.7759 MB / 459.2 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/0.529, allocations: 0.853 MB / 460.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5291, allocations: 0 / 460.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.5291, allocations: 0 / 460.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5291, allocations: 0 / 460.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.5296, allocations: 296.3 kB / 460.4 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.5311, allocations: 2.075 MB / 462.4 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.5326, allocations: 2.07 MB / 464.5 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.5327, allocations: 0 / 464.5 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.5338, allocations: 1.112 MB / 465.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=246): time 3.978e-06/0.5338, allocations: 3.984 kB / 465.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=246): time 0.005786/0.5396, allocations: 2.004 MB / 467.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002847/0.5399, allocations: 428.4 kB / 468 MB, free: 12.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.5401, allocations: 166.5 kB / 468.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002054/0.5403, allocations: 157.6 kB / 468.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.5404, allocations: 104.2 kB / 468.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007835/0.5412, allocations: 0.9563 MB / 469.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.5413, allocations: 3.938 kB / 469.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002582/0.5416, allocations: 479.4 kB / 469.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.5429, allocations: 0.9916 MB / 470.9 MB, free: 9.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/0.5455, allocations: 2.684 MB / 473.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.5476, allocations: 1.514 MB / 475.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.198e-05/0.5477, allocations: 20 kB / 475.1 MB, free: 4.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005269/0.5529, allocations: 3.435 MB / 478.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.793e-05/0.5531, allocations: 61.69 kB / 478.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.15e-05/0.5531, allocations: 60 kB / 478.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.5532, allocations: 91.95 kB / 478.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.5548, allocations: 0.5728 MB / 479.3 MB, free: 428 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.496e-05/0.5549, allocations: 119.6 kB / 479.4 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.5564, allocations: 240.8 kB / 479.7 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.5566, allocations: 196 kB / 479.9 MB, free: 15.87 MB / 362.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.0008152/0.5574, allocations: 0.6503 MB / 480.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007328/0.5648, allocations: 3.042 MB / 483.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.565, allocations: 118.9 kB / 483.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.565, allocations: 22.23 kB / 483.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.5651, allocations: 0 / 483.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.5651, allocations: 4 kB / 483.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5651, allocations: 0 / 483.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.5656, allocations: 450.3 kB / 484.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5656, allocations: 0 / 484.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-06/0.5656, allocations: 3.938 kB / 484.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.5656, allocations: 3.984 kB / 484.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.988e-05/0.5657, allocations: 48 kB / 484.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5657, allocations: 7.984 kB / 484.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5658, allocations: 0 / 484.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007062/0.5728, allocations: 3.142 MB / 487.3 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.5731, allocations: 183.5 kB / 487.5 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.5733, allocations: 71.94 kB / 487.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.5735, allocations: 36 kB / 487.6 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.5737, allocations: 23.95 kB / 487.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.5738, allocations: 71.98 kB / 487.7 MB, free: 7.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.5739, allocations: 135.5 kB / 487.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5739, allocations: 0 / 487.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002446/0.5764, allocations: 459.9 kB / 488.3 MB, free: 7.324 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: 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.007702/0.5841, allocations: 5.947 MB / 494.2 MB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005037/0.5892, allocations: 3.19 MB / 497.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5892, allocations: 0 / 497.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2762/0.8655, allocations: 59.41 MB / 0.5438 GB, free: 142.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.8659, allocations: 39.44 kB / 0.5438 GB, free: 142.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.8698, allocations: 2.141 MB / 0.5459 GB, free: 141.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.8702, allocations: 1.017 MB / 0.5469 GB, free: 141.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.8706, allocations: 215.9 kB / 0.5471 GB, free: 141.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.8708, allocations: 263.5 kB / 0.5474 GB, free: 140.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8708, allocations: 0 / 0.5474 GB, free: 140.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04331/0.9141, allocations: 20.86 MB / 0.5677 GB, free: 122 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.9144, allocations: 170.7 kB / 0.5679 GB, free: 121.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/3.65, allocations: 0 / 0.5679 GB, free: 121.8 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT1_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT1.fmu > Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat does not exist to compare? outputFormat=mat