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: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|y",fileNamePrefix="Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2") translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|y",fileNamePrefix="Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008825/0.0008826, allocations: 84.69 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.556e-05, allocations: 4 kB / 350.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 51.49 MB / 402 MB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4626, allocations: 78.88 MB / 480.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.4628, allocations: 72.48 kB / 481 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03202/0.4948, allocations: 13.72 MB / 494.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4949, allocations: 0 / 494.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.4949, allocations: 8 kB / 494.7 MB, free: 14.58 MB / 362.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.001071/0.496, allocations: 0.9749 MB / 495.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.496, allocations: 8.031 kB / 495.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.4963, allocations: 80.2 kB / 495.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009244/0.5055, allocations: 3.727 MB / 499.5 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.5056, allocations: 8 kB / 499.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.5057, allocations: 12 kB / 499.5 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008512/0.5065, allocations: 0.786 MB / 0.4886 GB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.5065, allocations: 0 / 0.4886 GB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.5066, allocations: 0 / 0.4886 GB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5066, allocations: 10.25 kB / 0.4886 GB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.5073, allocations: 0.7048 MB / 0.4893 GB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.5077, allocations: 400 kB / 0.4896 GB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.5091, allocations: 1.805 MB / 0.4914 GB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.5105, allocations: 1.794 MB / 0.4932 GB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.5105, allocations: 7.891 kB / 0.4932 GB, free: 4.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009816/0.5115, allocations: 1.029 MB / 0.4942 GB, free: 3.082 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 1.854e-06/0.5115, allocations: 0 / 0.4942 GB, free: 3.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.005293/0.5168, allocations: 2.041 MB / 0.4962 GB, free: 1.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002637/0.5171, allocations: 400.5 kB / 0.4966 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.5173, allocations: 173.7 kB / 0.4967 GB, free: 444 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.5175, allocations: 185.6 kB / 0.4969 GB, free: 252 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.5175, allocations: 104 kB / 0.497 GB, free: 144 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006383/0.5182, allocations: 0.914 MB / 0.4979 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/0.5183, allocations: 76 kB / 0.498 GB, free: 15.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.5185, allocations: 474.6 kB / 0.4984 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.5199, allocations: 0.991 MB / 0.4994 GB, free: 13.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/0.5224, allocations: 2.577 MB / 0.5019 GB, free: 10.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.5244, allocations: 1.515 MB / 0.5034 GB, free: 8.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-05/0.5244, allocations: 16 kB / 0.5034 GB, free: 8.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005307/0.5297, allocations: 3.65 MB / 0.507 GB, free: 5.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/0.5298, allocations: 63.14 kB / 0.507 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.003e-05/0.5299, allocations: 55.98 kB / 0.5071 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-05/0.53, allocations: 84 kB / 0.5071 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.5313, allocations: 0.5215 MB / 0.5077 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.55e-05/0.5314, allocations: 115.6 kB / 0.5078 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5328, allocations: 293.1 kB / 0.508 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.533, allocations: 180 kB / 0.5082 GB, free: 3.84 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.0006859/0.5337, allocations: 0.6611 MB / 0.5089 GB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.5338, allocations: 111 kB / 0.509 GB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.5339, allocations: 17.16 kB / 0.509 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5339, allocations: 3.938 kB / 0.509 GB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.5339, allocations: 0 / 0.509 GB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5339, allocations: 0 / 0.509 GB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.5344, allocations: 0.5291 MB / 0.5095 GB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.5344, allocations: 3.984 kB / 0.5095 GB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.5344, allocations: 0 / 0.5095 GB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.5344, allocations: 4 kB / 0.5095 GB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.5345, allocations: 45.52 kB / 0.5096 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5345, allocations: 0 / 0.5096 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5345, allocations: 0 / 0.5096 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02071/0.5552, allocations: 21.74 MB / 0.5308 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.5554, allocations: 175.7 kB / 0.531 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.5556, allocations: 49.39 kB / 0.531 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.5558, allocations: 31.95 kB / 0.531 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.5559, allocations: 27.98 kB / 0.5311 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.556, allocations: 60 kB / 0.5311 GB, free: 12.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.5561, allocations: 132.3 kB / 0.5312 GB, free: 12.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5561, allocations: 0 / 0.5312 GB, free: 12.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001856/0.558, allocations: 0.4968 MB / 0.5317 GB, free: 11.63 MB / 410.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.0007786/0.5588, allocations: 371.9 kB / 0.5321 GB, free: 11.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004003/0.5628, allocations: 3.149 MB / 0.5352 GB, free: 8.199 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5628, allocations: 128 / 0.5352 GB, free: 8.199 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2336/0.7965, allocations: 52.36 MB / 0.5863 GB, free: 130.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.7968, allocations: 33.47 kB / 0.5863 GB, free: 130.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.7988, allocations: 1.815 MB / 0.5881 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.7991, allocations: 0.9963 MB / 0.5891 GB, free: 129.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002798/0.7994, allocations: 194.4 kB / 0.5893 GB, free: 129.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.7995, allocations: 66.66 kB / 0.5893 GB, free: 129.9 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7995, allocations: 0 / 0.5893 GB, free: 129.9 MB / 442.7 MB Notification: Performance of Templates: time 0.02208/0.8216, allocations: 12.83 MB / 0.6019 GB, free: 129.1 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (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 & ./Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/FastFourierTransform/Examples/RealFFT2/RealFFT2.csv","../files/Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,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,y Variables in the result:Ai[10],Ai[11],Ai[12],Ai[13],Ai[14],Ai[15],Ai[16],Ai[17],Ai[18],Ai[19],Ai[1],Ai[20],Ai[21],Ai[2],Ai[3],Ai[4],Ai[5],Ai[6],Ai[7],Ai[8],Ai[9],T,Ts,f1,f2,f_max,f_max_FFT,f_resolution,fi[10],fi[11],fi[12],fi[13],fi[14],fi[15],fi[16],fi[17],fi[18],fi[19],fi[1],fi[20],fi[21],fi[2],fi[3],fi[4],fi[5],fi[6],fi[7],fi[8],fi[9],info,nf,nfi,ns,time,y