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: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,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.|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|y",fileNamePrefix="Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1") translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,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.|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|y",fileNamePrefix="Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 168.9 kB / 8.47 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.165/1.165, allocations: 205.2 MB / 214.1 MB, free: 5.438 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.0008762/0.0008763, allocations: 79.39 kB / 262.1 MB, free: 5.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.104e-06/7.124e-06, allocations: 0 / 315 MB, free: 41.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08467/0.08469, allocations: 47.57 MB / 362.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.243/0.3278, allocations: 76.53 MB / 439.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.3281, allocations: 73.28 kB / 439.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03475/0.3628, allocations: 13.16 MB / 452.3 MB, free: 8.008 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.3629, allocations: 11.69 kB / 452.3 MB, free: 8.008 MB / 314.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.0008061/0.3637, allocations: 1.028 MB / 453.3 MB, free: 7.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3638, allocations: 7.656 kB / 453.3 MB, free: 7.312 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.781e-05/0.3639, allocations: 77 kB / 453.4 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.374, allocations: 3.676 MB / 457.1 MB, free: 5.895 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3741, allocations: 0 / 457.1 MB, free: 5.895 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.3741, allocations: 11.66 kB / 457.1 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006644/0.3748, allocations: 0.7867 MB / 457.9 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.3755, allocations: 0.8695 MB / 458.8 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3755, allocations: 0 / 458.8 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.3756, allocations: 1.344 kB / 458.8 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3756, allocations: 3.938 kB / 458.8 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.3759, allocations: 294 kB / 459.1 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.377, allocations: 2.086 MB / 461.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.3781, allocations: 2.084 MB / 463.2 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.3781, allocations: 1.031 kB / 463.2 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008905/0.379, allocations: 1.122 MB / 464.3 MB, free: 4.988 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 2.134e-06/0.379, allocations: 1.219 kB / 464.3 MB, free: 4.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=246): time 0.009592/0.3886, allocations: 7.377 MB / 471.7 MB, free: 3.328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002204/0.3889, allocations: 436 kB / 472.1 MB, free: 2.941 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.3891, allocations: 164.2 kB / 472.3 MB, free: 2.789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.3893, allocations: 177.5 kB / 472.5 MB, free: 2.625 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.3894, allocations: 99.05 kB / 472.6 MB, free: 2.527 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007275/0.3901, allocations: 0.9616 MB / 473.5 MB, free: 1.699 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.3902, allocations: 0 / 473.5 MB, free: 1.699 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3904, allocations: 481.1 kB / 474 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.3915, allocations: 1.062 MB / 475.1 MB, free: 432 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.394, allocations: 2.755 MB / 477.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.3962, allocations: 1.615 MB / 479.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.209e-05/0.3963, allocations: 20.75 kB / 479.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.00561/0.4019, allocations: 3.548 MB / 483 MB, free: 7.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4019, allocations: 5.875 kB / 483 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-05/0.402, allocations: 63.91 kB / 483.1 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.4021, allocations: 92.75 kB / 483.2 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.4037, allocations: 0.565 MB / 483.7 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.986e-05/0.4038, allocations: 127.6 kB / 483.9 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.4053, allocations: 240.8 kB / 484.1 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/0.4055, allocations: 199.9 kB / 484.3 MB, free: 6.348 MB / 330.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.000889/0.4064, allocations: 0.6362 MB / 484.9 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.4066, allocations: 122.9 kB / 485 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.4067, allocations: 13.94 kB / 485.1 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4067, allocations: 0 / 485.1 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4067, allocations: 3.984 kB / 485.1 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4067, allocations: 0 / 485.1 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.4072, allocations: 462.3 kB / 485.5 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4072, allocations: 0 / 485.5 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.4072, allocations: 4 kB / 485.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4072, allocations: 0 / 485.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.595e-05/0.4073, allocations: 51.98 kB / 485.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4073, allocations: 0 / 485.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4074, allocations: 3.906 kB / 485.6 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007996/0.4154, allocations: 8.709 MB / 494.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.4156, allocations: 179.5 kB / 494.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.4158, allocations: 75.89 kB / 494.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.4161, allocations: 39.94 kB / 494.6 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.4162, allocations: 35.97 kB / 494.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.4163, allocations: 71.98 kB / 494.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001081/0.4165, allocations: 131.2 kB / 494.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002077/0.4185, allocations: 459.4 kB / 495.3 MB, free: 11.29 MB / 346.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.00076/0.4193, allocations: 386 kB / 495.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00456/0.4239, allocations: 3.301 MB / 498.9 MB, free: 7.629 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.4239, allocations: 8.25 kB / 498.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04462/0.4685, allocations: 60.61 MB / 0.5464 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.469, allocations: 39.47 kB / 0.5465 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.4717, allocations: 1.986 MB / 0.5484 GB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/0.4725, allocations: 1.089 MB / 0.5495 GB, free: 7.82 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4725, allocations: 0 / 0.5495 GB, free: 7.82 MB / 410.7 MB Notification: Performance of Templates: time 0.02228/0.4947, allocations: 14.08 MB / 0.5632 GB, free: 9.77 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile (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 & ./Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/FastFourierTransform/Examples/RealFFT1/RealFFT1.csv","../files/Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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],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,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],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[1],Phii[20],Phii[21],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[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