Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.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.003055/0.003055, allocations: 93.06 kB / 19.65 MB, free: 280 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.001288/0.001288, allocations: 169 kB / 23.02 MB, free: 1.547 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.079/1.079, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.0211/0.0211, allocations: 3.155 MB / 263.1 MB, free: 10.06 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.MinimumAndZeroPhase,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 333.5 MB, free: 16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.542e-05, allocations: 2.312 kB / 333.5 MB, free: 16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002307/0.002332, allocations: 2.068 MB / 335.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004433/0.006765, allocations: 3.592 MB / 339.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.006937, allocations: 11.88 kB / 339.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.007128, allocations: 39.55 kB / 339.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.007209, allocations: 23.8 kB / 339.2 MB, free: 10.23 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.MinimumAndZeroPhase.spaceDomainNoiseMinimum.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.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.MinimumAndZeroPhase.spaceDomainNoiseMinimum.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.spaceDomainNoiseMinimum.convertRealToIntegers'. [/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.MinimumAndZeroPhase.spaceDomainNoiseZero.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.spaceDomainNoiseZero.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.MinimumAndZeroPhase.spaceDomainNoiseZero.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.spaceDomainNoiseZero.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.009038, allocations: 0.8874 MB / 340.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005989/0.01503, allocations: 13.6 MB / 353.7 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.01528, allocations: 56.58 kB / 353.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01324/0.02852, allocations: 4.779 MB / 358.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005552/0.03407, allocations: 4.181 MB / 362.7 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001844/0.03591, allocations: 0.5312 MB / 363.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 28.18/28.22, allocations: 8.83 GB / 9.185 GB, free: 50.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003382/28.22, allocations: 2.229 MB / 9.187 GB, free: 50.08 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004103/28.23, allocations: 1.999 MB / 9.189 GB, free: 49.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/28.24, allocations: 9.295 MB / 9.198 GB, free: 40.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/28.24, allocations: 0 / 9.198 GB, free: 40.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/28.24, allocations: 0 / 9.198 GB, free: 40.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001044/28.24, allocations: 0 / 9.198 GB, free: 40.95 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: 1025 * Number of variables: 1025 Notification: Performance of Generate backend data structure: time 0.007899/28.25, allocations: 3.966 MB / 9.202 GB, free: 36.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/28.25, allocations: 8.031 kB / 9.202 GB, free: 36.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003414/28.25, allocations: 1.35 MB / 9.203 GB, free: 35.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/28.25, allocations: 3.065 MB / 9.206 GB, free: 32.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/28.25, allocations: 303 kB / 9.206 GB, free: 32.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004976/28.25, allocations: 388.4 kB / 9.207 GB, free: 31.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1775/28.43, allocations: 6.255 MB / 9.213 GB, free: 174.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.072e-05/28.43, allocations: 0 / 9.213 GB, free: 174.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005858/28.43, allocations: 159.5 kB / 9.213 GB, free: 174.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/28.43, allocations: 97.62 kB / 9.213 GB, free: 174.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1421/28.57, allocations: 141 MB / 9.351 GB, free: 40.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1707/28.74, allocations: 11.37 MB / 9.362 GB, free: 171.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7556/29.5, allocations: 225.9 MB / 9.583 GB, free: 82.57 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004532/29.5, allocations: 2.547 MB / 9.585 GB, free: 80.36 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008895/29.5, allocations: 0.6099 MB / 9.586 GB, free: 79.82 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.165e-05/29.5, allocations: 138.3 kB / 9.586 GB, free: 79.73 MB / 426.8 MB Notification: Performance of pre-optimization done (n=1017): time 1.076e-05/29.5, allocations: 0 / 9.586 GB, free: 79.73 MB / 426.8 MB Notification: Performance of matching and sorting (n=1017): time 0.02109/29.53, allocations: 25.83 MB / 9.611 GB, free: 52.5 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/29.53, allocations: 159.4 kB / 9.611 GB, free: 52.33 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/29.53, allocations: 272.1 kB / 9.611 GB, free: 52.05 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004608/29.53, allocations: 185.7 kB / 9.612 GB, free: 51.87 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/29.53, allocations: 197.9 kB / 9.612 GB, free: 51.67 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/29.53, allocations: 3.542 MB / 9.615 GB, free: 48.59 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001779/29.53, allocations: 2.316 MB / 9.618 GB, free: 46.25 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/29.53, allocations: 0.4918 MB / 9.618 GB, free: 45.76 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/29.53, allocations: 2.357 MB / 9.62 GB, free: 43.39 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003662/29.54, allocations: 3.05 MB / 9.623 GB, free: 40.31 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008023/29.54, allocations: 6.017 MB / 9.629 GB, free: 34.27 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/29.54, allocations: 0 / 9.629 GB, free: 34.27 MB / 426.8 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.1659/29.71, allocations: 22.11 MB / 9.651 GB, free: 160.2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/29.71, allocations: 4 kB / 9.651 GB, free: 160.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/29.71, allocations: 5.547 kB / 9.651 GB, free: 160.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.24e-05/29.71, allocations: 32 kB / 9.651 GB, free: 160.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/29.72, allocations: 2.599 MB / 9.653 GB, free: 158.5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-05/29.72, allocations: 38.56 kB / 9.653 GB, free: 158.5 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/29.72, allocations: 0.533 MB / 9.654 GB, free: 158.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007035/29.72, allocations: 0.7613 MB / 9.655 GB, free: 157.7 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 (globalSeed.seed,spaceDomainNoiseZero.actualGlobalSeed,spaceDomainNoiseMinimum.actualGlobalSeed,globalSeed.id_impure,spaceDomainNoiseZero.localSeed,spaceDomainNoiseMinimum.localSeed,position.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1024): * Single equations (assignments): 1024 * Array equations: 0 * 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.001504/29.72, allocations: 0.5618 MB / 9.655 GB, free: 157.4 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002859/29.72, allocations: 1.34 MB / 9.657 GB, free: 156.2 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02223/29.74, allocations: 27.26 MB / 9.683 GB, free: 127.1 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/29.74, allocations: 96 kB / 9.683 GB, free: 127 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/29.74, allocations: 0.9844 kB / 9.683 GB, free: 127 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-05/29.74, allocations: 51.75 kB / 9.683 GB, free: 127 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/29.75, allocations: 2.845 MB / 9.686 GB, free: 124.4 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/29.75, allocations: 0 / 9.686 GB, free: 124.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004753/29.75, allocations: 2.581 MB / 9.689 GB, free: 121.9 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.744e-05/29.75, allocations: 32 kB / 9.689 GB, free: 121.8 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005741/29.75, allocations: 0.7057 MB / 9.689 GB, free: 121.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.251e-05/29.75, allocations: 32 kB / 9.689 GB, free: 121.1 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/29.75, allocations: 0 / 9.689 GB, free: 121.1 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02191/29.77, allocations: 26.79 MB / 9.716 GB, free: 91.92 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/29.78, allocations: 3.004 MB / 9.718 GB, free: 88.97 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/29.78, allocations: 166.9 kB / 9.719 GB, free: 88.81 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/29.78, allocations: 160 kB / 9.719 GB, free: 88.65 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000899/29.78, allocations: 0.9511 MB / 9.72 GB, free: 87.7 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007385/29.78, allocations: 0.7604 MB / 9.72 GB, free: 86.94 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001051/29.78, allocations: 193.1 kB / 9.721 GB, free: 86.75 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/29.78, allocations: 0 / 9.721 GB, free: 86.75 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004548/29.79, allocations: 1.433 MB / 9.722 GB, free: 85.32 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (position.y) * Number of discrete variables: 2 (spaceDomainNoiseMinimum.localSeed,spaceDomainNoiseZero.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1017): * Single equations (assignments): 1015 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002265/29.79, allocations: 1.088 MB / 9.723 GB, free: 84.29 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00939/29.8, allocations: 7.158 MB / 9.73 GB, free: 77.13 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/29.8, allocations: 0 / 9.73 GB, free: 77.13 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004485/29.8, allocations: 4.218 MB / 9.734 GB, free: 72.92 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/29.8, allocations: 0.8727 MB / 9.735 GB, free: 72.04 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006284/29.81, allocations: 7.231 MB / 9.742 GB, free: 64.75 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/29.81, allocations: 0.8893 MB / 9.743 GB, free: 63.84 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.00976/29.82, allocations: 7.047 MB / 9.75 GB, free: 56.98 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002526/29.82, allocations: 1.533 MB / 9.751 GB, free: 55.44 MB / 426.8 MB Notification: Performance of SimCode: time 1.803e-06/29.82, allocations: 0 / 9.751 GB, free: 55.44 MB / 426.8 MB Notification: Performance of Templates: time 0.213/30.03, allocations: 99.71 MB / 9.849 GB, free: 101.1 MB / 426.8 MB " [Timeout remaining time 630] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.sim & ./AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase -abortSlowSimulation -alarm=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 36.93080020695925]