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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007428/0.0007428, allocations: 88.69 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2382, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001061/0.2393, allocations: 1.015 MB / 376.1 MB, free: 44.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2406, allocations: 0.9612 MB / 377.1 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.2407, allocations: 7.938 kB / 377.1 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.241, allocations: 73.98 kB / 377.1 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.2412, allocations: 99.17 kB / 377.2 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.2416, allocations: 176.7 kB / 377.4 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.2418, allocations: 159.6 kB / 377.6 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.108e-05/0.2418, allocations: 2.25 kB / 377.6 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.242, allocations: 129.4 kB / 377.7 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.2422, allocations: 169.5 kB / 377.9 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.2422, allocations: 3.094 kB / 377.9 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.2426, allocations: 214.6 kB / 378.1 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.2427, allocations: 205.3 kB / 378.3 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.2429, allocations: 232.5 kB / 378.5 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.2433, allocations: 378.9 kB / 378.9 MB, free: 42.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2433, allocations: 1.031 kB / 378.9 MB, free: 42.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2433, allocations: 0 / 378.9 MB, free: 42.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2433, allocations: 0 / 378.9 MB, free: 42.93 MB / 298.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.0008221/0.2441, allocations: 0.9806 MB / 379.9 MB, free: 42.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2442, allocations: 8.562 kB / 379.9 MB, free: 42.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.2443, allocations: 67.09 kB / 379.9 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.2445, allocations: 262.3 kB / 380.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.2445, allocations: 8.125 kB / 380.2 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.2446, allocations: 7.75 kB / 380.2 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.2452, allocations: 0.8361 MB / 381 MB, free: 41.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2452, allocations: 1.188 kB / 381 MB, free: 41.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.2453, allocations: 5.031 kB / 381 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.2453, allocations: 0 / 381 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.2459, allocations: 0.7786 MB / 381.8 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.2462, allocations: 376.1 kB / 382.2 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.2473, allocations: 1.877 MB / 384.1 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008125/0.2481, allocations: 1.878 MB / 385.9 MB, free: 37.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.2482, allocations: 0 / 385.9 MB, free: 37.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006374/0.2488, allocations: 1.072 MB / 387 MB, free: 36.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=225): time 2.023e-06/0.2488, allocations: 0 / 387 MB, free: 36.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=225): time 0.003294/0.2521, allocations: 4.494 MB / 391.5 MB, free: 32.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.2523, allocations: 396.5 kB / 391.9 MB, free: 31.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2524, allocations: 202.4 kB / 392.1 MB, free: 31.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.2526, allocations: 189.6 kB / 392.3 MB, free: 31.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.2526, allocations: 111.8 kB / 392.4 MB, free: 31.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004503/0.2531, allocations: 0.9216 MB / 393.3 MB, free: 30.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.2532, allocations: 76.03 kB / 393.4 MB, free: 30.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2533, allocations: 462.7 kB / 393.8 MB, free: 29.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.2545, allocations: 1.018 MB / 394.9 MB, free: 28.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.2562, allocations: 2.62 MB / 397.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.2591, allocations: 3.862 MB / 401.3 MB, free: 20.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/0.2591, allocations: 16 kB / 401.4 MB, free: 20.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.004112/0.2632, allocations: 3.708 MB / 405.1 MB, free: 16.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.2633, allocations: 57.14 kB / 405.1 MB, free: 16.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.252e-05/0.2634, allocations: 56 kB / 405.2 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.208e-05/0.2634, allocations: 80.72 kB / 405.2 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.2646, allocations: 0.5183 MB / 405.8 MB, free: 16.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-05/0.2647, allocations: 111.6 kB / 405.9 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.2657, allocations: 301 kB / 406.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.2658, allocations: 180 kB / 406.3 MB, free: 15.65 MB / 298.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 () * Number of clocked 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.0006241/0.2665, allocations: 0.7653 MB / 407.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.2666, allocations: 111 kB / 407.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.2666, allocations: 17.14 kB / 407.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2666, allocations: 0 / 407.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2667, allocations: 4 kB / 407.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.2667, allocations: 0 / 407.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.267, allocations: 0.5174 MB / 407.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.267, allocations: 3.938 kB / 407.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.267, allocations: 0 / 407.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.267, allocations: 0 / 407.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.2671, allocations: 39.92 kB / 407.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2671, allocations: 0 / 407.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2671, allocations: 0 / 407.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/0.2814, allocations: 21.86 MB / 429.7 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.2816, allocations: 175.6 kB / 429.8 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.2818, allocations: 52.02 kB / 429.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.282, allocations: 28 kB / 429.9 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/0.2821, allocations: 27.98 kB / 429.9 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.2822, allocations: 39.94 kB / 430 MB, free: 7.891 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.2823, allocations: 132.3 kB / 430.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2823, allocations: 0 / 430.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002178/0.2845, allocations: 484 kB / 430.6 MB, free: 7.289 MB / 314.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) * Number of clocked states: 0 () * 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.0007902/0.2853, allocations: 365.8 kB / 430.9 MB, free: 6.957 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004226/0.2895, allocations: 3.176 MB / 434.1 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2895, allocations: 0 / 434.1 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03555/0.3251, allocations: 52.35 MB / 486.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.3257, allocations: 67.94 kB / 486.5 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.3288, allocations: 2.341 MB / 488.9 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.3294, allocations: 0.9758 MB / 489.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.3296, allocations: 71.44 kB / 489.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3296, allocations: 0 / 489.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of Templates: time 0.2171/0.5467, allocations: 15.47 MB / 0.4935 GB, free: 116.2 MB / 378.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/jenkins/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