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.000912/0.000912, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009239/0.0009239, allocations: 173.3 kB / 23.49 MB, free: 1.062 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 0.9837/0.9837, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.01773/0.01773, allocations: 3.145 MB / 263.4 MB, free: 10.14 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.302e-06/1.302e-06, allocations: 0 / 333.5 MB, free: 16.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.357e-05, allocations: 2.312 kB / 333.5 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.001956/0.00197, allocations: 2.074 MB / 335.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003759/0.005729, allocations: 3.851 MB / 339.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.005858, allocations: 15.88 kB / 339.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.00617, allocations: 55.52 kB / 339.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.006292, allocations: 51.58 kB / 339.6 MB, free: 10.24 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.001022/0.007314, allocations: 0.711 MB / 340.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001989/0.009304, allocations: 5.623 MB / 345.9 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.00941, allocations: 36.52 kB / 345.9 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.01127, allocations: 2.028 MB / 348 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.01274, allocations: 1.814 MB / 349.8 MB, free: 20 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004549/0.0132, allocations: 256 kB / 350 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.273/5.286, allocations: 1.225 GB / 1.567 GB, free: 125.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001437/5.288, allocations: 0.9806 MB / 1.568 GB, free: 124.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001437/5.289, allocations: 0.8818 MB / 1.569 GB, free: 124.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004886/5.294, allocations: 4.161 MB / 1.573 GB, free: 122 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/5.294, allocations: 4 kB / 1.573 GB, free: 122 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/5.294, allocations: 0 / 1.573 GB, free: 122 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.629e-05/5.294, allocations: 0 / 1.573 GB, free: 122 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.003315/5.297, allocations: 2.016 MB / 1.575 GB, free: 120 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/5.297, allocations: 8.031 kB / 1.575 GB, free: 120 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/5.299, allocations: 0.5741 MB / 1.576 GB, free: 119.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/5.301, allocations: 1.522 MB / 1.577 GB, free: 117.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.838e-05/5.301, allocations: 131.6 kB / 1.577 GB, free: 117.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/5.301, allocations: 164.4 kB / 1.577 GB, free: 117.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/5.304, allocations: 2.598 MB / 1.58 GB, free: 115 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/5.304, allocations: 4 kB / 1.58 GB, free: 115 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/5.304, allocations: 71.94 kB / 1.58 GB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/5.304, allocations: 40 kB / 1.58 GB, free: 114.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04362/5.348, allocations: 44.25 MB / 1.623 GB, free: 70.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/5.353, allocations: 5.133 MB / 1.628 GB, free: 65.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2811/5.634, allocations: 69.97 MB / 1.697 GB, free: 137.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/5.635, allocations: 1.054 MB / 1.698 GB, free: 136.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004771/5.636, allocations: 253.2 kB / 1.698 GB, free: 136.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002162/5.638, allocations: 2.096 MB / 1.7 GB, free: 134.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=423): time 7.354e-06/5.638, allocations: 3.844 kB / 1.7 GB, free: 134.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=423): time 0.008915/5.647, allocations: 9.233 MB / 1.709 GB, free: 124.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/5.647, allocations: 133.4 kB / 1.709 GB, free: 124.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/5.647, allocations: 314.3 kB / 1.709 GB, free: 124 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001926/5.647, allocations: 101.7 kB / 1.709 GB, free: 123.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/5.648, allocations: 193.6 kB / 1.71 GB, free: 123.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006259/5.648, allocations: 1.474 MB / 1.711 GB, free: 122.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008603/5.649, allocations: 0.9755 MB / 1.712 GB, free: 121.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/5.649, allocations: 0.4968 MB / 1.712 GB, free: 120.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/5.65, allocations: 0.9707 MB / 1.713 GB, free: 120 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/5.652, allocations: 1.291 MB / 1.715 GB, free: 118.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/5.656, allocations: 2.518 MB / 1.717 GB, free: 116.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/5.656, allocations: 0 / 1.717 GB, free: 116.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.008648/5.665, allocations: 11.67 MB / 1.729 GB, free: 104.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/5.665, allocations: 10.5 kB / 1.729 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/5.665, allocations: 3.984 kB / 1.729 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/5.665, allocations: 16 kB / 1.729 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/5.667, allocations: 1.092 MB / 1.73 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.024e-05/5.667, allocations: 16 kB / 1.73 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008657/5.668, allocations: 245.4 kB / 1.73 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/5.668, allocations: 319.5 kB / 1.73 GB, free: 102.8 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.0006461/5.669, allocations: 344.8 kB / 1.731 GB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/5.67, allocations: 0.5615 MB / 1.731 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0088/5.679, allocations: 9.822 MB / 1.741 GB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/5.679, allocations: 40 kB / 1.741 GB, free: 91.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/5.679, allocations: 0 / 1.741 GB, free: 91.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/5.679, allocations: 19.92 kB / 1.741 GB, free: 91.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/5.68, allocations: 1.284 MB / 1.742 GB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/5.68, allocations: 0 / 1.742 GB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/5.682, allocations: 1.057 MB / 1.743 GB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.798e-05/5.682, allocations: 16 kB / 1.743 GB, free: 89.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/5.682, allocations: 291.5 kB / 1.743 GB, free: 88.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/5.682, allocations: 12 kB / 1.743 GB, free: 88.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/5.682, allocations: 0 / 1.743 GB, free: 88.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008954/5.691, allocations: 9.625 MB / 1.753 GB, free: 78.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009519/5.692, allocations: 1.231 MB / 1.754 GB, free: 77.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/5.692, allocations: 78.94 kB / 1.754 GB, free: 77.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007366/5.693, allocations: 71.98 kB / 1.754 GB, free: 77.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004019/5.693, allocations: 402.4 kB / 1.754 GB, free: 76.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000288/5.694, allocations: 323.4 kB / 1.755 GB, free: 76.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001206/5.694, allocations: 219 kB / 1.755 GB, free: 76.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/5.694, allocations: 4 kB / 1.755 GB, free: 76.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001745/5.695, allocations: 0.6674 MB / 1.756 GB, free: 75.43 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.001291/5.697, allocations: 0.6946 MB / 1.756 GB, free: 74.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003921/5.701, allocations: 2.951 MB / 1.759 GB, free: 71.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/5.701, allocations: 0 / 1.759 GB, free: 71.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001913/5.703, allocations: 1.73 MB / 1.761 GB, free: 70.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006703/5.703, allocations: 393.3 kB / 1.761 GB, free: 69.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/5.706, allocations: 3.147 MB / 1.764 GB, free: 66.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/5.707, allocations: 421.3 kB / 1.765 GB, free: 66.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004364/5.711, allocations: 2.873 MB / 1.768 GB, free: 63.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/5.712, allocations: 0.6284 MB / 1.768 GB, free: 62.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/5.712, allocations: 4 kB / 1.768 GB, free: 62.74 MB / 410.7 MB Notification: Performance of Templates: time 0.1594/5.871, allocations: 39.95 MB / 1.807 GB, free: 164.2 MB / 410.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: 11.220919709885493]