Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.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.001979/0.001979, allocations: 85.48 kB / 19.44 MB, free: 344 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.002124/0.002124, 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.604/1.604, allocations: 177.1 MB / 203.1 MB, free: 5.523 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.03237/0.03237, allocations: 3.154 MB / 262.7 MB, free: 10.09 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.SpaceAndTimeDomain,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 332.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.727e-05, allocations: 4.703 kB / 332.8 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.00247/0.002497, allocations: 2.035 MB / 334.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005141/0.007638, allocations: 3.855 MB / 338.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.007804, allocations: 11.88 kB / 338.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.008161, allocations: 47.53 kB / 338.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.008318, allocations: 55.62 kB / 338.8 MB, free: 10.29 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.SpaceAndTimeDomain.spaceDomainNoiseMinimum.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.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.SpaceAndTimeDomain.spaceDomainNoiseMinimum.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.spaceDomainNoiseMinimum.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.009949, allocations: 0.7121 MB / 339.5 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002797/0.01275, allocations: 5.623 MB / 345.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.01287, allocations: 36.56 kB / 345.1 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/0.01547, allocations: 2.028 MB / 347.2 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.01751, allocations: 1.806 MB / 349 MB, free: 76 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005876/0.01809, allocations: 256 kB / 349.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.42/9.438, allocations: 1.225 GB / 1.566 GB, free: 125.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002036/9.44, allocations: 0.9814 MB / 1.567 GB, free: 124.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002067/9.442, allocations: 0.8822 MB / 1.568 GB, free: 124.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007239/9.449, allocations: 4.692 MB / 1.573 GB, free: 121.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/9.449, allocations: 0 / 1.573 GB, free: 121.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/9.449, allocations: 0 / 1.573 GB, free: 121.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.101e-05/9.449, allocations: 0 / 1.573 GB, free: 121.4 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: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.007861/9.457, allocations: 2.082 MB / 1.575 GB, free: 119.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/9.457, allocations: 11.97 kB / 1.575 GB, free: 119.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/9.46, allocations: 0.5741 MB / 1.575 GB, free: 118.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005667/9.466, allocations: 1.512 MB / 1.577 GB, free: 117.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/9.466, allocations: 127.7 kB / 1.577 GB, free: 117.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005809/9.466, allocations: 164.4 kB / 1.577 GB, free: 116.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005322/9.472, allocations: 2.899 MB / 1.58 GB, free: 114 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/9.472, allocations: 0 / 1.58 GB, free: 114 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/9.472, allocations: 67.94 kB / 1.58 GB, free: 113.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/9.472, allocations: 40 kB / 1.58 GB, free: 113.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0852/9.557, allocations: 48.63 MB / 1.628 GB, free: 65.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009357/9.567, allocations: 5.482 MB / 1.633 GB, free: 59.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4186/9.985, allocations: 44.79 MB / 1.677 GB, free: 157.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002625/9.988, allocations: 1.288 MB / 1.678 GB, free: 156.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006134/9.989, allocations: 253.5 kB / 1.678 GB, free: 156.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00337/9.992, allocations: 2.456 MB / 1.681 GB, free: 153.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=423): time 6.783e-06/9.992, allocations: 3.828 kB / 1.681 GB, free: 153.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=423): time 0.01357/10.01, allocations: 9.977 MB / 1.69 GB, free: 143.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/10.01, allocations: 129.2 kB / 1.69 GB, free: 143.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/10.01, allocations: 363.7 kB / 1.691 GB, free: 142.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002411/10.01, allocations: 97.7 kB / 1.691 GB, free: 142.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/10.01, allocations: 205.5 kB / 1.691 GB, free: 142.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000904/10.01, allocations: 1.521 MB / 1.693 GB, free: 141.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/10.01, allocations: 1.034 MB / 1.694 GB, free: 140 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/10.01, allocations: 0.5112 MB / 1.694 GB, free: 139.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/10.01, allocations: 1.217 MB / 1.695 GB, free: 138.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002644/10.01, allocations: 1.591 MB / 1.697 GB, free: 136.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00571/10.02, allocations: 3.112 MB / 1.7 GB, free: 133.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/10.02, allocations: 0 / 1.7 GB, free: 133.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.01291/10.03, allocations: 12.17 MB / 1.712 GB, free: 121.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/10.03, allocations: 8 kB / 1.712 GB, free: 121.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/10.03, allocations: 0 / 1.712 GB, free: 121.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/10.03, allocations: 16 kB / 1.712 GB, free: 121.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004085/10.04, allocations: 1.096 MB / 1.713 GB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.788e-05/10.04, allocations: 16 kB / 1.713 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/10.04, allocations: 240.4 kB / 1.713 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000485/10.04, allocations: 319.2 kB / 1.713 GB, free: 119.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,globalSeed.seed,bandLimitedWhiteNoise.actualGlobalSeed,bandLimitedWhiteNoise.localSeed,spaceDomainNoiseMinimum.actualGlobalSeed,globalSeed.id_impure,spaceDomainNoiseMinimum.localSeed,bandLimitedWhiteNoise.r_raw,$PRE.bandLimitedWhiteNoise.r_raw,bandLimitedWhiteNoise.r,$PRE.bandLimitedWhiteNoise.r,bandLimitedWhiteNoise.state[4],$PRE.bandLimitedWhiteNoise.state[4],bandLimitedWhiteNoise.state[3],$PRE.bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[2],$PRE.bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[1],$PRE.bandLimitedWhiteNoise.state[1],position.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 435 * Array equations: 1 * 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.0007861/10.04, allocations: 362.2 kB / 1.714 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001802/10.04, allocations: 0.5615 MB / 1.714 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/10.06, allocations: 10.3 MB / 1.724 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/10.06, allocations: 40 kB / 1.724 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/10.06, allocations: 0 / 1.724 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-05/10.06, allocations: 19.92 kB / 1.724 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/10.06, allocations: 1.311 MB / 1.726 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/10.06, allocations: 3.984 kB / 1.726 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003804/10.06, allocations: 1.057 MB / 1.727 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.201e-05/10.06, allocations: 12 kB / 1.727 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003971/10.06, allocations: 295.5 kB / 1.727 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/10.06, allocations: 16 kB / 1.727 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/10.06, allocations: 0 / 1.727 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/10.07, allocations: 10.67 MB / 1.737 GB, free: 93.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/10.08, allocations: 1.235 MB / 1.739 GB, free: 92.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/10.08, allocations: 74.92 kB / 1.739 GB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/10.08, allocations: 76 kB / 1.739 GB, free: 92.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006025/10.08, allocations: 398.4 kB / 1.739 GB, free: 92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004634/10.08, allocations: 319.5 kB / 1.739 GB, free: 91.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002322/10.08, allocations: 251 kB / 1.74 GB, free: 91.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/10.08, allocations: 4 kB / 1.74 GB, free: 91.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002384/10.08, allocations: 0.6597 MB / 1.74 GB, free: 90.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (position.y,timeDomainFilter.x_scaled[1],timeDomainFilter.x_scaled[2]) * Number of discrete variables: 8 (spaceDomainNoiseMinimum.localSeed,$whenCondition1,bandLimitedWhiteNoise.state[1],bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[4],bandLimitedWhiteNoise.r,bandLimitedWhiteNoise.r_raw) * Number of discrete states: 4 (bandLimitedWhiteNoise.state[1],bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (419): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001942/10.08, allocations: 0.6744 MB / 1.741 GB, free: 90.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005899/10.09, allocations: 3.498 MB / 1.744 GB, free: 86.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/10.09, allocations: 0 / 1.744 GB, free: 86.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003142/10.09, allocations: 2.024 MB / 1.746 GB, free: 84.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009432/10.09, allocations: 386 kB / 1.747 GB, free: 84.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/10.1, allocations: 3.443 MB / 1.75 GB, free: 80.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/10.1, allocations: 0.6829 MB / 1.751 GB, free: 80.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006301/10.1, allocations: 2.873 MB / 1.754 GB, free: 77.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/10.11, allocations: 0.6284 MB / 1.754 GB, free: 76.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/10.11, allocations: 3.938 kB / 1.754 GB, free: 76.69 MB / 410.7 MB Notification: Performance of Templates: time 0.04707/10.15, allocations: 39.89 MB / 1.793 GB, free: 36.98 MB / 410.7 MB " [Timeout remaining time 650] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.sim & ./AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain -abortSlowSimulation -alarm=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 18.119317912030965]