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.0009437/0.0009437, allocations: 92.22 kB / 19.65 MB, free: 276 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.00111/0.00111, allocations: 173 kB / 23.03 MB, free: 1.543 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.124/1.124, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.01607/0.01607, allocations: 3.152 MB / 263.1 MB, free: 10.05 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.745e-06/2.745e-06, allocations: 0 / 333.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.195e-05, allocations: 6.312 kB / 333.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.002742/0.002774, allocations: 2.066 MB / 335.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004893/0.007667, allocations: 3.589 MB / 339.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.007914, allocations: 11.88 kB / 339.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.008374, allocations: 51.53 kB / 339.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.008566, allocations: 55.62 kB / 339.3 MB, free: 10.17 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.00174/0.01031, allocations: 0.7344 MB / 340 MB, free: 9.438 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002746/0.01305, allocations: 5.626 MB / 345.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.01321, allocations: 32.58 kB / 345.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/0.01647, allocations: 2.063 MB / 347.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.01881, allocations: 1.779 MB / 349.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003254/0.01914, allocations: 232 kB / 349.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.115/4.134, allocations: 1.226 GB / 1.568 GB, free: 125 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/4.136, allocations: 0.9459 MB / 1.569 GB, free: 124.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001787/4.138, allocations: 0.8443 MB / 1.569 GB, free: 124.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003693/4.141, allocations: 4.068 MB / 1.573 GB, free: 122 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/4.141, allocations: 1.844 kB / 1.573 GB, free: 122 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/4.141, allocations: 0 / 1.573 GB, free: 122 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.998e-05/4.141, 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.003499/4.145, allocations: 2.028 MB / 1.575 GB, free: 119.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/4.145, allocations: 11.97 kB / 1.575 GB, free: 119.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/4.146, allocations: 0.5702 MB / 1.576 GB, free: 119.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/4.148, allocations: 1.396 MB / 1.577 GB, free: 117.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/4.148, allocations: 127.7 kB / 1.577 GB, free: 117.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/4.148, allocations: 164.4 kB / 1.578 GB, free: 117.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/4.15, allocations: 2.598 MB / 1.58 GB, free: 115 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/4.15, allocations: 0 / 1.58 GB, free: 115 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/4.151, allocations: 79.92 kB / 1.58 GB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/4.151, allocations: 42.91 kB / 1.58 GB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05011/4.201, allocations: 44.24 MB / 1.623 GB, free: 70.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004508/4.205, allocations: 5.132 MB / 1.628 GB, free: 65.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3063/4.512, allocations: 69.97 MB / 1.697 GB, free: 132.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/4.513, allocations: 1.051 MB / 1.698 GB, free: 131.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005443/4.514, allocations: 256.3 kB / 1.698 GB, free: 131.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002504/4.516, allocations: 2.1 MB / 1.7 GB, free: 129.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=423): time 1.043e-05/4.516, allocations: 3.828 kB / 1.7 GB, free: 129.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=423): time 0.009011/4.525, allocations: 9.232 MB / 1.709 GB, free: 120.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/4.526, allocations: 130.7 kB / 1.709 GB, free: 120.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/4.526, allocations: 317 kB / 1.71 GB, free: 119.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001935/4.526, allocations: 101.1 kB / 1.71 GB, free: 119.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/4.526, allocations: 201.5 kB / 1.71 GB, free: 119.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000795/4.527, allocations: 1.465 MB / 1.711 GB, free: 118.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009459/4.528, allocations: 0.9734 MB / 1.712 GB, free: 117.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.314e-05/4.528, allocations: 0.4957 MB / 1.713 GB, free: 117.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/4.529, allocations: 0.9746 MB / 1.714 GB, free: 116.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/4.531, allocations: 1.29 MB / 1.715 GB, free: 114.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/4.534, allocations: 2.513 MB / 1.717 GB, free: 112.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/4.534, allocations: 4 kB / 1.717 GB, free: 112.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.008035/4.542, allocations: 11.68 MB / 1.729 GB, free: 100.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/4.542, allocations: 4 kB / 1.729 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/4.542, allocations: 4 kB / 1.729 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/4.542, allocations: 12 kB / 1.729 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/4.544, allocations: 1.098 MB / 1.73 GB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-05/4.545, allocations: 16 kB / 1.73 GB, free: 99.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008845/4.545, allocations: 245.9 kB / 1.73 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/4.546, allocations: 327.3 kB / 1.73 GB, free: 98.96 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.0007288/4.546, allocations: 344.9 kB / 1.731 GB, free: 98.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/4.548, allocations: 0.5576 MB / 1.731 GB, free: 98.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009915/4.558, allocations: 9.821 MB / 1.741 GB, free: 87.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/4.558, allocations: 43.98 kB / 1.741 GB, free: 87.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/4.558, allocations: 10.28 kB / 1.741 GB, free: 87.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-05/4.558, allocations: 19.92 kB / 1.741 GB, free: 87.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/4.559, allocations: 1.276 MB / 1.742 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/4.559, allocations: 0 / 1.742 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/4.561, allocations: 1.059 MB / 1.743 GB, free: 85.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.9e-05/4.561, allocations: 12 kB / 1.743 GB, free: 85.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003246/4.562, allocations: 291.5 kB / 1.744 GB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-05/4.562, allocations: 16 kB / 1.744 GB, free: 85.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/4.562, allocations: 0 / 1.744 GB, free: 85.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00922/4.571, allocations: 9.617 MB / 1.753 GB, free: 74.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/4.572, allocations: 1.231 MB / 1.754 GB, free: 73.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/4.572, allocations: 75.98 kB / 1.754 GB, free: 73.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/4.573, allocations: 79.98 kB / 1.754 GB, free: 73.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004404/4.574, allocations: 398.4 kB / 1.755 GB, free: 72.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003661/4.574, allocations: 315.5 kB / 1.755 GB, free: 72.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000166/4.574, allocations: 215 kB / 1.755 GB, free: 72.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/4.574, allocations: 0 / 1.755 GB, free: 72.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002376/4.576, allocations: 0.6791 MB / 1.756 GB, free: 71.7 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.001614/4.578, allocations: 0.6999 MB / 1.757 GB, free: 71.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004546/4.583, allocations: 2.955 MB / 1.759 GB, free: 68.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/4.583, allocations: 0 / 1.759 GB, free: 68.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/4.585, allocations: 1.726 MB / 1.761 GB, free: 66.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007962/4.585, allocations: 380.7 kB / 1.761 GB, free: 66.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/4.589, allocations: 3.148 MB / 1.765 GB, free: 62.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/4.589, allocations: 425.3 kB / 1.765 GB, free: 62.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004102/4.593, allocations: 2.872 MB / 1.768 GB, free: 59.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/4.594, allocations: 0.6323 MB / 1.768 GB, free: 59.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/4.594, allocations: 0 / 1.768 GB, free: 59.07 MB / 410.7 MB Notification: Performance of Templates: time 0.1753/4.77, allocations: 44.47 MB / 1.812 GB, free: 156.8 MB / 410.7 MB " [Timeout remaining time 655] 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: 10.197859166190028]