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.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.001291/0.001291, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001369/0.001369, allocations: 186 kB / 20.78 MB, free: 1.547 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.515/1.515, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.02561/0.02561, allocations: 3.925 MB / 308.4 MB, free: 3.004 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.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 0.001987/0.001987, allocations: 71.88 kB / 429.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3284, allocations: 52.91 MB / 482.3 MB, free: 27.13 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.003154/0.3316, allocations: 2.095 MB / 484.4 MB, free: 25.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006279/0.3379, allocations: 3.981 MB / 488.4 MB, free: 23.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.3381, allocations: 7.031 kB / 488.4 MB, free: 23.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.3384, allocations: 54.78 kB / 488.5 MB, free: 23.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.3386, allocations: 44.2 kB / 488.5 MB, free: 23.04 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.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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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.002014/0.3406, allocations: 0.6655 MB / 489.2 MB, free: 22.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005232/0.3458, allocations: 5.674 MB / 494.8 MB, free: 20.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.346, allocations: 41.2 kB / 494.9 MB, free: 20.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00312/0.3491, allocations: 1.476 MB / 496.4 MB, free: 19.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00509/0.3542, allocations: 1.921 MB / 498.3 MB, free: 19.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001897/0.3561, allocations: 256.1 kB / 498.5 MB, free: 19.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.567/7.923, allocations: 1.218 GB / 1.704 GB, free: 79.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002585/7.926, allocations: 0.9799 MB / 1.705 GB, free: 78.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001943/7.927, allocations: 1.09 MB / 1.706 GB, free: 78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005474/7.933, allocations: 3.801 MB / 1.71 GB, free: 75.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/7.933, allocations: 0 / 1.71 GB, free: 75.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/7.933, allocations: 0 / 1.71 GB, free: 75.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.184e-05/7.933, allocations: 1.5 kB / 1.71 GB, free: 75.89 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: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.009803/7.943, allocations: 2.016 MB / 1.712 GB, free: 74.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/7.943, allocations: 12.7 kB / 1.712 GB, free: 74.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/7.946, allocations: 360.9 kB / 1.713 GB, free: 74.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00675/7.953, allocations: 1.607 MB / 1.714 GB, free: 72.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/7.953, allocations: 127.3 kB / 1.714 GB, free: 72.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/7.955, allocations: 169.9 kB / 1.714 GB, free: 72.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/7.966, allocations: 3.602 MB / 1.718 GB, free: 70.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/7.966, allocations: 0 / 1.718 GB, free: 70.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004272/7.967, allocations: 64.88 kB / 1.718 GB, free: 70.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/7.967, allocations: 40 kB / 1.718 GB, free: 70.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4991/8.466, allocations: 62.48 MB / 1.779 GB, free: 214 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/8.477, allocations: 6.922 MB / 1.786 GB, free: 209.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.266/8.743, allocations: 47.71 MB / 1.832 GB, free: 170.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003774/8.747, allocations: 2.031 MB / 1.834 GB, free: 168.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008841/8.748, allocations: 441.1 kB / 1.835 GB, free: 168.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005591/8.754, allocations: 3.063 MB / 1.838 GB, free: 165 MB / 0.545 GB Notification: Performance of pre-optimization done (n=423): time 6.472e-06/8.754, allocations: 2.812 kB / 1.838 GB, free: 165 MB / 0.545 GB Notification: Performance of matching and sorting (n=423): time 0.01934/8.773, allocations: 12.56 MB / 1.85 GB, free: 152.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/8.773, allocations: 131.1 kB / 1.85 GB, free: 152.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/8.774, allocations: 312 kB / 1.85 GB, free: 152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005305/8.774, allocations: 105.7 kB / 1.851 GB, free: 151.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/8.774, allocations: 149.2 kB / 1.851 GB, free: 151.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001163/8.775, allocations: 1.465 MB / 1.852 GB, free: 150.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/8.777, allocations: 0.9525 MB / 1.853 GB, free: 149.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.865e-05/8.777, allocations: 325.9 kB / 1.853 GB, free: 149 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00295/8.78, allocations: 2.036 MB / 1.855 GB, free: 146.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00347/8.783, allocations: 2.297 MB / 1.858 GB, free: 144.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007902/8.791, allocations: 4.751 MB / 1.862 GB, free: 139.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/8.791, allocations: 0 / 1.862 GB, free: 139.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=439) (initialization): time 0.02049/8.811, allocations: 13.41 MB / 1.875 GB, free: 126.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/8.811, allocations: 4.125 kB / 1.875 GB, free: 126.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/8.811, allocations: 8 kB / 1.875 GB, free: 126.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/8.811, allocations: 17.78 kB / 1.875 GB, free: 126.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005044/8.817, allocations: 1.084 MB / 1.876 GB, free: 125.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.581e-05/8.817, allocations: 22.83 kB / 1.876 GB, free: 125.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/8.819, allocations: 248.1 kB / 1.877 GB, free: 125.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001587/8.821, allocations: 323.5 kB / 1.877 GB, free: 124.7 MB / 0.545 GB 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.002539/8.823, allocations: 0.5307 MB / 1.878 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002639/8.826, allocations: 351 kB / 1.878 GB, free: 123.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0289/8.855, allocations: 12.32 MB / 1.89 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-05/8.855, allocations: 40 kB / 1.89 GB, free: 111.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-05/8.855, allocations: 0 / 1.89 GB, free: 111.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.165e-05/8.855, allocations: 19.92 kB / 1.89 GB, free: 111.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005237/8.86, allocations: 2.48 MB / 1.892 GB, free: 109.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.335e-05/8.86, allocations: 4 kB / 1.892 GB, free: 109.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005251/8.866, allocations: 1.053 MB / 1.893 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-05/8.866, allocations: 19.98 kB / 1.893 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002122/8.868, allocations: 287.5 kB / 1.894 GB, free: 107.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.724e-05/8.868, allocations: 16 kB / 1.894 GB, free: 107.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/8.868, allocations: 3.984 kB / 1.894 GB, free: 107.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02195/8.89, allocations: 13.83 MB / 1.907 GB, free: 93.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/8.892, allocations: 1.326 MB / 1.909 GB, free: 92.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009457/8.893, allocations: 89.78 kB / 1.909 GB, free: 92.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/8.895, allocations: 79.98 kB / 1.909 GB, free: 92.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/8.896, allocations: 390.5 kB / 1.909 GB, free: 91.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009621/8.897, allocations: 319.5 kB / 1.909 GB, free: 91.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003932/8.897, allocations: 225.9 kB / 1.91 GB, free: 91.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/8.897, allocations: 4 kB / 1.91 GB, free: 91.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003558/8.901, allocations: 0.6635 MB / 1.91 GB, free: 90.79 MB / 0.545 GB 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.002806/8.904, allocations: 0.6379 MB / 1.911 GB, free: 90.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009494/8.913, allocations: 4.849 MB / 1.916 GB, free: 85.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/8.913, allocations: 4.25 kB / 1.916 GB, free: 85.31 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004863/8.918, allocations: 2.547 MB / 1.918 GB, free: 82.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/8.92, allocations: 166.9 kB / 1.918 GB, free: 82.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006539/8.926, allocations: 4.45 MB / 1.923 GB, free: 78.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/8.927, allocations: 1.331 MB / 1.924 GB, free: 76.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008359/8.936, allocations: 2.982 MB / 1.927 GB, free: 73.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002077/8.938, allocations: 0.6313 MB / 1.927 GB, free: 73.32 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/8.938, allocations: 3.938 kB / 1.927 GB, free: 73.32 MB / 0.545 GB Notification: Performance of Templates: time 0.3085/9.246, allocations: 40.42 MB / 1.967 GB, free: 192.8 MB / 0.545 GB " [Timeout remaining time 651] 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.7675514286384]