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.001789/0.001789, allocations: 105.5 kB / 16.45 MB, free: 6.457 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.001961/0.001961, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.492/1.492, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.02767/0.02767, allocations: 3.952 MB / 306.6 MB, free: 6.016 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.001995/0.001995, allocations: 72.12 kB / 426.6 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1136, allocations: 52.91 MB / 479.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.003471/0.117, allocations: 2.068 MB / 481.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006694/0.1237, allocations: 3.945 MB / 485.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.1239, allocations: 11.88 kB / 485.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.1243, allocations: 67.45 kB / 485.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1245, allocations: 47.7 kB / 485.6 MB, free: 9.68 MB / 350.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.001971/0.1264, allocations: 0.705 MB / 486.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005327/0.1318, allocations: 5.728 MB / 492.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1319, allocations: 48.38 kB / 492.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.1342, allocations: 1.493 MB / 493.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002679/0.1369, allocations: 1.923 MB / 495.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005557/0.1375, allocations: 256 kB / 495.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.818/7.956, allocations: 1.218 GB / 1.702 GB, free: 172.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001949/7.958, allocations: 0.9782 MB / 1.703 GB, free: 172.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/7.959, allocations: 1.094 MB / 1.704 GB, free: 172.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005211/7.964, allocations: 3.861 MB / 1.708 GB, free: 171.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/7.964, allocations: 1.375 kB / 1.708 GB, free: 171.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/7.964, allocations: 0.5312 kB / 1.708 GB, free: 171.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.168e-05/7.964, allocations: 0.5 kB / 1.708 GB, free: 171.2 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.007324/7.972, allocations: 2.032 MB / 1.71 GB, free: 169.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/7.972, allocations: 13.73 kB / 1.71 GB, free: 169.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/7.974, allocations: 394.6 kB / 1.71 GB, free: 169.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004295/7.978, allocations: 1.616 MB / 1.712 GB, free: 168.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/7.979, allocations: 124.1 kB / 1.712 GB, free: 168.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005205/7.979, allocations: 172.1 kB / 1.712 GB, free: 168.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006007/7.985, allocations: 3.624 MB / 1.715 GB, free: 166 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/7.985, allocations: 0 / 1.715 GB, free: 166 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003181/7.985, allocations: 67.72 kB / 1.715 GB, free: 165.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/7.985, allocations: 39.97 kB / 1.716 GB, free: 165.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09734/8.083, allocations: 62.51 MB / 1.777 GB, free: 105.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/8.094, allocations: 6.888 MB / 1.783 GB, free: 98.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2859/8.38, allocations: 48.54 MB / 1.831 GB, free: 49.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/8.384, allocations: 2.034 MB / 1.833 GB, free: 47.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/8.385, allocations: 0.6067 MB / 1.833 GB, free: 46.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.735e-05/8.385, allocations: 69.88 kB / 1.833 GB, free: 46.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=422): time 6.522e-06/8.385, allocations: 0 / 1.833 GB, free: 46.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=422): time 0.02085/8.406, allocations: 12.58 MB / 1.846 GB, free: 34.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/8.406, allocations: 98.66 kB / 1.846 GB, free: 34.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006275/8.407, allocations: 318.9 kB / 1.846 GB, free: 33.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008906/8.407, allocations: 89.7 kB / 1.846 GB, free: 33.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/8.408, allocations: 161.4 kB / 1.846 GB, free: 33.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001783/8.409, allocations: 1.448 MB / 1.848 GB, free: 32.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2823/8.692, allocations: 0.9405 MB / 1.849 GB, free: 221.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001061/8.692, allocations: 324.8 kB / 1.849 GB, free: 221.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00499/8.697, allocations: 2.018 MB / 1.851 GB, free: 221.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005661/8.702, allocations: 2.273 MB / 1.853 GB, free: 220.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/8.714, allocations: 4.726 MB / 1.858 GB, free: 219.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/8.714, allocations: 2.125 kB / 1.858 GB, free: 219.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.02568/8.74, allocations: 13.41 MB / 1.871 GB, free: 209.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/8.74, allocations: 7.281 kB / 1.871 GB, free: 209.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/8.74, allocations: 4.094 kB / 1.871 GB, free: 209.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-05/8.74, allocations: 16 kB / 1.871 GB, free: 209.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005548/8.746, allocations: 1.098 MB / 1.872 GB, free: 209.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.154e-05/8.746, allocations: 19.75 kB / 1.872 GB, free: 209.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/8.749, allocations: 241 kB / 1.872 GB, free: 208.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/8.75, allocations: 343.8 kB / 1.872 GB, free: 208.8 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.002532/8.753, allocations: 0.5194 MB / 1.873 GB, free: 208.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002824/8.756, allocations: 347 kB / 1.873 GB, free: 207.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02328/8.779, allocations: 12.38 MB / 1.885 GB, free: 196 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/8.779, allocations: 43.75 kB / 1.885 GB, free: 196 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/8.779, allocations: 7.469 kB / 1.885 GB, free: 196 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-05/8.779, allocations: 19.92 kB / 1.885 GB, free: 195.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/8.783, allocations: 2.501 MB / 1.888 GB, free: 193.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/8.783, allocations: 0 / 1.888 GB, free: 193.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005138/8.789, allocations: 1.061 MB / 1.889 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.012e-05/8.789, allocations: 16 kB / 1.889 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001403/8.79, allocations: 299.5 kB / 1.889 GB, free: 192.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.726e-05/8.79, allocations: 15.94 kB / 1.889 GB, free: 192.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/8.79, allocations: 0 / 1.889 GB, free: 192.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02512/8.815, allocations: 13.92 MB / 1.903 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002223/8.817, allocations: 1.356 MB / 1.904 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/8.819, allocations: 71.98 kB / 1.904 GB, free: 176.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002618/8.821, allocations: 79.92 kB / 1.904 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001151/8.822, allocations: 390.6 kB / 1.905 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00124/8.824, allocations: 339.4 kB / 1.905 GB, free: 175.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004257/8.824, allocations: 233.9 kB / 1.905 GB, free: 175.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/8.824, allocations: 0 / 1.905 GB, free: 175.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004211/8.828, allocations: 0.6792 MB / 1.906 GB, free: 175 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.003155/8.831, allocations: 0.6616 MB / 1.907 GB, free: 174.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009962/8.841, allocations: 4.834 MB / 1.911 GB, free: 169.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/8.841, allocations: 4 kB / 1.911 GB, free: 169.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005447/8.847, allocations: 2.559 MB / 1.914 GB, free: 167 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/8.849, allocations: 160.8 kB / 1.914 GB, free: 166.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006643/8.855, allocations: 4.464 MB / 1.918 GB, free: 162.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/8.856, allocations: 1.336 MB / 1.92 GB, free: 160.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009203/8.865, allocations: 3.006 MB / 1.923 GB, free: 158.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002611/8.868, allocations: 0.6468 MB / 1.923 GB, free: 157.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/8.868, allocations: 0 / 1.923 GB, free: 157.5 MB / 0.545 GB Notification: Performance of Templates: time 0.05798/8.926, allocations: 40.55 MB / 1.963 GB, free: 116.9 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.800454857293516] Failed to read output from testmodel.py, exit status != 0: 8.934050768613815 8.943684156 0.977204492 Calling exit ...