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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 104 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02769/0.02769, allocations: 3.947 MB / 306.6 MB, free: 6.012 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001985/0.001985, allocations: 67.89 kB / 426.6 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 52.92 MB / 479.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.003596/0.1123, allocations: 2.082 MB / 481.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00686/0.1192, allocations: 3.949 MB / 485.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.1194, allocations: 11.88 kB / 485.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.1197, allocations: 51.53 kB / 485.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1199, allocations: 55.69 kB / 485.7 MB, free: 9.668 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 1.1.0-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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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.002027/0.122, allocations: 0.6465 MB / 486.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005459/0.1274, allocations: 5.681 MB / 492 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1276, allocations: 36.39 kB / 492 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.13, allocations: 1.485 MB / 493.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003571/0.1336, allocations: 1.91 MB / 495.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007565/0.1343, allocations: 260 kB / 495.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.924/8.059, allocations: 1.218 GB / 1.702 GB, free: 172.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001853/8.061, allocations: 0.9772 MB / 1.703 GB, free: 172.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002551/8.063, allocations: 1.092 MB / 1.704 GB, free: 172.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005525/8.069, allocations: 3.801 MB / 1.707 GB, free: 171.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/8.069, allocations: 3.781 kB / 1.707 GB, free: 171.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.804e-06/8.069, allocations: 0 / 1.707 GB, free: 171.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.277e-05/8.069, allocations: 0 / 1.707 GB, free: 171.5 MB / 0.545 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.008229/8.077, allocations: 2.016 MB / 1.709 GB, free: 170.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/8.077, allocations: 10.12 kB / 1.709 GB, free: 170.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/8.08, allocations: 360.2 kB / 1.71 GB, free: 169.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004659/8.084, allocations: 1.605 MB / 1.711 GB, free: 168.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/8.085, allocations: 131.4 kB / 1.711 GB, free: 168.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008646/8.085, allocations: 162 kB / 1.712 GB, free: 168.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005684/8.091, allocations: 3.608 MB / 1.715 GB, free: 166.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/8.091, allocations: 0 / 1.715 GB, free: 166.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002979/8.091, allocations: 71.77 kB / 1.715 GB, free: 166.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/8.091, allocations: 39.38 kB / 1.715 GB, free: 166.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09408/8.186, allocations: 62.47 MB / 1.776 GB, free: 105.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008541/8.194, allocations: 6.928 MB / 1.783 GB, free: 98.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2932/8.487, allocations: 47.71 MB / 1.83 GB, free: 50.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/8.491, allocations: 2.029 MB / 1.832 GB, free: 48.78 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009075/8.492, allocations: 447 kB / 1.832 GB, free: 48.37 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005674/8.498, allocations: 3.067 MB / 1.835 GB, free: 45.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=423): time 8.215e-06/8.498, allocations: 0 / 1.835 GB, free: 45.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=423): time 0.02166/8.519, allocations: 12.57 MB / 1.847 GB, free: 32.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/8.519, allocations: 124.3 kB / 1.847 GB, free: 32.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005929/8.52, allocations: 314.9 kB / 1.848 GB, free: 32.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009573/8.521, allocations: 105.7 kB / 1.848 GB, free: 32.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/8.521, allocations: 150.7 kB / 1.848 GB, free: 31.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.2824/8.804, allocations: 1.462 MB / 1.849 GB, free: 222 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002368/8.806, allocations: 0.9497 MB / 1.85 GB, free: 222 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.126e-05/8.806, allocations: 322.4 kB / 1.851 GB, free: 221.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004142/8.81, allocations: 2.035 MB / 1.853 GB, free: 221.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004742/8.815, allocations: 2.296 MB / 1.855 GB, free: 220.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/8.826, allocations: 4.751 MB / 1.859 GB, free: 219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/8.826, allocations: 1.438 kB / 1.859 GB, free: 219 MB / 0.545 GB Notification: Performance of matching and sorting (n=439) (initialization): time 0.02275/8.849, allocations: 13.41 MB / 1.873 GB, free: 209.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/8.849, allocations: 4 kB / 1.873 GB, free: 209.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/8.849, allocations: 6.016 kB / 1.873 GB, free: 209.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/8.849, allocations: 14.16 kB / 1.873 GB, free: 209.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005648/8.855, allocations: 1.09 MB / 1.874 GB, free: 208.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.732e-05/8.855, allocations: 19.88 kB / 1.874 GB, free: 208.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/8.858, allocations: 246 kB / 1.874 GB, free: 208.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001615/8.859, allocations: 328.6 kB / 1.874 GB, free: 207.9 MB / 0.545 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.002413/8.862, allocations: 0.5191 MB / 1.875 GB, free: 207.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002772/8.865, allocations: 351 kB / 1.875 GB, free: 207.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01962/8.884, allocations: 12.32 MB / 1.887 GB, free: 194.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/8.884, allocations: 46.84 kB / 1.887 GB, free: 194.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/8.884, allocations: 3.562 kB / 1.887 GB, free: 194.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.691e-05/8.884, allocations: 19.92 kB / 1.887 GB, free: 194.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/8.887, allocations: 2.474 MB / 1.89 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/8.887, allocations: 0 / 1.89 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004161/8.891, allocations: 1.053 MB / 1.891 GB, free: 191.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.752e-05/8.891, allocations: 16 kB / 1.891 GB, free: 191.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005453/8.892, allocations: 296.3 kB / 1.891 GB, free: 191.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.632e-05/8.892, allocations: 15.94 kB / 1.891 GB, free: 191.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/8.892, allocations: 4 kB / 1.891 GB, free: 191.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/8.909, allocations: 13.84 MB / 1.904 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/8.911, allocations: 1.329 MB / 1.906 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/8.911, allocations: 72 kB / 1.906 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/8.913, allocations: 91.55 kB / 1.906 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006379/8.914, allocations: 398.4 kB / 1.906 GB, free: 175.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004955/8.914, allocations: 317.2 kB / 1.907 GB, free: 175 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003881/8.915, allocations: 229.9 kB / 1.907 GB, free: 174.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/8.915, allocations: 0 / 1.907 GB, free: 174.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00403/8.919, allocations: 0.6597 MB / 1.907 GB, free: 174.1 MB / 0.545 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.002355/8.921, allocations: 0.6392 MB / 1.908 GB, free: 173.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007665/8.929, allocations: 4.845 MB / 1.913 GB, free: 168.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/8.929, allocations: 0 / 1.913 GB, free: 168.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003796/8.932, allocations: 2.547 MB / 1.915 GB, free: 166.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/8.933, allocations: 152.9 kB / 1.915 GB, free: 165.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/8.939, allocations: 4.455 MB / 1.92 GB, free: 161.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/8.94, allocations: 1.327 MB / 1.921 GB, free: 160.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007606/8.947, allocations: 2.986 MB / 1.924 GB, free: 157.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/8.949, allocations: 0.6353 MB / 1.925 GB, free: 156.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.273e-06/8.949, allocations: 0 / 1.925 GB, free: 156.7 MB / 0.545 GB Notification: Performance of Templates: time 0.05322/9.002, allocations: 39.84 MB / 1.963 GB, free: 116.8 MB / 0.545 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: 17.254729066044092] Failed to read output from testmodel.py, exit status != 0: 9.010405471082777 9.019146226 0.948248613 Calling exit ...