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.001385/0.001385, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001694/0.001694, allocations: 170 kB / 23.28 MB, free: 1.219 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.231/1.231, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.01871/0.01871, allocations: 3.154 MB / 263.4 MB, free: 9.91 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 2.324e-06/2.324e-06, allocations: 0 / 333.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.6e-05, allocations: 2.312 kB / 333.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.008908/0.008944, allocations: 2.039 MB / 336 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007369/0.01631, allocations: 3.534 MB / 339.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003366/0.01665, allocations: 11.88 kB / 339.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.01712, allocations: 47.59 kB / 339.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.01731, allocations: 51.56 kB / 339.6 MB, free: 11.07 MB / 314.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.002217/0.01952, allocations: 0.7453 MB / 340.4 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003828/0.02335, allocations: 5.724 MB / 346.1 MB, free: 4.598 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.02353, allocations: 32.58 kB / 346.1 MB, free: 4.566 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00701/0.03054, allocations: 2.11 MB / 348.2 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003415/0.03396, allocations: 1.799 MB / 350 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.03513, allocations: 232 kB / 350.3 MB, free: 444 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.505/5.54, allocations: 1.227 GB / 1.569 GB, free: 10.98 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002347/5.542, allocations: 0.9479 MB / 1.57 GB, free: 10.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00281/5.545, allocations: 0.8541 MB / 1.57 GB, free: 10.45 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/5.555, allocations: 4.064 MB / 1.574 GB, free: 9.398 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/5.555, allocations: 0 / 1.574 GB, free: 9.398 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.086e-06/5.555, allocations: 0 / 1.574 GB, free: 9.398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001772/5.555, allocations: 0 / 1.574 GB, free: 9.398 MB / 426.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.01105/5.566, allocations: 2.018 MB / 1.576 GB, free: 8.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.302e-05/5.566, allocations: 11.94 kB / 1.576 GB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/5.569, allocations: 0.5758 MB / 1.577 GB, free: 8.094 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/5.571, allocations: 1.355 MB / 1.578 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/5.571, allocations: 125.9 kB / 1.578 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/5.572, allocations: 166.5 kB / 1.579 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004198/5.576, allocations: 2.451 MB / 1.581 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/5.576, allocations: 0 / 1.581 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004871/5.576, allocations: 71.69 kB / 1.581 GB, free: 6.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/5.576, allocations: 39.28 kB / 1.581 GB, free: 6.688 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2842/5.86, allocations: 45.26 MB / 1.625 GB, free: 146.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007924/5.868, allocations: 5.019 MB / 1.63 GB, free: 143.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1459/6.014, allocations: 69.72 MB / 1.698 GB, free: 73.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/6.017, allocations: 0.9076 MB / 1.699 GB, free: 72.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/6.018, allocations: 0.6808 MB / 1.7 GB, free: 72.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003071/6.021, allocations: 1.969 MB / 1.702 GB, free: 70.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=423): time 1.128e-05/6.021, allocations: 0 / 1.702 GB, free: 70.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=423): time 0.01048/6.031, allocations: 8.775 MB / 1.71 GB, free: 61.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/6.031, allocations: 125.3 kB / 1.71 GB, free: 60.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/6.032, allocations: 321.7 kB / 1.711 GB, free: 60.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/6.032, allocations: 97.7 kB / 1.711 GB, free: 60.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/6.032, allocations: 196.2 kB / 1.711 GB, free: 60.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/6.033, allocations: 1.484 MB / 1.712 GB, free: 58.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/6.034, allocations: 0.9868 MB / 1.713 GB, free: 58.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/6.035, allocations: 0.5066 MB / 1.714 GB, free: 57.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/6.036, allocations: 0.792 MB / 1.715 GB, free: 56.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/6.037, allocations: 1.117 MB / 1.716 GB, free: 55.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/6.04, allocations: 2.169 MB / 1.718 GB, free: 53.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/6.04, allocations: 0 / 1.718 GB, free: 53.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.2474/6.288, allocations: 11.32 MB / 1.729 GB, free: 160.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/6.288, allocations: 3.156 kB / 1.729 GB, free: 160.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/6.288, allocations: 3 kB / 1.729 GB, free: 160.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.155e-05/6.288, allocations: 15.62 kB / 1.729 GB, free: 160.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/6.291, allocations: 1.092 MB / 1.73 GB, free: 160.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.973e-05/6.291, allocations: 19.56 kB / 1.73 GB, free: 160.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/6.292, allocations: 238.6 kB / 1.73 GB, free: 160.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005592/6.293, allocations: 290.3 kB / 1.73 GB, free: 160.7 MB / 426.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.001796/6.294, allocations: 349 kB / 1.731 GB, free: 160.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001991/6.296, allocations: 0.5556 MB / 1.731 GB, free: 160.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/6.307, allocations: 9.53 MB / 1.741 GB, free: 157.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/6.307, allocations: 46.66 kB / 1.741 GB, free: 157.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/6.307, allocations: 0.75 kB / 1.741 GB, free: 157.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/6.307, allocations: 20.3 kB / 1.741 GB, free: 157.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/6.309, allocations: 1.23 MB / 1.742 GB, free: 157 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/6.309, allocations: 0 / 1.742 GB, free: 157 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/6.311, allocations: 1.055 MB / 1.743 GB, free: 157 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.779e-05/6.311, allocations: 12.53 kB / 1.743 GB, free: 157 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003006/6.312, allocations: 293.3 kB / 1.743 GB, free: 157 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.499e-05/6.312, allocations: 15.72 kB / 1.743 GB, free: 157 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/6.312, allocations: 0 / 1.743 GB, free: 157 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/6.322, allocations: 9.152 MB / 1.752 GB, free: 151.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/6.323, allocations: 1.193 MB / 1.753 GB, free: 151 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/6.324, allocations: 79.98 kB / 1.753 GB, free: 151 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007679/6.324, allocations: 72 kB / 1.754 GB, free: 150.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004152/6.325, allocations: 417.5 kB / 1.754 GB, free: 150.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004436/6.325, allocations: 290.2 kB / 1.754 GB, free: 150.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001805/6.325, allocations: 210.3 kB / 1.754 GB, free: 150.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/6.325, allocations: 0 / 1.754 GB, free: 150.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003284/6.329, allocations: 0.6658 MB / 1.755 GB, free: 149.7 MB / 426.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.002153/6.331, allocations: 0.6867 MB / 1.756 GB, free: 149.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005353/6.336, allocations: 2.636 MB / 1.758 GB, free: 147.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/6.336, allocations: 0 / 1.758 GB, free: 147.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002744/6.339, allocations: 1.587 MB / 1.76 GB, free: 146.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/6.34, allocations: 381.5 kB / 1.76 GB, free: 145.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/6.345, allocations: 3.013 MB / 1.763 GB, free: 143.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/6.345, allocations: 418.8 kB / 1.764 GB, free: 143 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005526/6.351, allocations: 1.832 MB / 1.765 GB, free: 141.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/6.352, allocations: 0.8278 MB / 1.766 GB, free: 140.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.455e-06/6.352, allocations: 0 / 1.766 GB, free: 140.8 MB / 426.7 MB Notification: Performance of Templates: time 0.04805/6.4, allocations: 44.86 MB / 1.81 GB, free: 97.07 MB / 426.7 MB " [Timeout remaining time 654] 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: 12.045895613729954]