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.001669/0.001669, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002115/0.002115, allocations: 163.1 kB / 22.46 MB, free: 5.359 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.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.02815/0.02815, allocations: 3.158 MB / 262.3 MB, free: 13.71 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 2.024e-06/2.024e-06, allocations: 0 / 386.3 MB, free: 248 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.419e-05, allocations: 6.281 kB / 386.3 MB, free: 240 kB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.003311/0.003335, allocations: 2.003 MB / 388.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006732/0.01007, allocations: 3.769 MB / 392 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.01022, allocations: 15.81 kB / 392.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.01053, allocations: 47.53 kB / 392.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.01071, allocations: 47.7 kB / 392.2 MB, free: 10.31 MB / 318.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.001879/0.01259, allocations: 0.7195 MB / 392.9 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005341/0.01793, allocations: 5.626 MB / 398.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.01806, allocations: 28.59 kB / 398.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.02137, allocations: 2.032 MB / 400.6 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.02425, allocations: 1.804 MB / 402.4 MB, free: 96 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005619/0.02481, allocations: 256 kB / 402.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.546/9.57, allocations: 1.225 GB / 1.619 GB, free: 191.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002083/9.572, allocations: 0.9803 MB / 1.619 GB, free: 191.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00172/9.574, allocations: 0.8812 MB / 1.62 GB, free: 191.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009875/9.584, allocations: 4.654 MB / 1.625 GB, free: 190.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/9.584, allocations: 0 / 1.625 GB, free: 190.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.294e-06/9.584, allocations: 0.8438 kB / 1.625 GB, free: 190.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001506/9.584, allocations: 1.031 kB / 1.625 GB, free: 190.5 MB / 494.1 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.009227/9.593, allocations: 1.924 MB / 1.627 GB, free: 189.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/9.593, allocations: 9.906 kB / 1.627 GB, free: 189.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/9.596, allocations: 365.3 kB / 1.627 GB, free: 189.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/9.601, allocations: 1.54 MB / 1.629 GB, free: 188.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/9.601, allocations: 127 kB / 1.629 GB, free: 188.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000583/9.601, allocations: 165.7 kB / 1.629 GB, free: 188.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005831/9.607, allocations: 3.601 MB / 1.632 GB, free: 186.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/9.607, allocations: 1.844 kB / 1.632 GB, free: 186.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/9.608, allocations: 68.72 kB / 1.633 GB, free: 186.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/9.608, allocations: 42.47 kB / 1.633 GB, free: 186.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09619/9.704, allocations: 59.96 MB / 1.691 GB, free: 130.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/9.716, allocations: 6.263 MB / 1.697 GB, free: 124.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2889/10, allocations: 45.82 MB / 1.742 GB, free: 78.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003498/10.01, allocations: 2.029 MB / 1.744 GB, free: 76.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008632/10.01, allocations: 231 kB / 1.744 GB, free: 76.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005437/10.01, allocations: 3.061 MB / 1.747 GB, free: 73.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=423): time 9.948e-06/10.01, allocations: 4 kB / 1.747 GB, free: 73.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=423): time 0.01911/10.03, allocations: 12.08 MB / 1.759 GB, free: 60.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/10.03, allocations: 128.3 kB / 1.759 GB, free: 60.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/10.03, allocations: 308.1 kB / 1.759 GB, free: 59.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005615/10.03, allocations: 109.2 kB / 1.759 GB, free: 59.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/10.03, allocations: 142.9 kB / 1.76 GB, free: 59.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/10.04, allocations: 1.445 MB / 1.761 GB, free: 57.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001846/10.04, allocations: 0.9525 MB / 1.762 GB, free: 57.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.121e-05/10.04, allocations: 329.9 kB / 1.762 GB, free: 56.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003157/10.04, allocations: 2.037 MB / 1.764 GB, free: 54.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003649/10.04, allocations: 2.289 MB / 1.766 GB, free: 52.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00862/10.05, allocations: 4.751 MB / 1.771 GB, free: 47.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/10.05, allocations: 0 / 1.771 GB, free: 47.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.1988/10.25, allocations: 13.51 MB / 1.784 GB, free: 198.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/10.25, allocations: 4.5 kB / 1.784 GB, free: 198.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/10.25, allocations: 9.281 kB / 1.784 GB, free: 198.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.293e-05/10.25, allocations: 16.36 kB / 1.784 GB, free: 198.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005769/10.26, allocations: 1.09 MB / 1.785 GB, free: 198.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.07e-05/10.26, allocations: 15.31 kB / 1.785 GB, free: 198.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/10.26, allocations: 248.4 kB / 1.786 GB, free: 198.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/10.26, allocations: 320 kB / 1.786 GB, free: 198.2 MB / 494.1 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,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.001752/10.26, allocations: 0.5267 MB / 1.786 GB, free: 197.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002749/10.27, allocations: 348.6 kB / 1.787 GB, free: 197.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/10.29, allocations: 11.83 MB / 1.798 GB, free: 189.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/10.29, allocations: 40 kB / 1.798 GB, free: 189.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/10.29, allocations: 0 / 1.798 GB, free: 189.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.722e-05/10.29, allocations: 20.67 kB / 1.798 GB, free: 189.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/10.29, allocations: 1.817 MB / 1.8 GB, free: 187.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/10.29, allocations: 2.625 kB / 1.8 GB, free: 187.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00414/10.29, allocations: 1.061 MB / 1.801 GB, free: 186.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.771e-05/10.29, allocations: 12 kB / 1.801 GB, free: 186.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004451/10.29, allocations: 291.5 kB / 1.802 GB, free: 186.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-05/10.29, allocations: 16 kB / 1.802 GB, free: 186.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/10.29, allocations: 4 kB / 1.802 GB, free: 186.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01708/10.31, allocations: 13.35 MB / 1.815 GB, free: 171.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/10.31, allocations: 1.254 MB / 1.816 GB, free: 170.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000453/10.31, allocations: 75.98 kB / 1.816 GB, free: 170.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/10.31, allocations: 83.81 kB / 1.816 GB, free: 170.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006661/10.31, allocations: 398.4 kB / 1.816 GB, free: 170.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000523/10.31, allocations: 319.5 kB / 1.817 GB, free: 169.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003802/10.31, allocations: 227 kB / 1.817 GB, free: 169.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/10.31, allocations: 0 / 1.817 GB, free: 169.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003799/10.32, allocations: 0.6674 MB / 1.818 GB, free: 168.9 MB / 494.1 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.002182/10.32, allocations: 0.6874 MB / 1.818 GB, free: 168.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009304/10.33, allocations: 4.845 MB / 1.823 GB, free: 163.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/10.33, allocations: 3.719 kB / 1.823 GB, free: 163.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00481/10.33, allocations: 2.551 MB / 1.825 GB, free: 160.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/10.34, allocations: 156.9 kB / 1.826 GB, free: 160.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005696/10.34, allocations: 4.428 MB / 1.83 GB, free: 156.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/10.34, allocations: 0.7336 MB / 1.831 GB, free: 155.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008428/10.35, allocations: 3.009 MB / 1.834 GB, free: 152.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/10.35, allocations: 0.6323 MB / 1.834 GB, free: 152 MB / 494.1 MB Notification: Performance of SimCode: time 2.334e-06/10.35, allocations: 0 / 1.834 GB, free: 152 MB / 494.1 MB Notification: Performance of Templates: time 0.05139/10.4, allocations: 39.72 MB / 1.873 GB, free: 112.5 MB / 494.1 MB " [Timeout remaining time 650] 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: 19.911491740494967] Failed to read output from testmodel.py, exit status != 0: 10.4125035405159 10.42202118 0.835672062 Calling exit ...