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.0009972/0.0009972, 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.001025/0.001025, allocations: 165 kB / 23.02 MB, free: 1.551 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.01/1.01, 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.01583/0.01583, allocations: 3.155 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.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.282e-06/1.282e-06, allocations: 0 / 333.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.549e-05, allocations: 2.312 kB / 333.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002115/0.00213, allocations: 2.064 MB / 335.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004016/0.006146, allocations: 3.596 MB / 339.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.006315, allocations: 11.88 kB / 339.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.006493, allocations: 35.61 kB / 339.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.006576, allocations: 23.8 kB / 339.2 MB, free: 10.22 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.001933/0.008509, allocations: 0.8913 MB / 340.1 MB, free: 9.324 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006197/0.01471, allocations: 13.6 MB / 353.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.0149, allocations: 56.58 kB / 353.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008405/0.02331, allocations: 4.69 MB / 358.5 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004302/0.02761, allocations: 4.274 MB / 362.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.02884, allocations: 0.5938 MB / 363.3 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 27.99/28.02, allocations: 8.83 GB / 9.185 GB, free: 53.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002574/28.02, allocations: 2.314 MB / 9.187 GB, free: 52.91 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003564/28.03, allocations: 2.079 MB / 9.189 GB, free: 52.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.011/28.04, allocations: 9.525 MB / 9.198 GB, free: 43.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/28.04, allocations: 0 / 9.198 GB, free: 43.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/28.04, allocations: 0 / 9.198 GB, free: 43.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001103/28.04, allocations: 0 / 9.198 GB, free: 43.71 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.008824/28.05, allocations: 3.958 MB / 9.202 GB, free: 39.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/28.05, allocations: 15.91 kB / 9.202 GB, free: 39.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/28.05, allocations: 1.35 MB / 9.204 GB, free: 38.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/28.05, allocations: 3.362 MB / 9.207 GB, free: 34.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/28.05, allocations: 300.4 kB / 9.207 GB, free: 34.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000779/28.06, allocations: 384.4 kB / 9.208 GB, free: 34.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0078/28.06, allocations: 6.256 MB / 9.214 GB, free: 27.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.71e-05/28.06, allocations: 0 / 9.214 GB, free: 27.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004376/28.06, allocations: 163.9 kB / 9.214 GB, free: 27.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-05/28.06, allocations: 96 kB / 9.214 GB, free: 27.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2898/28.35, allocations: 141 MB / 9.352 GB, free: 43.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1657/28.52, allocations: 11.37 MB / 9.363 GB, free: 171.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7333/29.25, allocations: 225.9 MB / 9.583 GB, free: 84.39 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00474/29.26, allocations: 2.549 MB / 9.586 GB, free: 82.18 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/29.26, allocations: 0.6155 MB / 9.587 GB, free: 81.63 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.941e-05/29.26, allocations: 138.4 kB / 9.587 GB, free: 81.55 MB / 426.8 MB Notification: Performance of pre-optimization done (n=1017): time 1.161e-05/29.26, allocations: 0 / 9.587 GB, free: 81.55 MB / 426.8 MB Notification: Performance of matching and sorting (n=1017): time 0.02595/29.28, allocations: 25.84 MB / 9.612 GB, free: 54.39 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/29.28, allocations: 158.6 kB / 9.612 GB, free: 54.23 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/29.28, allocations: 275.9 kB / 9.612 GB, free: 53.95 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005412/29.28, allocations: 181.7 kB / 9.612 GB, free: 53.77 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/29.29, allocations: 186.8 kB / 9.613 GB, free: 53.57 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001648/29.29, allocations: 3.542 MB / 9.616 GB, free: 50.49 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002617/29.29, allocations: 2.316 MB / 9.618 GB, free: 48.16 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/29.29, allocations: 0.4964 MB / 9.619 GB, free: 47.66 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003738/29.29, allocations: 2.357 MB / 9.621 GB, free: 45.29 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005926/29.3, allocations: 3.046 MB / 9.624 GB, free: 42.21 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/29.31, allocations: 6.023 MB / 9.63 GB, free: 36.18 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.749e-05/29.31, allocations: 0 / 9.63 GB, free: 36.18 MB / 426.8 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.1803/29.49, allocations: 22.1 MB / 9.652 GB, free: 162.1 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/29.49, allocations: 8 kB / 9.652 GB, free: 162.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/29.49, allocations: 3.891 kB / 9.652 GB, free: 162.1 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.604e-05/29.49, allocations: 32 kB / 9.652 GB, free: 162 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0087/29.5, allocations: 2.601 MB / 9.654 GB, free: 160.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001494/29.5, allocations: 32 kB / 9.654 GB, free: 160.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003704/29.5, allocations: 0.5348 MB / 9.655 GB, free: 160 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001863/29.51, allocations: 0.7616 MB / 9.655 GB, free: 159.6 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.002756/29.51, allocations: 0.5652 MB / 9.656 GB, free: 159.3 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004745/29.51, allocations: 1.34 MB / 9.657 GB, free: 158.1 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03577/29.55, allocations: 27.26 MB / 9.684 GB, free: 129.1 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/29.55, allocations: 97.12 kB / 9.684 GB, free: 129 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/29.55, allocations: 0 / 9.684 GB, free: 129 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001395/29.55, allocations: 51.81 kB / 9.684 GB, free: 129 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/29.55, allocations: 2.846 MB / 9.687 GB, free: 126.5 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/29.55, allocations: 0 / 9.687 GB, free: 126.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006588/29.56, allocations: 2.589 MB / 9.689 GB, free: 123.9 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/29.56, allocations: 32 kB / 9.689 GB, free: 123.8 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001968/29.56, allocations: 0.698 MB / 9.69 GB, free: 123.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-05/29.56, allocations: 32 kB / 9.69 GB, free: 123.1 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/29.56, allocations: 0 / 9.69 GB, free: 123.1 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03223/29.6, allocations: 26.79 MB / 9.716 GB, free: 93.93 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003228/29.6, allocations: 3.002 MB / 9.719 GB, free: 90.98 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007732/29.6, allocations: 162.9 kB / 9.719 GB, free: 90.83 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/29.6, allocations: 164 kB / 9.72 GB, free: 90.67 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/29.6, allocations: 0.9511 MB / 9.72 GB, free: 89.71 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001238/29.6, allocations: 0.7605 MB / 9.721 GB, free: 88.95 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001125/29.6, allocations: 195.4 kB / 9.721 GB, free: 88.77 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/29.6, allocations: 0 / 9.721 GB, free: 88.77 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005175/29.61, allocations: 1.429 MB / 9.723 GB, free: 87.34 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.002995/29.61, allocations: 1.093 MB / 9.724 GB, free: 86.3 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01424/29.63, allocations: 7.158 MB / 9.731 GB, free: 79.14 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/29.63, allocations: 0 / 9.731 GB, free: 79.14 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00887/29.64, allocations: 4.218 MB / 9.735 GB, free: 74.93 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/29.64, allocations: 0.8725 MB / 9.736 GB, free: 74.06 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/29.65, allocations: 7.234 MB / 9.743 GB, free: 66.77 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/29.65, allocations: 0.8932 MB / 9.744 GB, free: 65.84 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0437/29.69, allocations: 7.046 MB / 9.751 GB, free: 58.98 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01052/29.71, allocations: 1.529 MB / 9.752 GB, free: 57.45 MB / 426.8 MB Notification: Performance of SimCode: time 1.583e-06/29.71, allocations: 0 / 9.752 GB, free: 57.45 MB / 426.8 MB Notification: Performance of Templates: time 0.1952/29.9, allocations: 89.29 MB / 9.839 GB, free: 113.6 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.03777984017506]