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.002299/0.002299, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003121/0.003121, allocations: 214.5 kB / 22.25 MB, free: 4.855 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.701/1.701, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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.02865/0.02865, allocations: 3.936 MB / 316.4 MB, free: 15.12 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.002077/0.002077, allocations: 67.91 kB / 440.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1299, allocations: 54.15 MB / 494.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.003977/0.1339, allocations: 1.995 MB / 496.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007702/0.1416, allocations: 3.762 MB / 0.4884 GB, free: 15.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.1419, allocations: 7.875 kB / 0.4884 GB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.1423, allocations: 59.52 kB / 0.4885 GB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1425, allocations: 51.64 kB / 0.4885 GB, free: 14.94 MB / 366.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.002324/0.1449, allocations: 0.6893 MB / 0.4892 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005336/0.1502, allocations: 5.662 MB / 0.4947 GB, free: 8.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.1504, allocations: 44.52 kB / 0.4948 GB, free: 8.535 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.1536, allocations: 1.497 MB / 0.4962 GB, free: 7.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003669/0.1573, allocations: 1.825 MB / 0.498 GB, free: 5.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.1583, allocations: 256 kB / 0.4983 GB, free: 4.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.29/8.449, allocations: 1.225 GB / 1.723 GB, free: 199.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001912/8.45, allocations: 0.981 MB / 1.724 GB, free: 199.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001706/8.452, allocations: 0.98 MB / 1.725 GB, free: 199.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007376/8.46, allocations: 3.814 MB / 1.729 GB, free: 199.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/8.46, allocations: 5.312 kB / 1.729 GB, free: 199.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.695e-06/8.46, allocations: 0 / 1.729 GB, free: 199.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.241e-05/8.46, allocations: 2 kB / 1.729 GB, free: 199.1 MB / 0.5606 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.008832/8.468, allocations: 1.933 MB / 1.731 GB, free: 198.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/8.469, allocations: 13.59 kB / 1.731 GB, free: 198.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/8.471, allocations: 366.1 kB / 1.731 GB, free: 198.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004482/8.476, allocations: 1.54 MB / 1.733 GB, free: 197.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/8.476, allocations: 124.4 kB / 1.733 GB, free: 197.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005977/8.477, allocations: 170.4 kB / 1.733 GB, free: 197.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006991/8.484, allocations: 3.6 MB / 1.737 GB, free: 195.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/8.484, allocations: 0 / 1.737 GB, free: 195.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/8.484, allocations: 69.67 kB / 1.737 GB, free: 195.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-05/8.484, allocations: 44.56 kB / 1.737 GB, free: 195.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09483/8.579, allocations: 59.96 MB / 1.795 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/8.589, allocations: 6.262 MB / 1.801 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2626/8.852, allocations: 45.81 MB / 1.846 GB, free: 88.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003927/8.856, allocations: 2.025 MB / 1.848 GB, free: 86.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008162/8.857, allocations: 239 kB / 1.848 GB, free: 86.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004803/8.861, allocations: 3.061 MB / 1.851 GB, free: 83.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=423): time 7.434e-06/8.861, allocations: 0 / 1.851 GB, free: 83.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=423): time 0.01723/8.879, allocations: 12.07 MB / 1.863 GB, free: 70.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/8.879, allocations: 132.1 kB / 1.863 GB, free: 70.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/8.879, allocations: 312.1 kB / 1.863 GB, free: 69.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003121/8.88, allocations: 105.7 kB / 1.864 GB, free: 69.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/8.88, allocations: 151 kB / 1.864 GB, free: 69.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/8.881, allocations: 1.46 MB / 1.865 GB, free: 68.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/8.882, allocations: 0.9563 MB / 1.866 GB, free: 67.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.437e-05/8.882, allocations: 325.9 kB / 1.866 GB, free: 66.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/8.885, allocations: 2.033 MB / 1.868 GB, free: 64.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00329/8.888, allocations: 2.293 MB / 1.871 GB, free: 62.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007644/8.896, allocations: 4.755 MB / 1.875 GB, free: 57.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/8.896, allocations: 1.125 kB / 1.875 GB, free: 57.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=439) (initialization): time 0.02032/8.916, allocations: 13.51 MB / 1.888 GB, free: 44.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/8.916, allocations: 4 kB / 1.888 GB, free: 44.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/8.916, allocations: 0 / 1.888 GB, free: 44.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/8.916, allocations: 16 kB / 1.888 GB, free: 44.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005224/8.921, allocations: 1.09 MB / 1.89 GB, free: 43.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.782e-05/8.922, allocations: 16 kB / 1.89 GB, free: 43.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/8.924, allocations: 250.2 kB / 1.89 GB, free: 42.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005453/8.925, allocations: 323.5 kB / 1.89 GB, free: 42.62 MB / 0.5606 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.001874/8.926, allocations: 0.529 MB / 1.891 GB, free: 42.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002801/8.929, allocations: 355 kB / 1.891 GB, free: 41.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.311/9.24, allocations: 11.82 MB / 1.902 GB, free: 224.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.772e-05/9.24, allocations: 41.41 kB / 1.903 GB, free: 224.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/9.24, allocations: 0 / 1.903 GB, free: 224.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.357e-05/9.24, allocations: 25.28 kB / 1.903 GB, free: 224.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/9.244, allocations: 1.818 MB / 1.904 GB, free: 224 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/9.244, allocations: 1.125 kB / 1.904 GB, free: 224 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004952/9.249, allocations: 1.057 MB / 1.905 GB, free: 224 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.274e-05/9.249, allocations: 14.53 kB / 1.905 GB, free: 224 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006491/9.25, allocations: 293.5 kB / 1.906 GB, free: 224 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.62e-05/9.25, allocations: 14.94 kB / 1.906 GB, free: 224 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/9.25, allocations: 1.125 kB / 1.906 GB, free: 224 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02206/9.272, allocations: 13.36 MB / 1.919 GB, free: 215.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002163/9.274, allocations: 1.258 MB / 1.92 GB, free: 214.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004507/9.275, allocations: 71.98 kB / 1.92 GB, free: 214.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/9.276, allocations: 83.98 kB / 1.92 GB, free: 214.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006114/9.277, allocations: 404.4 kB / 1.92 GB, free: 213.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004921/9.277, allocations: 316.8 kB / 1.921 GB, free: 213.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003867/9.278, allocations: 227 kB / 1.921 GB, free: 213.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/9.278, allocations: 1.969 kB / 1.921 GB, free: 213.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003317/9.281, allocations: 0.6636 MB / 1.922 GB, free: 212.6 MB / 0.5606 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.002044/9.283, allocations: 0.666 MB / 1.922 GB, free: 212 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007662/9.291, allocations: 4.851 MB / 1.927 GB, free: 207.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/9.291, allocations: 0 / 1.927 GB, free: 207.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003769/9.295, allocations: 2.547 MB / 1.929 GB, free: 204.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000931/9.296, allocations: 157.2 kB / 1.93 GB, free: 204.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005505/9.301, allocations: 4.447 MB / 1.934 GB, free: 200 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/9.302, allocations: 0.7337 MB / 1.935 GB, free: 199.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.008926/9.311, allocations: 3.009 MB / 1.938 GB, free: 196.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/9.312, allocations: 0.6273 MB / 1.938 GB, free: 195.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/9.312, allocations: 4 kB / 1.938 GB, free: 195.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.05153/9.364, allocations: 40.52 MB / 1.978 GB, free: 155.6 MB / 0.5606 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: 18.593246743083] Failed to read output from testmodel.py, exit status != 0: 9.371624398976564 9.38202026 0.920023245 Calling exit ...