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.001856/0.001856, allocations: 85.48 kB / 19.44 MB, free: 344 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.002103/0.002103, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.612/1.612, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.03286/0.03286, allocations: 3.154 MB / 262.7 MB, free: 10.09 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 2.074e-06/2.074e-06, allocations: 0 / 332.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.582e-05, allocations: 6.312 kB / 332.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002704/0.00273, allocations: 2.037 MB / 334.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005294/0.008024, allocations: 3.851 MB / 338.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.008187, allocations: 11.88 kB / 338.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.008363, allocations: 35.61 kB / 338.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.254e-05/0.008446, allocations: 27.67 kB / 338.7 MB, free: 10.34 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.001967/0.01041, allocations: 0.8523 MB / 339.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009094/0.01951, allocations: 13.6 MB / 353.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.01974, allocations: 60.56 kB / 353.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01224/0.03198, allocations: 4.69 MB / 357.9 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008313/0.04029, allocations: 4.27 MB / 362.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002103/0.04239, allocations: 0.5938 MB / 362.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 70.38/70.42, allocations: 8.828 GB / 9.182 GB, free: 49.85 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002619/70.42, allocations: 2.311 MB / 9.185 GB, free: 49.13 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004251/70.42, allocations: 2.078 MB / 9.187 GB, free: 48.39 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01555/70.44, allocations: 10.75 MB / 9.197 GB, free: 38.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/70.44, allocations: 0 / 9.197 GB, free: 38.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/70.44, allocations: 0 / 9.197 GB, free: 38.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001163/70.44, allocations: 8 kB / 9.197 GB, free: 38.45 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.01586/70.46, allocations: 4.086 MB / 9.201 GB, free: 34.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/70.46, allocations: 8.031 kB / 9.201 GB, free: 34.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005143/70.46, allocations: 1.35 MB / 9.202 GB, free: 32.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/70.47, allocations: 3.355 MB / 9.206 GB, free: 29.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003896/70.47, allocations: 296.4 kB / 9.206 GB, free: 29.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002209/70.47, allocations: 384.4 kB / 9.206 GB, free: 28.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1978/70.67, allocations: 6.973 MB / 9.213 GB, free: 177.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/70.67, allocations: 1.719 kB / 9.213 GB, free: 177.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001679/70.67, allocations: 161.5 kB / 9.213 GB, free: 177.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/70.67, allocations: 96.25 kB / 9.213 GB, free: 177.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4217/71.1, allocations: 154.6 MB / 9.364 GB, free: 168.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02073/71.12, allocations: 12.19 MB / 9.376 GB, free: 156.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 1.128/72.25, allocations: 142.4 MB / 9.515 GB, free: 152.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01268/72.26, allocations: 3.124 MB / 9.518 GB, free: 149.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003194/72.26, allocations: 0.6104 MB / 9.519 GB, free: 149.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/72.26, allocations: 145.4 kB / 9.519 GB, free: 149.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1017): time 2.869e-05/72.26, allocations: 0 / 9.519 GB, free: 149.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=1017): time 0.08119/72.34, allocations: 27.61 MB / 9.546 GB, free: 119.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/72.34, allocations: 155.4 kB / 9.546 GB, free: 119.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/72.34, allocations: 304.3 kB / 9.547 GB, free: 118.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001955/72.34, allocations: 185.7 kB / 9.547 GB, free: 118.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/72.34, allocations: 198.6 kB / 9.547 GB, free: 118.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004366/72.35, allocations: 3.661 MB / 9.551 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003/72.35, allocations: 2.448 MB / 9.553 GB, free: 112.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.691e-05/72.35, allocations: 0.4963 MB / 9.553 GB, free: 112.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005596/72.36, allocations: 2.943 MB / 9.556 GB, free: 109.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007427/72.37, allocations: 3.749 MB / 9.56 GB, free: 105.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01769/72.38, allocations: 7.449 MB / 9.567 GB, free: 97.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.088e-05/72.38, allocations: 3.312 kB / 9.567 GB, free: 97.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.03894/72.42, allocations: 23.27 MB / 9.59 GB, free: 74.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/72.42, allocations: 8 kB / 9.59 GB, free: 74.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/72.42, allocations: 0 / 9.59 GB, free: 74.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.265e-05/72.42, allocations: 36.09 kB / 9.59 GB, free: 74.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01087/72.43, allocations: 2.6 MB / 9.593 GB, free: 72.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000135/72.43, allocations: 32 kB / 9.593 GB, free: 72.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/72.44, allocations: 0.5387 MB / 9.593 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002574/72.44, allocations: 0.7565 MB / 9.594 GB, free: 70.81 MB / 426.7 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.003035/72.44, allocations: 0.579 MB / 9.594 GB, free: 70.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005691/72.45, allocations: 1.334 MB / 9.596 GB, free: 68.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04995/72.5, allocations: 28.45 MB / 9.623 GB, free: 38.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.203e-05/72.5, allocations: 96 kB / 9.624 GB, free: 38.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/72.5, allocations: 4 kB / 9.624 GB, free: 38.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000178/72.5, allocations: 51.8 kB / 9.624 GB, free: 38.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1411/72.64, allocations: 2.92 MB / 9.626 GB, free: 175.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/72.64, allocations: 0 / 9.626 GB, free: 175.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01179/72.65, allocations: 2.589 MB / 9.629 GB, free: 175.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/72.65, allocations: 31.62 kB / 9.629 GB, free: 175.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002338/72.66, allocations: 0.6974 MB / 9.63 GB, free: 175.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001033/72.66, allocations: 32.53 kB / 9.63 GB, free: 175.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/72.66, allocations: 0 / 9.63 GB, free: 175.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05087/72.71, allocations: 29.3 MB / 9.658 GB, free: 147.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005963/72.71, allocations: 3.004 MB / 9.661 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002252/72.71, allocations: 160 kB / 9.661 GB, free: 144.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005026/72.72, allocations: 160 kB / 9.662 GB, free: 144.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002284/72.72, allocations: 0.955 MB / 9.663 GB, free: 143.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001765/72.72, allocations: 0.7628 MB / 9.663 GB, free: 142.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001506/72.72, allocations: 201.1 kB / 9.663 GB, free: 142.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/72.72, allocations: 4.031 kB / 9.663 GB, free: 142.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00636/72.73, allocations: 1.427 MB / 9.665 GB, free: 141 MB / 426.7 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.003489/72.73, allocations: 1.074 MB / 9.666 GB, free: 140.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0159/72.75, allocations: 8.427 MB / 9.674 GB, free: 131.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/72.75, allocations: 0 / 9.674 GB, free: 131.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009612/72.76, allocations: 4.929 MB / 9.679 GB, free: 126.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/72.76, allocations: 0.8625 MB / 9.68 GB, free: 125.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/72.77, allocations: 7.955 MB / 9.688 GB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/72.77, allocations: 1.475 MB / 9.689 GB, free: 116.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0206/72.79, allocations: 7.041 MB / 9.696 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00487/72.8, allocations: 1.531 MB / 9.697 GB, free: 108.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.094e-06/72.8, allocations: 0 / 9.697 GB, free: 108.1 MB / 426.7 MB Notification: Performance of Templates: time 0.2398/73.04, allocations: 89.08 MB / 9.784 GB, free: 159.9 MB / 426.7 MB " [Timeout remaining time 587] 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: 82.01666517497506]