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.001864/0.001864, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.002081/0.002081, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.678/1.678, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.02767/0.02767, allocations: 3.909 MB / 312.8 MB, free: 0.5156 MB / 238.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.001891/0.001891, allocations: 59.91 kB / 435.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.129, allocations: 54.1 MB / 489.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.003822/0.1328, allocations: 2.092 MB / 491.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007376/0.1402, allocations: 3.984 MB / 495.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/0.1405, allocations: 11.88 kB / 495.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.141, allocations: 55.53 kB / 495.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.1412, allocations: 51.69 kB / 495.4 MB, free: 1.695 MB / 350.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.002587/0.1438, allocations: 0.6536 MB / 496 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00652/0.1503, allocations: 5.678 MB / 0.4899 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.1506, allocations: 48.33 kB / 0.49 GB, free: 11.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004013/0.1546, allocations: 1.474 MB / 0.4914 GB, free: 9.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004858/0.1595, allocations: 1.919 MB / 0.4933 GB, free: 7.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.1608, allocations: 264 kB / 0.4936 GB, free: 7.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.065/7.225, allocations: 1.218 GB / 1.711 GB, free: 208.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/7.227, allocations: 0.9726 MB / 1.712 GB, free: 208.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002425/7.229, allocations: 1.1 MB / 1.713 GB, free: 208.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004442/7.233, allocations: 3.8 MB / 1.717 GB, free: 208 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/7.233, allocations: 0 / 1.717 GB, free: 208 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/7.233, allocations: 1.125 kB / 1.717 GB, free: 208 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.001e-05/7.233, allocations: 2.75 kB / 1.717 GB, free: 208 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.005486/7.239, allocations: 2.016 MB / 1.719 GB, free: 207.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/7.239, allocations: 15.14 kB / 1.719 GB, free: 207.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/7.241, allocations: 366.1 kB / 1.719 GB, free: 207 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/7.244, allocations: 1.603 MB / 1.721 GB, free: 206.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.49e-05/7.244, allocations: 124.1 kB / 1.721 GB, free: 206.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/7.245, allocations: 167.9 kB / 1.721 GB, free: 206.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/7.249, allocations: 3.607 MB / 1.725 GB, free: 204.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/7.249, allocations: 3.938 kB / 1.725 GB, free: 204.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/7.249, allocations: 69.94 kB / 1.725 GB, free: 204.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/7.249, allocations: 41.31 kB / 1.725 GB, free: 204.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08477/7.334, allocations: 62.47 MB / 1.786 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008247/7.342, allocations: 6.936 MB / 1.792 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2435/7.586, allocations: 47.71 MB / 1.839 GB, free: 91.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/7.588, allocations: 2.028 MB / 1.841 GB, free: 89.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/7.589, allocations: 449.5 kB / 1.841 GB, free: 89.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003514/7.592, allocations: 3.061 MB / 1.844 GB, free: 86.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=423): time 5.4e-06/7.592, allocations: 0 / 1.844 GB, free: 86.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=423): time 0.0139/7.606, allocations: 12.56 MB / 1.857 GB, free: 73.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/7.606, allocations: 132.3 kB / 1.857 GB, free: 73.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/7.607, allocations: 318.9 kB / 1.857 GB, free: 73.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002682/7.607, allocations: 101.7 kB / 1.857 GB, free: 73.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/7.607, allocations: 150.8 kB / 1.857 GB, free: 73.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007782/7.608, allocations: 1.464 MB / 1.859 GB, free: 71.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/7.609, allocations: 0.9509 MB / 1.86 GB, free: 70.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.191e-05/7.609, allocations: 322 kB / 1.86 GB, free: 70.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/7.612, allocations: 2.029 MB / 1.862 GB, free: 68.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/7.614, allocations: 2.3 MB / 1.864 GB, free: 66.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006196/7.621, allocations: 4.753 MB / 1.869 GB, free: 61.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/7.621, allocations: 4 kB / 1.869 GB, free: 61.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=439) (initialization): time 0.01272/7.633, allocations: 13.4 MB / 1.882 GB, free: 47.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/7.633, allocations: 7.984 kB / 1.882 GB, free: 47.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/7.633, allocations: 4 kB / 1.882 GB, free: 47.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/7.633, allocations: 12.11 kB / 1.882 GB, free: 47.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003494/7.637, allocations: 1.089 MB / 1.883 GB, free: 46.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.362e-05/7.637, allocations: 22.75 kB / 1.883 GB, free: 46.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/7.638, allocations: 256.4 kB / 1.883 GB, free: 46.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004352/7.639, allocations: 327.6 kB / 1.884 GB, free: 46.16 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.0008068/7.64, allocations: 0.5194 MB / 1.884 GB, free: 45.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/7.641, allocations: 347 kB / 1.885 GB, free: 45.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1714/7.813, allocations: 12.31 MB / 1.897 GB, free: 228.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/7.813, allocations: 41.31 kB / 1.897 GB, free: 228.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/7.813, allocations: 3.75 kB / 1.897 GB, free: 228.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.24e-05/7.813, allocations: 21.45 kB / 1.897 GB, free: 228.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/7.816, allocations: 2.472 MB / 1.899 GB, free: 228.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/7.816, allocations: 0 / 1.899 GB, free: 228.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004183/7.82, allocations: 1.06 MB / 1.9 GB, free: 228.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.722e-05/7.82, allocations: 14.25 kB / 1.9 GB, free: 228.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006927/7.821, allocations: 293.4 kB / 1.9 GB, free: 228.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.6e-05/7.821, allocations: 14.44 kB / 1.9 GB, free: 228.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/7.821, allocations: 8 kB / 1.9 GB, free: 228.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/7.835, allocations: 13.84 MB / 1.914 GB, free: 216.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/7.836, allocations: 1.332 MB / 1.915 GB, free: 215.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003253/7.837, allocations: 71.98 kB / 1.915 GB, free: 215.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/7.838, allocations: 86.41 kB / 1.915 GB, free: 215.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005288/7.839, allocations: 390.5 kB / 1.916 GB, free: 215.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004049/7.839, allocations: 317.3 kB / 1.916 GB, free: 214.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002896/7.839, allocations: 227.2 kB / 1.916 GB, free: 214.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/7.839, allocations: 0 / 1.916 GB, free: 214.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002172/7.842, allocations: 0.6714 MB / 1.917 GB, free: 213.9 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.001475/7.843, allocations: 0.6435 MB / 1.918 GB, free: 213.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005549/7.849, allocations: 4.842 MB / 1.922 GB, free: 208.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/7.849, allocations: 3.938 kB / 1.922 GB, free: 208.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003022/7.852, allocations: 2.558 MB / 1.925 GB, free: 205.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007607/7.852, allocations: 156.8 kB / 1.925 GB, free: 205.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/7.857, allocations: 4.444 MB / 1.929 GB, free: 201.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/7.857, allocations: 1.323 MB / 1.931 GB, free: 199.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005723/7.863, allocations: 2.99 MB / 1.933 GB, free: 197.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/7.864, allocations: 0.6273 MB / 1.934 GB, free: 196.6 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/7.864, allocations: 0 / 1.934 GB, free: 196.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.03714/7.901, allocations: 39.92 MB / 1.973 GB, free: 156.7 MB / 0.5606 GB " [Timeout remaining time 652] 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: 15.71534038335085] Failed to read output from testmodel.py, exit status != 0: 7.907853204756975 7.914851519 0.679466392 Calling exit ...