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.001524/0.001524, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.00165/0.00165, allocations: 162.4 kB / 23.02 MB, free: 4.949 MB / 14.72 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.484/1.484, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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.02844/0.02844, allocations: 3.156 MB / 262.9 MB, free: 13.69 MB / 254.1 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 0.002133/0.002133, allocations: 67.84 kB / 386.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1144, allocations: 54.11 MB / 440.9 MB, free: 11.28 MB / 414.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.003644/0.1181, allocations: 1.998 MB / 442.9 MB, free: 9.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.125, allocations: 3.774 MB / 446.7 MB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.1252, allocations: 11.88 kB / 446.7 MB, free: 5.461 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.1255, allocations: 47.53 kB / 446.7 MB, free: 5.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1257, allocations: 59.62 kB / 446.8 MB, free: 5.355 MB / 414.1 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.001914/0.1276, allocations: 0.6855 MB / 447.5 MB, free: 4.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00534/0.1329, allocations: 5.666 MB / 453.1 MB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1331, allocations: 40.58 kB / 453.2 MB, free: 14.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.1358, allocations: 1.497 MB / 454.7 MB, free: 13.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003425/0.1392, allocations: 1.821 MB / 456.5 MB, free: 11.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007815/0.14, allocations: 256 kB / 456.7 MB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.411/7.551, allocations: 1.225 GB / 1.671 GB, free: 23.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002053/7.553, allocations: 0.9745 MB / 1.672 GB, free: 23.54 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003328/7.557, allocations: 0.9817 MB / 1.673 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007157/7.564, allocations: 3.825 MB / 1.677 GB, free: 22.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/7.564, allocations: 0 / 1.677 GB, free: 22.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/7.564, allocations: 2.625 kB / 1.677 GB, free: 22.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.658e-05/7.564, allocations: 1.875 kB / 1.677 GB, free: 22.07 MB / 0.5762 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.008066/7.572, allocations: 1.939 MB / 1.679 GB, free: 21.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/7.572, allocations: 7.875 kB / 1.679 GB, free: 21.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/7.574, allocations: 365.8 kB / 1.679 GB, free: 20.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004619/7.579, allocations: 1.54 MB / 1.681 GB, free: 20.31 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/7.579, allocations: 126.5 kB / 1.681 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005108/7.58, allocations: 162.6 kB / 1.681 GB, free: 20.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005769/7.585, allocations: 3.605 MB / 1.685 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/7.585, allocations: 5.156 kB / 1.685 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002944/7.586, allocations: 68.34 kB / 1.685 GB, free: 19.24 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/7.586, allocations: 39.47 kB / 1.685 GB, free: 19.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3443/7.93, allocations: 59.96 MB / 1.743 GB, free: 195.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/7.941, allocations: 6.258 MB / 1.749 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2667/8.207, allocations: 45.81 MB / 1.794 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003407/8.211, allocations: 2.031 MB / 1.796 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/8.211, allocations: 235 kB / 1.796 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005307/8.217, allocations: 3.057 MB / 1.799 GB, free: 138 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=423): time 7.965e-06/8.217, allocations: 3.469 kB / 1.799 GB, free: 138 MB / 0.5762 GB Notification: Performance of matching and sorting (n=423): time 0.01795/8.235, allocations: 12.08 MB / 1.811 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/8.235, allocations: 125.2 kB / 1.811 GB, free: 125 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/8.235, allocations: 311.9 kB / 1.812 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004386/8.236, allocations: 105.7 kB / 1.812 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/8.236, allocations: 148.1 kB / 1.812 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/8.237, allocations: 1.457 MB / 1.813 GB, free: 123 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/8.238, allocations: 0.9641 MB / 1.814 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.316e-05/8.238, allocations: 327 kB / 1.814 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/8.241, allocations: 2.033 MB / 1.816 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003627/8.245, allocations: 2.295 MB / 1.819 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008232/8.253, allocations: 4.75 MB / 1.823 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/8.253, allocations: 0 / 1.823 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=439) (initialization): time 0.01738/8.271, allocations: 13.52 MB / 1.836 GB, free: 99.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/8.271, allocations: 4 kB / 1.837 GB, free: 99.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/8.271, allocations: 0 / 1.837 GB, free: 99.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/8.271, allocations: 16 kB / 1.837 GB, free: 99.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/8.275, allocations: 1.089 MB / 1.838 GB, free: 98.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.296e-05/8.275, allocations: 16 kB / 1.838 GB, free: 98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/8.278, allocations: 238.2 kB / 1.838 GB, free: 97.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000656/8.278, allocations: 331.1 kB / 1.838 GB, free: 97.45 MB / 0.5762 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.001653/8.28, allocations: 0.5279 MB / 1.839 GB, free: 96.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002606/8.283, allocations: 355 kB / 1.839 GB, free: 96.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/8.299, allocations: 11.84 MB / 1.851 GB, free: 84.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/8.299, allocations: 40 kB / 1.851 GB, free: 84.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/8.299, allocations: 0 / 1.851 GB, free: 84.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.399e-05/8.299, allocations: 23.92 kB / 1.851 GB, free: 84.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/8.302, allocations: 1.819 MB / 1.852 GB, free: 82.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/8.302, allocations: 1.875 kB / 1.852 GB, free: 82.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003947/8.306, allocations: 1.057 MB / 1.853 GB, free: 81.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.19e-05/8.306, allocations: 16 kB / 1.853 GB, free: 81.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003763/8.306, allocations: 297.6 kB / 1.854 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.548e-05/8.306, allocations: 12 kB / 1.854 GB, free: 81.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/8.306, allocations: 0 / 1.854 GB, free: 81.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/8.323, allocations: 13.36 MB / 1.867 GB, free: 66.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/8.325, allocations: 1.258 MB / 1.868 GB, free: 65.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/8.325, allocations: 69.75 kB / 1.868 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/8.327, allocations: 83.97 kB / 1.868 GB, free: 65.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005954/8.328, allocations: 402.4 kB / 1.869 GB, free: 65.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004986/8.328, allocations: 323.5 kB / 1.869 GB, free: 64.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003743/8.328, allocations: 223 kB / 1.869 GB, free: 64.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/8.328, allocations: 0 / 1.869 GB, free: 64.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003248/8.332, allocations: 0.6674 MB / 1.87 GB, free: 63.84 MB / 0.5762 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.001966/8.334, allocations: 0.6512 MB / 1.87 GB, free: 63.28 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007364/8.341, allocations: 4.851 MB / 1.875 GB, free: 58.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/8.341, allocations: 0 / 1.875 GB, free: 58.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003743/8.345, allocations: 2.552 MB / 1.878 GB, free: 55.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009212/8.346, allocations: 156.8 kB / 1.878 GB, free: 55.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/8.351, allocations: 4.44 MB / 1.882 GB, free: 51.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2304/8.582, allocations: 0.73 MB / 1.883 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008936/8.59, allocations: 3.012 MB / 1.886 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/8.592, allocations: 0.63 MB / 1.886 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/8.592, allocations: 0 / 1.886 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.06981/8.662, allocations: 39.68 MB / 1.925 GB, free: 213 MB / 0.5762 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 -s ida -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.461685147020034] Failed to read output from testmodel.py, exit status != 0: 8.67172498209402 8.682518689 1.116067454 Calling exit ...