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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002705/0.002705, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.164/1.164, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.01659/0.01659, allocations: 3.15 MB / 263.1 MB, free: 10.07 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.233e-06/1.233e-06, allocations: 0 / 333.5 MB, free: 16.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.558e-05, allocations: 6.312 kB / 333.5 MB, free: 16.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002013/0.002029, allocations: 2.057 MB / 335.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003791/0.00582, allocations: 3.585 MB / 339.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.005939, allocations: 7.875 kB / 339.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.006194, allocations: 67.39 kB / 339.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.006309, allocations: 43.69 kB / 339.2 MB, free: 10.22 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 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 master/Sources/SignalBasedNoise.mo:248:3-259: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 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 master/Sources/SignalBasedNoise.mo:248:3-259: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.001246/0.007555, allocations: 0.8018 MB / 340.1 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.009675, allocations: 5.665 MB / 345.7 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.00977, allocations: 40.58 kB / 345.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.01182, allocations: 2.075 MB / 347.8 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.01304, allocations: 1.77 MB / 349.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004088/0.01345, allocations: 232 kB / 349.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.147/4.161, allocations: 1.226 GB / 1.568 GB, free: 124.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001779/4.163, allocations: 0.9517 MB / 1.569 GB, free: 124.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002999/4.166, allocations: 0.8495 MB / 1.57 GB, free: 124 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006135/4.172, allocations: 4.14 MB / 1.574 GB, free: 121.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/4.172, allocations: 0 / 1.574 GB, free: 121.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/4.172, allocations: 0 / 1.574 GB, free: 121.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.179e-05/4.172, allocations: 0 / 1.574 GB, free: 121.3 MB / 410.7 MB 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.004725/4.177, allocations: 2.04 MB / 1.576 GB, free: 119.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/4.177, allocations: 12.02 kB / 1.576 GB, free: 119.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/4.179, allocations: 0.6051 MB / 1.576 GB, free: 118.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/4.18, allocations: 1.413 MB / 1.578 GB, free: 117.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.563e-05/4.18, allocations: 127.8 kB / 1.578 GB, free: 117.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/4.181, allocations: 168.3 kB / 1.578 GB, free: 116.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004207/4.185, allocations: 2.617 MB / 1.58 GB, free: 114.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/4.185, allocations: 4 kB / 1.58 GB, free: 114.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/4.185, allocations: 75.94 kB / 1.58 GB, free: 114.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/4.185, allocations: 40 kB / 1.581 GB, free: 114.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04933/4.235, allocations: 44.28 MB / 1.624 GB, free: 69.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005392/4.24, allocations: 5.025 MB / 1.629 GB, free: 64.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3065/4.546, allocations: 70.36 MB / 1.697 GB, free: 132.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/4.549, allocations: 1.06 MB / 1.698 GB, free: 131.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006252/4.549, allocations: 270.2 kB / 1.699 GB, free: 131.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/4.549, allocations: 81.77 kB / 1.699 GB, free: 131.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=422): time 7.865e-06/4.549, allocations: 0 / 1.699 GB, free: 131.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=422): time 0.01112/4.56, allocations: 9.256 MB / 1.708 GB, free: 122.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/4.56, allocations: 94.72 kB / 1.708 GB, free: 122 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/4.561, allocations: 312.4 kB / 1.708 GB, free: 121.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002238/4.561, allocations: 104.3 kB / 1.708 GB, free: 121.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/4.561, allocations: 199.9 kB / 1.708 GB, free: 121.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007855/4.562, allocations: 1.471 MB / 1.71 GB, free: 120.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/4.563, allocations: 0.9708 MB / 1.711 GB, free: 119.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/4.563, allocations: 0.4918 MB / 1.711 GB, free: 119 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/4.565, allocations: 0.9823 MB / 1.712 GB, free: 118.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/4.567, allocations: 1.273 MB / 1.714 GB, free: 116.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0045/4.571, allocations: 2.516 MB / 1.716 GB, free: 114.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/4.571, allocations: 0 / 1.716 GB, free: 114.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.009724/4.581, allocations: 7.933 MB / 1.724 GB, free: 106.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/4.581, allocations: 12.83 kB / 1.724 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/4.581, allocations: 0 / 1.724 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/4.581, allocations: 12 kB / 1.724 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/4.584, allocations: 1.09 MB / 1.725 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.221e-05/4.584, allocations: 16 kB / 1.725 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/4.585, allocations: 238.8 kB / 1.725 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004128/4.585, allocations: 351.3 kB / 1.725 GB, free: 104.6 MB / 410.7 MB 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.0007547/4.586, allocations: 329.6 kB / 1.726 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/4.588, allocations: 0.5645 MB / 1.726 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/4.599, allocations: 9.851 MB / 1.736 GB, free: 93.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/4.599, allocations: 40 kB / 1.736 GB, free: 93.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/4.599, allocations: 4 kB / 1.736 GB, free: 93.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/4.599, allocations: 19.92 kB / 1.736 GB, free: 93.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/4.601, allocations: 1.277 MB / 1.737 GB, free: 92.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/4.601, allocations: 0 / 1.737 GB, free: 92.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/4.603, allocations: 1.074 MB / 1.738 GB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.452e-05/4.603, allocations: 15.83 kB / 1.738 GB, free: 91.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003377/4.604, allocations: 295.5 kB / 1.739 GB, free: 90.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.556e-05/4.604, allocations: 16 kB / 1.739 GB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/4.604, allocations: 0 / 1.739 GB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/4.615, allocations: 9.752 MB / 1.748 GB, free: 80.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/4.617, allocations: 1.254 MB / 1.749 GB, free: 78.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/4.617, allocations: 67.62 kB / 1.749 GB, free: 78.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/4.618, allocations: 71.98 kB / 1.749 GB, free: 78.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000606/4.619, allocations: 406.5 kB / 1.75 GB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005315/4.619, allocations: 339.4 kB / 1.75 GB, free: 78.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001695/4.62, allocations: 223 kB / 1.75 GB, free: 77.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/4.62, allocations: 0 / 1.75 GB, free: 77.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002664/4.622, allocations: 0.6792 MB / 1.751 GB, free: 77.14 MB / 410.7 MB 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.001918/4.624, allocations: 0.7168 MB / 1.752 GB, free: 76.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006114/4.63, allocations: 2.967 MB / 1.755 GB, free: 73.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/4.63, allocations: 0 / 1.755 GB, free: 73.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003068/4.633, allocations: 1.742 MB / 1.756 GB, free: 71.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/4.634, allocations: 388.4 kB / 1.757 GB, free: 71.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/4.639, allocations: 3.178 MB / 1.76 GB, free: 68.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/4.64, allocations: 417.3 kB / 1.76 GB, free: 67.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004982/4.645, allocations: 2.894 MB / 1.763 GB, free: 65.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/4.646, allocations: 0.6401 MB / 1.764 GB, free: 64.38 MB / 410.7 MB Notification: Performance of SimCode: time 2.274e-06/4.646, allocations: 0 / 1.764 GB, free: 64.38 MB / 410.7 MB Notification: Performance of Templates: time 0.1634/4.809, allocations: 45.28 MB / 1.808 GB, free: 160 MB / 410.7 MB " [Timeout remaining time 655] 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=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.738415716215968]