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.001594/0.001594, 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.001478/0.001478, 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 1.014/1.014, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.01593/0.01593, allocations: 3.154 MB / 263.4 MB, free: 9.949 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.472e-06/1.472e-06, allocations: 0 / 280.7 MB, free: 8.672 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.805e-05, allocations: 6.312 kB / 280.7 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.002512/0.00253, allocations: 2.046 MB / 282.7 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.006813, allocations: 3.588 MB / 286.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.006945, allocations: 11.88 kB / 286.3 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.007239, allocations: 51.52 kB / 286.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.007366, allocations: 51.62 kB / 286.4 MB, free: 2.879 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.001396/0.008761, allocations: 0.7352 MB / 287.2 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.15/0.1588, allocations: 5.725 MB / 292.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.159, allocations: 38.53 kB / 292.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004277/0.1632, allocations: 2.095 MB / 295 MB, free: 18.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.1665, allocations: 1.78 MB / 296.8 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.1678, allocations: 231.8 kB / 297 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09937/0.2672, allocations: 127.8 MB / 424.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.2691, allocations: 0.9471 MB / 425.7 MB, free: 6.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.2703, allocations: 0.8456 MB / 426.6 MB, free: 6.145 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004171/0.2745, allocations: 4.062 MB / 430.6 MB, free: 2.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2745, allocations: 0 / 430.6 MB, free: 2.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2745, allocations: 0 / 430.6 MB, free: 2.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.323e-05/0.2745, allocations: 0 / 430.6 MB, free: 2.293 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.003823/0.2784, allocations: 1.821 MB / 432.5 MB, free: 456 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2784, allocations: 8.031 kB / 432.5 MB, free: 448 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1227/0.401, allocations: 0.5158 MB / 433 MB, free: 130.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/0.4039, allocations: 1.225 MB / 434.2 MB, free: 130.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.4041, allocations: 128 kB / 434.3 MB, free: 130.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006519/0.4047, allocations: 166 kB / 434.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005224/0.4099, allocations: 2.462 MB / 437 MB, free: 130.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.41, allocations: 2.969 kB / 437 MB, free: 130.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/0.4102, allocations: 72.41 kB / 437 MB, free: 130.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.4103, allocations: 42.12 kB / 437.1 MB, free: 130.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04371/0.454, allocations: 45.16 MB / 482.2 MB, free: 91.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005526/0.4595, allocations: 4.673 MB / 486.9 MB, free: 87.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1454/0.6049, allocations: 68.37 MB / 0.5423 GB, free: 18.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.6063, allocations: 0.8197 MB / 0.5431 GB, free: 17.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004196/0.6067, allocations: 253.6 kB / 0.5433 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.6083, allocations: 1.924 MB / 0.5452 GB, free: 15.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=423): time 8.286e-06/0.6083, allocations: 0 / 0.5452 GB, free: 15.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=423): time 0.004083/0.6124, allocations: 3.076 MB / 0.5482 GB, free: 12.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.6125, allocations: 125.7 kB / 0.5483 GB, free: 12.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.6126, allocations: 252.7 kB / 0.5486 GB, free: 12.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002073/0.6128, allocations: 102.9 kB / 0.5487 GB, free: 12.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.6129, allocations: 128.8 kB / 0.5488 GB, free: 12.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000597/0.6135, allocations: 1.429 MB / 0.5502 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008339/0.6143, allocations: 0.9063 MB / 0.5511 GB, free: 9.984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.878e-05/0.6144, allocations: 330.1 kB / 0.5514 GB, free: 9.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008875/0.6153, allocations: 0.746 MB / 0.5521 GB, free: 8.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009034/0.6162, allocations: 0.9647 MB / 0.553 GB, free: 7.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.6183, allocations: 2.107 MB / 0.5551 GB, free: 5.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.6183, allocations: 6.875 kB / 0.5551 GB, free: 5.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.003022/0.6213, allocations: 2.477 MB / 0.5575 GB, free: 3.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.6213, allocations: 6.188 kB / 0.5575 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.6213, allocations: 4 kB / 0.5575 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.6213, allocations: 13.45 kB / 0.5576 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.6233, allocations: 1.069 MB / 0.5586 GB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/0.6233, allocations: 20.12 kB / 0.5586 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/0.6241, allocations: 238.1 kB / 0.5588 GB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.6244, allocations: 283.5 kB / 0.5591 GB, free: 1.754 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.001231/0.6256, allocations: 305.8 kB / 0.5594 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/0.6267, allocations: 0.5037 MB / 0.5599 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1599/0.7867, allocations: 3.874 MB / 0.5637 GB, free: 128 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-05/0.7867, allocations: 42.14 kB / 0.5637 GB, free: 128 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.7867, allocations: 1.438 kB / 0.5637 GB, free: 128 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.541e-05/0.7868, allocations: 20.3 kB / 0.5637 GB, free: 128 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.7899, allocations: 1.197 MB / 0.5649 GB, free: 127.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/0.7899, allocations: 7.5 kB / 0.5649 GB, free: 127.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003953/0.7939, allocations: 1.027 MB / 0.5659 GB, free: 127.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.66e-05/0.7939, allocations: 16.97 kB / 0.5659 GB, free: 127.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008161/0.7947, allocations: 282.5 kB / 0.5662 GB, free: 127.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.381e-05/0.7948, allocations: 13.19 kB / 0.5662 GB, free: 127.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.7948, allocations: 4.281 kB / 0.5662 GB, free: 127.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008828/0.8036, allocations: 3.468 MB / 0.5696 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.8051, allocations: 1.075 MB / 0.5707 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/0.8054, allocations: 69.72 kB / 0.5707 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008998/0.8063, allocations: 76.7 kB / 0.5708 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005109/0.8069, allocations: 415.5 kB / 0.5712 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004664/0.8073, allocations: 273 kB / 0.5715 GB, free: 127.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.8075, allocations: 91.95 kB / 0.5715 GB, free: 127.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.8075, allocations: 0 / 0.5715 GB, free: 127.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002307/0.8098, allocations: 0.6662 MB / 0.5722 GB, free: 127.2 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.001655/0.8114, allocations: 0.6952 MB / 0.5729 GB, free: 126.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003466/0.8149, allocations: 2.399 MB / 0.5752 GB, free: 125.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/0.8149, allocations: 4 kB / 0.5752 GB, free: 125.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.8165, allocations: 1.434 MB / 0.5766 GB, free: 124.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/0.8172, allocations: 376.5 kB / 0.577 GB, free: 124 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.8201, allocations: 2.957 MB / 0.5799 GB, free: 121.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.8203, allocations: 413.5 kB / 0.5803 GB, free: 120.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003286/0.8236, allocations: 1.833 MB / 0.5821 GB, free: 119 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/0.8251, allocations: 0.7835 MB / 0.5828 GB, free: 118.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/0.8251, allocations: 0.5469 kB / 0.5828 GB, free: 118.2 MB / 378.7 MB Notification: Performance of Templates: time 0.03927/0.8644, allocations: 44.53 MB / 0.6263 GB, free: 74.01 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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.411839505191892]