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.001244/0.001244, allocations: 177.1 kB / 16.41 MB, free: 5.727 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.442/1.442, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008023/0.0008024, allocations: 94.81 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002861, allocations: 8 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2062, allocations: 47.56 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001185/0.2074, allocations: 1.022 MB / 375.6 MB, free: 44.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2087, allocations: 0.9705 MB / 376.5 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.2088, allocations: 0 / 376.5 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.2092, allocations: 74.05 kB / 376.6 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.2094, allocations: 94.73 kB / 376.7 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.2099, allocations: 180.2 kB / 376.9 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.2101, allocations: 163.2 kB / 377 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.2102, allocations: 1.938 kB / 377 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.2104, allocations: 133.6 kB / 377.2 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.2106, allocations: 174.1 kB / 377.3 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.2106, allocations: 2.281 kB / 377.3 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.211, allocations: 209.6 kB / 377.5 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.2112, allocations: 205.9 kB / 377.7 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.759e-05/0.2113, allocations: 105.7 kB / 377.9 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.2117, allocations: 378.2 kB / 378.2 MB, free: 42.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2117, allocations: 0 / 378.2 MB, free: 42.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2118, allocations: 1.25 kB / 378.2 MB, free: 42.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.2118, allocations: 0 / 378.2 MB, free: 42.98 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.0009/0.2127, allocations: 0.9871 MB / 379.2 MB, free: 42.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2127, allocations: 9.25 kB / 379.2 MB, free: 42.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.2129, allocations: 65.88 kB / 379.3 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.2132, allocations: 261.6 kB / 379.5 MB, free: 41.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2132, allocations: 7.516 kB / 379.5 MB, free: 41.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.2132, allocations: 19.94 kB / 379.6 MB, free: 41.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.2139, allocations: 0.833 MB / 380.4 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.214, allocations: 0 / 380.4 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.214, allocations: 1.438 kB / 380.4 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.214, allocations: 0 / 380.4 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009058/0.2149, allocations: 0.7759 MB / 381.2 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.2153, allocations: 375.7 kB / 381.5 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.217, allocations: 1.881 MB / 383.4 MB, free: 39.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.2184, allocations: 1.883 MB / 385.3 MB, free: 37.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.2184, allocations: 0 / 385.3 MB, free: 37.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008797/0.2193, allocations: 1.072 MB / 386.4 MB, free: 36.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=225): time 2.164e-06/0.2193, allocations: 0 / 386.4 MB, free: 36.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=225): time 0.004874/0.2242, allocations: 4.501 MB / 390.9 MB, free: 32.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002257/0.2244, allocations: 396.5 kB / 391.3 MB, free: 31.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.2246, allocations: 202.5 kB / 391.5 MB, free: 31.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002265/0.2249, allocations: 189.6 kB / 391.7 MB, free: 31.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.2249, allocations: 108 kB / 391.8 MB, free: 31.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007377/0.2257, allocations: 0.9254 MB / 392.7 MB, free: 30.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.2258, allocations: 68 kB / 392.7 MB, free: 30.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.2261, allocations: 466.7 kB / 393.2 MB, free: 29.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.228, allocations: 1.018 MB / 394.2 MB, free: 28.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002474/0.2304, allocations: 2.62 MB / 396.8 MB, free: 25.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/0.2329, allocations: 1.524 MB / 398.4 MB, free: 24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.627e-05/0.233, allocations: 16 kB / 398.4 MB, free: 23.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.006617/0.2396, allocations: 3.701 MB / 402.1 MB, free: 20.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.03e-05/0.2397, allocations: 57.64 kB / 402.1 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-05/0.2398, allocations: 56 kB / 402.2 MB, free: 20.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.24, allocations: 84 kB / 402.3 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/0.2419, allocations: 0.5228 MB / 402.8 MB, free: 19.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001153/0.242, allocations: 107.6 kB / 402.9 MB, free: 19.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.2439, allocations: 304.9 kB / 403.2 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/0.2441, allocations: 184 kB / 403.4 MB, free: 18.96 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.0008972/0.245, allocations: 0.7614 MB / 404.1 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.2452, allocations: 107 kB / 404.2 MB, free: 18.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.2452, allocations: 21.16 kB / 404.3 MB, free: 18.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.2452, allocations: 3.984 kB / 404.3 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2452, allocations: 0 / 404.3 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2453, allocations: 0 / 404.3 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.2456, allocations: 0.5096 MB / 404.8 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2456, allocations: 4 kB / 404.8 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-06/0.2456, allocations: 3.984 kB / 404.8 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2456, allocations: 0 / 404.8 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.2457, allocations: 35.95 kB / 404.8 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2457, allocations: 0 / 404.8 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2457, allocations: 3.938 kB / 404.8 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/0.2583, allocations: 21.87 MB / 426.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.2586, allocations: 171.7 kB / 426.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.2587, allocations: 48 kB / 426.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.2589, allocations: 39.95 kB / 426.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.259, allocations: 35.88 kB / 427 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/0.2591, allocations: 31.98 kB / 427 MB, free: 11.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.2592, allocations: 132.3 kB / 427.1 MB, free: 11.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2592, allocations: 0 / 427.1 MB, free: 11.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001805/0.2611, allocations: 492 kB / 427.6 MB, free: 10.58 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.0007223/0.2618, allocations: 359.1 kB / 428 MB, free: 10.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003955/0.2658, allocations: 3.18 MB / 431.2 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2658, allocations: 0 / 431.2 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03384/0.2996, allocations: 52.36 MB / 483.5 MB, free: 2.684 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006397/0.3003, allocations: 68.19 kB / 483.6 MB, free: 2.617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.3034, allocations: 2.325 MB / 485.9 MB, free: 264 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.3039, allocations: 0.9797 MB / 486.9 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.3042, allocations: 67.44 kB / 487 MB, free: 15.18 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3042, allocations: 0 / 487 MB, free: 15.18 MB / 378.7 MB Notification: Performance of Templates: time 0.151/0.4552, allocations: 15.47 MB / 0.4907 GB, free: 115.8 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