Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02591/0.02591, allocations: 3.94 MB / 308.4 MB, free: 2.941 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.89 kB / 429.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3105, allocations: 52.91 MB / 482.3 MB, free: 26.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002797/0.3133, allocations: 2.085 MB / 484.4 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005515/0.3188, allocations: 3.983 MB / 488.4 MB, free: 22.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.319, allocations: 7.094 kB / 488.4 MB, free: 22.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.3193, allocations: 66.36 kB / 488.4 MB, free: 22.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.3195, allocations: 38.88 kB / 488.5 MB, free: 22.86 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseMinimum.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseMinimum.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseMinimum.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseMinimum.convertRealToIntegers'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseWhite.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseWhite.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseWhite.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseWhite.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.3214, allocations: 0.7213 MB / 489.2 MB, free: 22.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004636/0.3261, allocations: 5.724 MB / 494.9 MB, free: 20.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.3263, allocations: 39.72 kB / 495 MB, free: 20.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.3295, allocations: 1.493 MB / 496.5 MB, free: 19.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003548/0.333, allocations: 1.922 MB / 498.4 MB, free: 18.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.3342, allocations: 257.1 kB / 498.6 MB, free: 18.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364/7.698, allocations: 1.218 GB / 1.705 GB, free: 80.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002628/7.701, allocations: 0.9782 MB / 1.706 GB, free: 79.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001477/7.703, allocations: 1.097 MB / 1.707 GB, free: 78.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005714/7.708, allocations: 3.862 MB / 1.71 GB, free: 76.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/7.708, allocations: 0 / 1.71 GB, free: 76.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/7.708, allocations: 0 / 1.71 GB, free: 76.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.264e-05/7.708, allocations: 0 / 1.71 GB, free: 76.64 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.006951/7.715, allocations: 2.029 MB / 1.712 GB, free: 75.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/7.715, allocations: 17.41 kB / 1.712 GB, free: 75.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/7.718, allocations: 390.9 kB / 1.713 GB, free: 75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/7.722, allocations: 1.62 MB / 1.714 GB, free: 73.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/7.722, allocations: 128.6 kB / 1.715 GB, free: 73.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000557/7.722, allocations: 172.4 kB / 1.715 GB, free: 73.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006451/7.729, allocations: 3.62 MB / 1.718 GB, free: 71.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/7.729, allocations: 0 / 1.718 GB, free: 71.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/7.729, allocations: 68 kB / 1.718 GB, free: 71.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/7.729, allocations: 44 kB / 1.718 GB, free: 71.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3372/8.066, allocations: 62.51 MB / 1.779 GB, free: 214 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009845/8.076, allocations: 6.882 MB / 1.786 GB, free: 209.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2531/8.329, allocations: 48.54 MB / 1.833 GB, free: 170.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/8.333, allocations: 2.034 MB / 1.835 GB, free: 168 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008298/8.333, allocations: 0.6056 MB / 1.836 GB, free: 167.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/8.334, allocations: 81.81 kB / 1.836 GB, free: 167.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=422): time 5.34e-06/8.334, allocations: 2.906 kB / 1.836 GB, free: 167.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=422): time 0.01621/8.35, allocations: 12.58 MB / 1.848 GB, free: 154.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/8.35, allocations: 95.84 kB / 1.849 GB, free: 154.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/8.35, allocations: 317.2 kB / 1.849 GB, free: 154.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/8.351, allocations: 89.7 kB / 1.849 GB, free: 154.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/8.351, allocations: 154.7 kB / 1.849 GB, free: 154.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009531/8.352, allocations: 1.453 MB / 1.85 GB, free: 152.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/8.353, allocations: 0.9445 MB / 1.851 GB, free: 151.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/8.353, allocations: 329.9 kB / 1.852 GB, free: 151.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/8.356, allocations: 2.013 MB / 1.854 GB, free: 149.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/8.359, allocations: 2.282 MB / 1.856 GB, free: 147.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007314/8.366, allocations: 4.715 MB / 1.861 GB, free: 142.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/8.366, allocations: 0 / 1.861 GB, free: 142.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01547/8.382, allocations: 13.42 MB / 1.874 GB, free: 128.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/8.382, allocations: 4 kB / 1.874 GB, free: 128.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/8.382, allocations: 0 / 1.874 GB, free: 128.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/8.382, allocations: 16 kB / 1.874 GB, free: 128.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/8.386, allocations: 1.096 MB / 1.875 GB, free: 127.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.933e-05/8.386, allocations: 12 kB / 1.875 GB, free: 127.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/8.388, allocations: 249.2 kB / 1.875 GB, free: 127.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005525/8.388, allocations: 344.3 kB / 1.875 GB, free: 127.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 (globalSeed.seed,spaceDomainNoiseWhite.actualGlobalSeed,spaceDomainNoiseMinimum.actualGlobalSeed,globalSeed.id_impure,spaceDomainNoiseWhite.localSeed,spaceDomainNoiseMinimum.localSeed,position.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 431 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001177/8.389, allocations: 0.5249 MB / 1.876 GB, free: 126.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003014/8.392, allocations: 351 kB / 1.876 GB, free: 126.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01782/8.41, allocations: 12.38 MB / 1.888 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/8.41, allocations: 40 kB / 1.888 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/8.41, allocations: 7.922 kB / 1.888 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-05/8.41, allocations: 19.92 kB / 1.888 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/8.413, allocations: 2.492 MB / 1.891 GB, free: 111.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/8.413, allocations: 10.17 kB / 1.891 GB, free: 111.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004227/8.417, allocations: 1.065 MB / 1.892 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-05/8.417, allocations: 16 kB / 1.892 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005285/8.418, allocations: 294.9 kB / 1.892 GB, free: 110.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/8.418, allocations: 12 kB / 1.892 GB, free: 110.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/8.418, allocations: 4 kB / 1.892 GB, free: 110.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/8.436, allocations: 13.92 MB / 1.906 GB, free: 96.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/8.437, allocations: 1.345 MB / 1.907 GB, free: 94.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003747/8.437, allocations: 68 kB / 1.907 GB, free: 94.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/8.439, allocations: 79.98 kB / 1.907 GB, free: 94.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007233/8.44, allocations: 390.6 kB / 1.907 GB, free: 94.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006653/8.44, allocations: 350 kB / 1.908 GB, free: 93.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004458/8.441, allocations: 233.9 kB / 1.908 GB, free: 93.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/8.441, allocations: 0 / 1.908 GB, free: 93.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004227/8.445, allocations: 0.6752 MB / 1.909 GB, free: 93.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (position.y,spaceDomainFilter.x_scaled[1],spaceDomainFilter.x_scaled[2]) * Number of discrete variables: 2 (spaceDomainNoiseMinimum.localSeed,spaceDomainNoiseWhite.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (422): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002202/8.447, allocations: 0.6687 MB / 1.909 GB, free: 92.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008098/8.455, allocations: 4.834 MB / 1.914 GB, free: 87.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/8.455, allocations: 192 / 1.914 GB, free: 87.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003955/8.459, allocations: 2.567 MB / 1.917 GB, free: 84.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/8.46, allocations: 159.1 kB / 1.917 GB, free: 84.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/8.466, allocations: 4.48 MB / 1.921 GB, free: 80.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/8.466, allocations: 1.331 MB / 1.922 GB, free: 78.95 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007553/8.474, allocations: 3.017 MB / 1.925 GB, free: 76.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001532/8.475, allocations: 0.6351 MB / 1.926 GB, free: 75.48 MB / 0.545 GB Notification: Performance of SimCode: time 1.724e-06/8.475, allocations: 0 / 1.926 GB, free: 75.48 MB / 0.545 GB Notification: Performance of Templates: time 0.3746/8.85, allocations: 41.13 MB / 1.966 GB, free: 192.3 MB / 0.545 GB " [Timeout remaining time 651] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.sim & ./AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.955052068457007]