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.001948/0.001948, allocations: 93.47 kB / 19.44 MB, free: 336 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.002242/0.002242, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.03213/0.03213, allocations: 3.157 MB / 262.7 MB, free: 10.1 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.673e-06/1.673e-06, allocations: 0 / 332.8 MB, free: 16.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.82e-05, allocations: 3.859 kB / 332.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.004214/0.004242, allocations: 2.023 MB / 334.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009397/0.01364, allocations: 3.847 MB / 338.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.01392, allocations: 11.88 kB / 338.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.01436, allocations: 47.53 kB / 338.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.01463, allocations: 59.56 kB / 338.8 MB, free: 10.32 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.003037/0.01767, allocations: 0.7656 MB / 339.5 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004339/0.02201, allocations: 5.673 MB / 345.2 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.02217, allocations: 36.58 kB / 345.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004433/0.0266, allocations: 2.051 MB / 347.3 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.02875, allocations: 1.806 MB / 349.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008311/0.02958, allocations: 256 kB / 349.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.495/9.524, allocations: 1.225 GB / 1.567 GB, free: 125.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/9.526, allocations: 0.9824 MB / 1.568 GB, free: 124.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/9.527, allocations: 0.8826 MB / 1.568 GB, free: 124.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005282/9.532, allocations: 4.765 MB / 1.573 GB, free: 121.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/9.532, allocations: 0 / 1.573 GB, free: 121.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/9.532, allocations: 1.875 kB / 1.573 GB, free: 121.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.366e-05/9.532, allocations: 3.844 kB / 1.573 GB, free: 121.5 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.005445/9.538, allocations: 2.102 MB / 1.575 GB, free: 119.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/9.538, allocations: 12.03 kB / 1.575 GB, free: 119.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/9.54, allocations: 0.6079 MB / 1.576 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/9.544, allocations: 1.522 MB / 1.577 GB, free: 117.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/9.544, allocations: 123.8 kB / 1.577 GB, free: 117.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003741/9.545, allocations: 168.3 kB / 1.577 GB, free: 117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/9.549, allocations: 2.92 MB / 1.58 GB, free: 114 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/9.549, allocations: 8 kB / 1.58 GB, free: 114 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/9.549, allocations: 67.94 kB / 1.58 GB, free: 113.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/9.549, allocations: 40 kB / 1.58 GB, free: 113.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08691/9.636, allocations: 48.67 MB / 1.628 GB, free: 65.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008139/9.644, allocations: 5.374 MB / 1.633 GB, free: 59.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4107/10.05, allocations: 45.18 MB / 1.677 GB, free: 157.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/10.06, allocations: 1.299 MB / 1.679 GB, free: 156.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/10.06, allocations: 274.2 kB / 1.679 GB, free: 155.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/10.06, allocations: 72.7 kB / 1.679 GB, free: 155.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=422): time 6.993e-06/10.06, allocations: 0 / 1.679 GB, free: 155.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=422): time 0.01348/10.07, allocations: 9.999 MB / 1.689 GB, free: 145.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/10.07, allocations: 94.72 kB / 1.689 GB, free: 145 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/10.07, allocations: 366.1 kB / 1.689 GB, free: 144.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000239/10.07, allocations: 97.53 kB / 1.689 GB, free: 144.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/10.07, allocations: 209.3 kB / 1.689 GB, free: 144.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008216/10.07, allocations: 1.524 MB / 1.691 GB, free: 143 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/10.07, allocations: 1.026 MB / 1.692 GB, free: 141.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.908e-05/10.07, allocations: 0.5048 MB / 1.692 GB, free: 141.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/10.08, allocations: 1.221 MB / 1.694 GB, free: 140.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/10.08, allocations: 1.581 MB / 1.695 GB, free: 138.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00591/10.09, allocations: 3.106 MB / 1.698 GB, free: 135.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/10.09, allocations: 0 / 1.698 GB, free: 135.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01218/10.1, allocations: 8.433 MB / 1.706 GB, free: 127 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/10.1, allocations: 8.938 kB / 1.706 GB, free: 127 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/10.1, allocations: 0.6562 kB / 1.706 GB, free: 127 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/10.1, allocations: 16 kB / 1.706 GB, free: 127 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004082/10.1, allocations: 1.085 MB / 1.707 GB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.842e-05/10.1, allocations: 19.19 kB / 1.708 GB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/10.1, allocations: 242.5 kB / 1.708 GB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005344/10.1, allocations: 347.4 kB / 1.708 GB, free: 125.4 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.0008535/10.1, allocations: 343.7 kB / 1.708 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/10.11, allocations: 0.5616 MB / 1.709 GB, free: 124.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/10.12, allocations: 10.33 MB / 1.719 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/10.12, allocations: 40 kB / 1.719 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/10.12, allocations: 3.984 kB / 1.719 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.974e-05/10.12, allocations: 23.92 kB / 1.719 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/10.12, allocations: 1.322 MB / 1.72 GB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/10.12, allocations: 0 / 1.72 GB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003905/10.13, allocations: 1.068 MB / 1.721 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.977e-05/10.13, allocations: 19.7 kB / 1.721 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003726/10.13, allocations: 295.5 kB / 1.722 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/10.13, allocations: 16 kB / 1.722 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/10.13, allocations: 0 / 1.722 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/10.14, allocations: 10.8 MB / 1.732 GB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/10.14, allocations: 1.254 MB / 1.734 GB, free: 98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/10.14, allocations: 68 kB / 1.734 GB, free: 97.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/10.14, allocations: 71.98 kB / 1.734 GB, free: 97.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006198/10.15, allocations: 406.5 kB / 1.734 GB, free: 97.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005233/10.15, allocations: 343 kB / 1.734 GB, free: 97.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002388/10.15, allocations: 251 kB / 1.735 GB, free: 96.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/10.15, allocations: 0 / 1.735 GB, free: 96.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00255/10.15, allocations: 0.6869 MB / 1.735 GB, free: 96.21 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.001988/10.15, allocations: 0.703 MB / 1.736 GB, free: 95.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005898/10.16, allocations: 3.498 MB / 1.739 GB, free: 92.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/10.16, allocations: 0 / 1.739 GB, free: 92.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003088/10.16, allocations: 2.043 MB / 1.741 GB, free: 89.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/10.16, allocations: 390.1 kB / 1.742 GB, free: 89.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/10.16, allocations: 3.465 MB / 1.745 GB, free: 86.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/10.17, allocations: 0.6829 MB / 1.746 GB, free: 85.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007408/10.17, allocations: 2.889 MB / 1.749 GB, free: 82.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/10.17, allocations: 0.6401 MB / 1.749 GB, free: 82.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/10.17, allocations: 0 / 1.749 GB, free: 82.04 MB / 410.7 MB Notification: Performance of Templates: time 0.04821/10.22, allocations: 40.53 MB / 1.789 GB, free: 41.68 MB / 410.7 MB " [Timeout remaining time 650] 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: 17.506010805023834]