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.001795/0.001795, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002411/0.002411, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.02995/0.02995, allocations: 3.16 MB / 262.7 MB, free: 10.07 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.422e-06/1.422e-06, allocations: 0 / 332.8 MB, free: 16.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.423e-05, allocations: 2.312 kB / 332.8 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.002402/0.002426, allocations: 2.01 MB / 334.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004825/0.007251, allocations: 3.757 MB / 338.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.007413, allocations: 11.88 kB / 338.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.007738, allocations: 51.53 kB / 338.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.007896, allocations: 55.62 kB / 338.7 MB, free: 10.41 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.001458/0.009354, allocations: 0.7044 MB / 339.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002607/0.01196, allocations: 5.619 MB / 345 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.01207, allocations: 40.52 kB / 345 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.01392, allocations: 2.032 MB / 347.1 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.01583, allocations: 1.812 MB / 348.9 MB, free: 196 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004299/0.01626, allocations: 256 kB / 349.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.332/7.348, allocations: 1.225 GB / 1.566 GB, free: 125.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001386/7.35, allocations: 0.9803 MB / 1.567 GB, free: 125 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/7.351, allocations: 0.8813 MB / 1.568 GB, free: 124.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004845/7.356, allocations: 4.695 MB / 1.573 GB, free: 121.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/7.356, allocations: 0 / 1.573 GB, free: 121.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/7.356, allocations: 4 kB / 1.573 GB, free: 121.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.404e-05/7.356, allocations: 0 / 1.573 GB, free: 121.5 MB / 410.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.005679/7.362, allocations: 1.918 MB / 1.575 GB, free: 119.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/7.362, allocations: 8.031 kB / 1.575 GB, free: 119.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/7.364, allocations: 0.578 MB / 1.575 GB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004115/7.368, allocations: 1.551 MB / 1.577 GB, free: 117.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.985e-05/7.368, allocations: 131.7 kB / 1.577 GB, free: 117.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004072/7.368, allocations: 164.4 kB / 1.577 GB, free: 117.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004749/7.373, allocations: 3.603 MB / 1.58 GB, free: 113.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.087e-05/7.373, allocations: 1.188 kB / 1.58 GB, free: 113.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003006/7.374, allocations: 67.94 kB / 1.581 GB, free: 113.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/7.374, allocations: 40 kB / 1.581 GB, free: 113.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08469/7.458, allocations: 49.9 MB / 1.629 GB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008231/7.467, allocations: 6.263 MB / 1.635 GB, free: 57.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4133/7.88, allocations: 45.81 MB / 1.68 GB, free: 154.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002891/7.883, allocations: 2.031 MB / 1.682 GB, free: 152.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000662/7.883, allocations: 258.2 kB / 1.682 GB, free: 152.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003804/7.887, allocations: 3.061 MB / 1.685 GB, free: 149.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=423): time 7.134e-06/7.887, allocations: 0 / 1.685 GB, free: 149.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=423): time 0.01483/7.902, allocations: 12.31 MB / 1.697 GB, free: 136.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/7.902, allocations: 125.8 kB / 1.698 GB, free: 135.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/7.903, allocations: 308.2 kB / 1.698 GB, free: 135.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002898/7.903, allocations: 105.7 kB / 1.698 GB, free: 135.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/7.903, allocations: 147.6 kB / 1.698 GB, free: 135.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008231/7.904, allocations: 1.448 MB / 1.699 GB, free: 134.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/7.905, allocations: 0.9447 MB / 1.7 GB, free: 133.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.333e-05/7.905, allocations: 329.7 kB / 1.701 GB, free: 132.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/7.908, allocations: 2.033 MB / 1.703 GB, free: 130.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003091/7.911, allocations: 2.29 MB / 1.705 GB, free: 128.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006911/7.918, allocations: 4.759 MB / 1.71 GB, free: 123.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/7.918, allocations: 0 / 1.71 GB, free: 123.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.01411/7.932, allocations: 13.75 MB / 1.723 GB, free: 109.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/7.932, allocations: 4 kB / 1.723 GB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/7.932, allocations: 0 / 1.723 GB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.633e-05/7.932, allocations: 16 kB / 1.723 GB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/7.936, allocations: 1.087 MB / 1.724 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.872e-05/7.936, allocations: 20 kB / 1.724 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/7.937, allocations: 249.7 kB / 1.724 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005024/7.938, allocations: 319.5 kB / 1.725 GB, free: 108.3 MB / 410.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,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.001106/7.939, allocations: 0.5251 MB / 1.725 GB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/7.941, allocations: 0.5729 MB / 1.726 GB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/7.956, allocations: 11.83 MB / 1.737 GB, free: 94.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/7.956, allocations: 40 kB / 1.737 GB, free: 94.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/7.956, allocations: 4 kB / 1.737 GB, free: 94.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.334e-05/7.956, allocations: 23.92 kB / 1.737 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/7.958, allocations: 1.817 MB / 1.739 GB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/7.959, allocations: 0 / 1.739 GB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003777/7.962, allocations: 1.061 MB / 1.74 GB, free: 91.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/7.962, allocations: 16 kB / 1.74 GB, free: 91.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003725/7.963, allocations: 287.5 kB / 1.74 GB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/7.963, allocations: 15.98 kB / 1.74 GB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/7.963, allocations: 0 / 1.74 GB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/7.979, allocations: 13.58 MB / 1.754 GB, free: 77.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/7.98, allocations: 1.262 MB / 1.755 GB, free: 75.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003999/7.981, allocations: 74.94 kB / 1.755 GB, free: 75.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/7.982, allocations: 83.97 kB / 1.755 GB, free: 75.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006396/7.983, allocations: 398.4 kB / 1.755 GB, free: 75.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004525/7.983, allocations: 315.5 kB / 1.756 GB, free: 75.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000338/7.984, allocations: 223 kB / 1.756 GB, free: 74.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/7.984, allocations: 0 / 1.756 GB, free: 74.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002453/7.986, allocations: 0.6753 MB / 1.757 GB, free: 74.24 MB / 410.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.001889/7.988, allocations: 0.681 MB / 1.757 GB, free: 73.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006992/7.995, allocations: 4.845 MB / 1.762 GB, free: 68.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/7.995, allocations: 8.25 kB / 1.762 GB, free: 68.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00353/7.999, allocations: 2.547 MB / 1.765 GB, free: 66.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/8, allocations: 392.9 kB / 1.765 GB, free: 65.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/8.005, allocations: 4.456 MB / 1.769 GB, free: 61.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/8.005, allocations: 0.7337 MB / 1.77 GB, free: 60.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006859/8.012, allocations: 2.999 MB / 1.773 GB, free: 57.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/8.014, allocations: 0.6323 MB / 1.774 GB, free: 57.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.884e-06/8.014, allocations: 4 kB / 1.774 GB, free: 57.1 MB / 410.7 MB Notification: Performance of Templates: time 0.1817/8.195, allocations: 39.86 MB / 1.812 GB, free: 156.8 MB / 410.7 MB " [Timeout remaining time 652] 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: 16.117459458997473]