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.0008589/0.0008589, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009379/0.0009379, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9609/0.9609, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.01621/0.01621, allocations: 3.154 MB / 263.4 MB, free: 9.957 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.533e-06/1.533e-06, allocations: 0 / 280.7 MB, free: 8.633 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.041e-05/5.195e-05, allocations: 2.312 kB / 280.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.002259/0.002311, allocations: 2.082 MB / 282.8 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004365/0.006676, allocations: 3.603 MB / 286.4 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.006827, allocations: 11.88 kB / 286.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.007127, allocations: 47.53 kB / 286.5 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.007267, allocations: 55.64 kB / 286.5 MB, free: 2.793 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.001375/0.008641, allocations: 0.6844 MB / 287.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1254/0.134, allocations: 5.716 MB / 292.9 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1342, allocations: 37.62 kB / 293 MB, free: 19.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004202/0.1384, allocations: 2.101 MB / 295.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.1414, allocations: 1.782 MB / 296.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000944/0.1424, allocations: 232.2 kB / 297.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1168/0.2591, allocations: 127.8 MB / 424.9 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002054/0.2612, allocations: 0.9432 MB / 425.9 MB, free: 6.988 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009497/0.2621, allocations: 0.8495 MB / 426.7 MB, free: 6.137 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004026/0.2662, allocations: 4.061 MB / 430.8 MB, free: 2.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2662, allocations: 0 / 430.8 MB, free: 2.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2662, allocations: 0 / 430.8 MB, free: 2.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.691e-05/0.2662, allocations: 0 / 430.8 MB, free: 2.285 MB / 378.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.00363/0.2699, allocations: 1.822 MB / 432.6 MB, free: 444 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2699, allocations: 8.031 kB / 432.6 MB, free: 436 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1274/0.3973, allocations: 0.5179 MB / 433.1 MB, free: 130.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/0.4001, allocations: 1.218 MB / 434.3 MB, free: 130.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.4003, allocations: 127.7 kB / 434.5 MB, free: 130.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005971/0.4009, allocations: 168.9 kB / 434.6 MB, free: 130.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.4045, allocations: 2.464 MB / 437.1 MB, free: 130.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.4045, allocations: 0 / 437.1 MB, free: 130.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.4047, allocations: 67.84 kB / 437.2 MB, free: 130.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.4047, allocations: 40.62 kB / 437.2 MB, free: 130.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05683/0.4616, allocations: 45.17 MB / 482.4 MB, free: 91.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004975/0.4665, allocations: 4.666 MB / 487 MB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1363/0.6029, allocations: 68.38 MB / 0.5424 GB, free: 18.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.6043, allocations: 0.819 MB / 0.5432 GB, free: 17.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000473/0.6048, allocations: 259 kB / 0.5435 GB, free: 17.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/0.6064, allocations: 1.922 MB / 0.5453 GB, free: 15.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=423): time 7.654e-06/0.6064, allocations: 2 kB / 0.5453 GB, free: 15.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=423): time 0.004084/0.6105, allocations: 3.072 MB / 0.5483 GB, free: 12.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.6106, allocations: 128.4 kB / 0.5485 GB, free: 12.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.6108, allocations: 255.3 kB / 0.5487 GB, free: 12.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.611, allocations: 97.7 kB / 0.5488 GB, free: 12.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.6111, allocations: 126.8 kB / 0.5489 GB, free: 11.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/0.6117, allocations: 1.43 MB / 0.5503 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008656/0.6126, allocations: 0.909 MB / 0.5512 GB, free: 9.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.6126, allocations: 326.9 kB / 0.5515 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009184/0.6135, allocations: 0.749 MB / 0.5522 GB, free: 8.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009377/0.6145, allocations: 0.9668 MB / 0.5532 GB, free: 7.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.6167, allocations: 2.102 MB / 0.5552 GB, free: 5.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.6167, allocations: 6.234 kB / 0.5552 GB, free: 5.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.003048/0.6198, allocations: 2.477 MB / 0.5577 GB, free: 3.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.6198, allocations: 8 kB / 0.5577 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.6198, allocations: 0 / 0.5577 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.6198, allocations: 20.12 kB / 0.5577 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.6221, allocations: 1.335 MB / 0.559 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.6221, allocations: 16 kB / 0.559 GB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007343/0.6229, allocations: 238.1 kB / 0.5592 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/0.6232, allocations: 279.5 kB / 0.5595 GB, free: 1.438 MB / 378.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,position.local_reset,globalSeed.seed,globalSeed.id_impure,spaceDomainNoiseMinimum.actualGlobalSeed,bandLimitedWhiteNoise.localSeed,bandLimitedWhiteNoise.actualGlobalSeed,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]) * 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.001227/0.6244, allocations: 303.4 kB / 0.5598 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009996/0.6254, allocations: 0.5076 MB / 0.5603 GB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1346/0.76, allocations: 3.879 MB / 0.5641 GB, free: 128 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/0.76, allocations: 43.36 kB / 0.5641 GB, free: 128 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.76, allocations: 0.5469 kB / 0.5641 GB, free: 128 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.022e-05/0.7601, allocations: 21.25 kB / 0.5641 GB, free: 128 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.7619, allocations: 1.196 MB / 0.5653 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.7619, allocations: 1.125 kB / 0.5653 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003255/0.7652, allocations: 1.276 MB / 0.5666 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.796e-05/0.7652, allocations: 14 kB / 0.5666 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004315/0.7656, allocations: 278 kB / 0.5668 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/0.7657, allocations: 14.53 kB / 0.5668 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7657, allocations: 5.188 kB / 0.5668 GB, free: 127.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00626/0.7719, allocations: 3.471 MB / 0.5702 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.7731, allocations: 1.076 MB / 0.5713 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.7734, allocations: 75.67 kB / 0.5714 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008782/0.7743, allocations: 70.55 kB / 0.5714 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005606/0.7749, allocations: 412.2 kB / 0.5718 GB, free: 127.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004559/0.7753, allocations: 278.4 kB / 0.5721 GB, free: 127 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.7755, allocations: 91.17 kB / 0.5722 GB, free: 126.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7755, allocations: 1.422 kB / 0.5722 GB, free: 126.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001916/0.7774, allocations: 0.6608 MB / 0.5728 GB, free: 126.9 MB / 378.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.001307/0.7787, allocations: 0.7 MB / 0.5735 GB, free: 126.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002783/0.7815, allocations: 2.404 MB / 0.5759 GB, free: 125.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.7815, allocations: 256 / 0.5759 GB, free: 125.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.7828, allocations: 1.44 MB / 0.5773 GB, free: 123.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.7834, allocations: 377.4 kB / 0.5776 GB, free: 123.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.7862, allocations: 2.945 MB / 0.5805 GB, free: 120.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.7865, allocations: 413.5 kB / 0.5809 GB, free: 120 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00354/0.79, allocations: 1.841 MB / 0.5827 GB, free: 118.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/0.7916, allocations: 0.7835 MB / 0.5835 GB, free: 117.6 MB / 378.7 MB Notification: Performance of SimCode: time 2.274e-06/0.7916, allocations: 4.547 kB / 0.5835 GB, free: 117.6 MB / 378.7 MB Notification: Performance of Templates: time 0.04291/0.8345, allocations: 44.62 MB / 0.627 GB, free: 73.27 MB / 378.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.534470009151846]