Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.003624/0.003629, allocations: 183.1 kB / 8.157 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.759/1.759, 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.001238/0.001238, allocations: 86.41 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.067e-05/1.14e-05, allocations: 0 / 314.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.255, allocations: 47.56 MB / 361.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.3719, allocations: 76.54 MB / 438.4 MB, free: 9.504 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.3722, allocations: 75.95 kB / 438.4 MB, free: 9.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06369/0.4359, allocations: 13.16 MB / 451.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.436, allocations: 12 kB / 451.6 MB, free: 12.3 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001536/0.4376, allocations: 1.021 MB / 452.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.4376, allocations: 12.03 kB / 452.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.4378, allocations: 74.91 kB / 452.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/0.4567, allocations: 3.677 MB / 456.4 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.4568, allocations: 4 kB / 456.4 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.4569, allocations: 7.906 kB / 456.4 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001321/0.4582, allocations: 0.7907 MB / 457.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.4596, allocations: 0.8646 MB / 458.1 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4596, allocations: 4 kB / 458.1 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.4597, allocations: 0 / 458.1 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.4597, allocations: 4 kB / 458.1 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.4602, allocations: 294.4 kB / 458.4 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.4626, allocations: 2.086 MB / 460.4 MB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.465, allocations: 2.079 MB / 462.5 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.465, allocations: 7.922 kB / 462.5 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/0.4667, allocations: 1.123 MB / 463.7 MB, free: 84 kB / 346.7 MB Notification: Performance of pre-optimization done (n=246): time 4.208e-06/0.4667, allocations: 0.5625 kB / 463.7 MB, free: 84 kB / 346.7 MB Notification: Performance of matching and sorting (n=246): time 0.008832/0.4756, allocations: 7.375 MB / 471 MB, free: 8.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004245/0.476, allocations: 436.4 kB / 471.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.4763, allocations: 162.7 kB / 471.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000424/0.4768, allocations: 169.6 kB / 471.8 MB, free: 7.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.4769, allocations: 170.6 kB / 471.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.478, allocations: 0.9532 MB / 472.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.4781, allocations: 4.031 kB / 472.9 MB, free: 6.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002943/0.4784, allocations: 487.3 kB / 473.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/0.4811, allocations: 1.054 MB / 474.4 MB, free: 5.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/0.4851, allocations: 2.758 MB / 477.2 MB, free: 1.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004084/0.4892, allocations: 1.611 MB / 478.8 MB, free: 0 / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-05/0.4894, allocations: 16.05 kB / 478.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.00992/0.4993, allocations: 3.556 MB / 482.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.4994, allocations: 6.031 kB / 482.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/0.4995, allocations: 62.53 kB / 482.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.4997, allocations: 92 kB / 482.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/0.5029, allocations: 0.5651 MB / 483.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001296/0.5031, allocations: 124.1 kB / 483.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.5053, allocations: 236.9 kB / 483.5 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/0.5057, allocations: 196 kB / 483.6 MB, free: 11.16 MB / 378.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.001149/0.5068, allocations: 0.5637 MB / 484.2 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.5071, allocations: 119 kB / 484.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.5072, allocations: 21.92 kB / 484.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.5072, allocations: 3.906 kB / 484.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.5072, allocations: 0 / 484.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5072, allocations: 0 / 484.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006796/0.5079, allocations: 466.1 kB / 484.8 MB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5079, allocations: 3.984 kB / 484.8 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-06/0.5079, allocations: 0 / 484.8 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.508, allocations: 4 kB / 484.8 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.5081, allocations: 48 kB / 484.9 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.5081, allocations: 3.938 kB / 484.9 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5081, allocations: 3.984 kB / 484.9 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01192/0.5201, allocations: 8.709 MB / 493.6 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.5204, allocations: 183.5 kB / 493.8 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/0.5207, allocations: 79.88 kB / 493.8 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.5212, allocations: 32 kB / 493.9 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.5214, allocations: 32.03 kB / 493.9 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/0.5216, allocations: 67.98 kB / 494 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001513/0.5218, allocations: 131.5 kB / 494.1 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002776/0.5245, allocations: 452 kB / 494.5 MB, free: 176 kB / 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: 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.001174/0.5258, allocations: 398.6 kB / 494.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00716/0.5329, allocations: 3.305 MB / 498.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.533, allocations: 0.75 kB / 498.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1766/0.7096, allocations: 60.62 MB / 0.5457 GB, free: 136.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.7101, allocations: 38.06 kB / 0.5458 GB, free: 136.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.7137, allocations: 2.049 MB / 0.5478 GB, free: 134.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007437/0.7145, allocations: 1.085 MB / 0.5488 GB, free: 133.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7145, allocations: 0 / 0.5488 GB, free: 133.1 MB / 394.7 MB Notification: Performance of Templates: time 0.03103/0.7455, allocations: 16.11 MB / 0.5646 GB, free: 117.3 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & ./Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches