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.001437/0.001437, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001634/0.001634, allocations: 218.3 kB / 22.3 MB, free: 5.281 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.536/1.536, allocations: 230.6 MB / 256.1 MB, free: 7.719 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.02734/0.02734, allocations: 3.945 MB / 316.4 MB, free: 15.07 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.002079/0.002079, allocations: 67.89 kB / 440.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1219, allocations: 54.14 MB / 494.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.003416/0.1254, allocations: 1.995 MB / 496.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006756/0.1321, allocations: 3.77 MB / 0.4885 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1323, allocations: 15.81 kB / 0.4885 GB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.1326, allocations: 51.58 kB / 0.4886 GB, free: 14.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.1328, allocations: 55.64 kB / 0.4886 GB, free: 14.86 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.001917/0.1347, allocations: 0.6854 MB / 0.4893 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005048/0.1398, allocations: 5.662 MB / 0.4948 GB, free: 8.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1399, allocations: 44.56 kB / 0.4949 GB, free: 8.461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.1422, allocations: 1.501 MB / 0.4963 GB, free: 6.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/0.1451, allocations: 1.813 MB / 0.4981 GB, free: 5.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008388/0.1459, allocations: 256 kB / 0.4984 GB, free: 4.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.477/7.623, allocations: 1.225 GB / 1.724 GB, free: 198.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002649/7.625, allocations: 0.9791 MB / 1.725 GB, free: 198.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001796/7.627, allocations: 0.9845 MB / 1.726 GB, free: 198.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007177/7.634, allocations: 3.815 MB / 1.729 GB, free: 198.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/7.634, allocations: 0 / 1.729 GB, free: 198.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.815e-06/7.634, allocations: 0 / 1.729 GB, free: 198.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.278e-05/7.634, allocations: 1.344 kB / 1.729 GB, free: 198.5 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.008106/7.643, allocations: 1.937 MB / 1.731 GB, free: 197.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/7.643, allocations: 11.77 kB / 1.731 GB, free: 197.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/7.645, allocations: 364.1 kB / 1.732 GB, free: 197.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004294/7.649, allocations: 1.541 MB / 1.733 GB, free: 197 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/7.65, allocations: 127.7 kB / 1.733 GB, free: 197 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005881/7.65, allocations: 162.2 kB / 1.733 GB, free: 196.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006676/7.657, allocations: 3.608 MB / 1.737 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/7.657, allocations: 5.094 kB / 1.737 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/7.657, allocations: 65.66 kB / 1.737 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/7.657, allocations: 39.66 kB / 1.737 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09455/7.752, allocations: 59.96 MB / 1.796 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/7.763, allocations: 6.263 MB / 1.802 GB, free: 134 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2809/8.044, allocations: 45.81 MB / 1.846 GB, free: 87.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003789/8.048, allocations: 2.029 MB / 1.848 GB, free: 85.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008504/8.049, allocations: 228.3 kB / 1.849 GB, free: 85.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005439/8.054, allocations: 3.065 MB / 1.852 GB, free: 82.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=423): time 1.027e-05/8.054, allocations: 0 / 1.852 GB, free: 82.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=423): time 0.02072/8.075, allocations: 12.08 MB / 1.863 GB, free: 69.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.303e-05/8.075, allocations: 128.3 kB / 1.864 GB, free: 69.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/8.076, allocations: 312.1 kB / 1.864 GB, free: 69.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/8.077, allocations: 101.7 kB / 1.864 GB, free: 69.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/8.077, allocations: 146.9 kB / 1.864 GB, free: 68.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001748/8.079, allocations: 1.457 MB / 1.866 GB, free: 67.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002573/8.081, allocations: 0.9575 MB / 1.866 GB, free: 66.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.323e-05/8.082, allocations: 325.9 kB / 1.867 GB, free: 66.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0037/8.085, allocations: 2.033 MB / 1.869 GB, free: 64.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004188/8.089, allocations: 2.297 MB / 1.871 GB, free: 61.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009039/8.098, allocations: 4.753 MB / 1.876 GB, free: 57.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/8.099, allocations: 0 / 1.876 GB, free: 57.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=439) (initialization): time 0.01927/8.118, allocations: 13.51 MB / 1.889 GB, free: 43.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/8.118, allocations: 9.406 kB / 1.889 GB, free: 43.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/8.118, allocations: 0 / 1.889 GB, free: 43.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.673e-05/8.118, allocations: 16 kB / 1.889 GB, free: 43.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004944/8.123, allocations: 1.09 MB / 1.89 GB, free: 42.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.464e-05/8.123, allocations: 18.81 kB / 1.89 GB, free: 42.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/8.125, allocations: 254 kB / 1.89 GB, free: 42.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/8.127, allocations: 327.6 kB / 1.89 GB, free: 41.9 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.002577/8.129, allocations: 0.5305 MB / 1.891 GB, free: 41.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003269/8.132, allocations: 347 kB / 1.891 GB, free: 41.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2785/8.411, allocations: 11.82 MB / 1.903 GB, free: 224.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-05/8.411, allocations: 40.56 kB / 1.903 GB, free: 224.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/8.411, allocations: 1.328 kB / 1.903 GB, free: 224.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.633e-05/8.411, allocations: 24.19 kB / 1.903 GB, free: 224.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/8.415, allocations: 1.815 MB / 1.905 GB, free: 224.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/8.415, allocations: 0.5625 kB / 1.905 GB, free: 224.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004989/8.42, allocations: 1.058 MB / 1.906 GB, free: 224.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-05/8.42, allocations: 14.78 kB / 1.906 GB, free: 224.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009012/8.42, allocations: 290.9 kB / 1.906 GB, free: 224.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.183e-05/8.421, allocations: 15.33 kB / 1.906 GB, free: 224.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/8.421, allocations: 1.188 kB / 1.906 GB, free: 224.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02183/8.442, allocations: 13.36 MB / 1.919 GB, free: 214.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/8.444, allocations: 1.26 MB / 1.92 GB, free: 213.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004181/8.444, allocations: 71.98 kB / 1.92 GB, free: 213.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/8.446, allocations: 80.92 kB / 1.92 GB, free: 213.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006284/8.447, allocations: 404.4 kB / 1.921 GB, free: 213.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004561/8.447, allocations: 320.3 kB / 1.921 GB, free: 212.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003363/8.447, allocations: 228.3 kB / 1.921 GB, free: 212.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/8.447, allocations: 0 / 1.921 GB, free: 212.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003298/8.451, allocations: 0.6597 MB / 1.922 GB, free: 212 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.002204/8.453, allocations: 0.6668 MB / 1.923 GB, free: 211.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007789/8.461, allocations: 4.847 MB / 1.927 GB, free: 206.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/8.461, allocations: 0 / 1.927 GB, free: 206.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003767/8.465, allocations: 2.555 MB / 1.93 GB, free: 204.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/8.466, allocations: 164.7 kB / 1.93 GB, free: 203.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/8.471, allocations: 4.45 MB / 1.934 GB, free: 199.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/8.471, allocations: 0.7298 MB / 1.935 GB, free: 198.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007142/8.478, allocations: 3.007 MB / 1.938 GB, free: 195.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/8.48, allocations: 0.6284 MB / 1.939 GB, free: 195.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.773e-06/8.48, allocations: 0 / 1.939 GB, free: 195.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.04865/8.529, allocations: 39.67 MB / 1.977 GB, free: 155.8 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.064509009942412] Failed to read output from testmodel.py, exit status != 0: 8.536476120352745 8.546322179 0.9097509579999999 Calling exit ...