Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2") [: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.002546/0.002545, allocations: 189.3 kB / 8.154 MB, free: 2.203 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.694/1.694, allocations: 205.2 MB / 213.8 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001263/0.001262, allocations: 92.7 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.684e-06/7.735e-06, allocations: 0 / 314.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2334, allocations: 47.56 MB / 361.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.3503, allocations: 76.52 MB / 438.4 MB, free: 9.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.3506, allocations: 71.95 kB / 438.4 MB, free: 9.473 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06269/0.4133, allocations: 13.01 MB / 451.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.4134, allocations: 12 kB / 451.5 MB, free: 12.48 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.001504/0.415, allocations: 0.9592 MB / 452.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.415, allocations: 11.97 kB / 452.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.4152, allocations: 70.97 kB / 452.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/0.4344, allocations: 3.666 MB / 456.2 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.4345, allocations: 4 kB / 456.2 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.4346, allocations: 8 kB / 456.2 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00124/0.4358, allocations: 0.7205 MB / 456.9 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.4371, allocations: 0.7943 MB / 457.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.4372, allocations: 0 / 457.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.4372, allocations: 0 / 457.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.4372, allocations: 7.922 kB / 457.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.4377, allocations: 278.6 kB / 458 MB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.4398, allocations: 1.826 MB / 459.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/0.442, allocations: 1.809 MB / 461.6 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.442, allocations: 0 / 461.6 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/0.4435, allocations: 1.033 MB / 462.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=225): time 4.027e-06/0.4436, allocations: 0 / 462.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=225): time 0.007756/0.4513, allocations: 6.317 MB / 469 MB, free: 10.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003908/0.4518, allocations: 396.5 kB / 469.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.452, allocations: 162.6 kB / 469.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003954/0.4524, allocations: 165.6 kB / 469.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.4525, allocations: 174.3 kB / 469.8 MB, free: 9.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.4536, allocations: 0.8943 MB / 470.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.4538, allocations: 7.938 kB / 470.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003235/0.4541, allocations: 467.7 kB / 471.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002492/0.4566, allocations: 0.9832 MB / 472.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003822/0.4605, allocations: 2.554 MB / 474.7 MB, free: 4.199 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00382/0.4643, allocations: 1.494 MB / 476.2 MB, free: 2.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.968e-05/0.4644, allocations: 16 kB / 476.2 MB, free: 2.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.00925/0.4737, allocations: 3.294 MB / 479.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.4738, allocations: 4 kB / 479.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/0.4739, allocations: 52 kB / 479.6 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.474, allocations: 84 kB / 479.7 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/0.477, allocations: 0.5261 MB / 480.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000127/0.4772, allocations: 112.1 kB / 480.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.4792, allocations: 223.5 kB / 480.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003562/0.4796, allocations: 180 kB / 480.7 MB, free: 14.21 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.001052/0.4807, allocations: 0.4995 MB / 481.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.481, allocations: 115 kB / 481.3 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.481, allocations: 13.16 kB / 481.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.481, allocations: 0 / 481.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.481, allocations: 0 / 481.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4811, allocations: 0 / 481.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.4817, allocations: 442.3 kB / 481.8 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4817, allocations: 0 / 481.8 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-06/0.4817, allocations: 4 kB / 481.8 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.4818, allocations: 0 / 481.8 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/0.4819, allocations: 51.89 kB / 481.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4819, allocations: 0 / 481.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4819, allocations: 0 / 481.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01064/0.4926, allocations: 7.563 MB / 489.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.4928, allocations: 179.4 kB / 489.6 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.4932, allocations: 51.97 kB / 489.6 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.4936, allocations: 40.03 kB / 489.6 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.4938, allocations: 20 kB / 489.7 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/0.4939, allocations: 67.98 kB / 489.7 MB, free: 5.098 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001544/0.4941, allocations: 135.5 kB / 489.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002624/0.4967, allocations: 423.9 kB / 490.3 MB, free: 4.551 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.00105/0.4978, allocations: 345.8 kB / 490.6 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006585/0.5045, allocations: 3.07 MB / 493.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.5045, allocations: 0 / 493.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1837/0.6883, allocations: 53.5 MB / 0.5344 GB, free: 147.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.6887, allocations: 37.42 kB / 0.5344 GB, free: 147.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.6922, allocations: 1.915 MB / 0.5363 GB, free: 146 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007197/0.693, allocations: 1.057 MB / 0.5373 GB, free: 144.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.693, allocations: 0 / 0.5373 GB, free: 144.9 MB / 394.7 MB Notification: Performance of Templates: time 0.03212/0.7251, allocations: 15.04 MB / 0.552 GB, free: 130.2 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/FastFourierTransform/Examples/RealFFT2/RealFFT2.csv","../files/Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches