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.001955/0.001955, allocations: 88.72 kB / 19.44 MB, free: 356 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.002916/0.002916, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.646/1.646, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.02817/0.02817, allocations: 3.157 MB / 262.7 MB, free: 10.11 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.944e-06/1.944e-06, allocations: 0 / 332.8 MB, free: 16.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.534e-05, allocations: 2.312 kB / 332.8 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002457/0.002483, allocations: 2 MB / 334.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005168/0.007651, allocations: 3.765 MB / 338.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.007839, allocations: 7.875 kB / 338.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.008016, allocations: 43.53 kB / 338.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.23e-05/0.008099, allocations: 23.8 kB / 338.6 MB, free: 10.47 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.001997/0.0101, allocations: 0.8508 MB / 339.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008468/0.01856, allocations: 13.59 MB / 353.1 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.01879, allocations: 56.58 kB / 353.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/0.03123, allocations: 4.701 MB / 357.8 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007512/0.03874, allocations: 4.27 MB / 362.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001878/0.04062, allocations: 0.5976 MB / 362.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 53.91/53.95, allocations: 8.828 GB / 9.182 GB, free: 52.36 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002128/53.95, allocations: 2.314 MB / 9.184 GB, free: 51.63 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00426/53.95, allocations: 2.082 MB / 9.186 GB, free: 50.92 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01448/53.97, allocations: 10.75 MB / 9.197 GB, free: 40.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/53.97, allocations: 0 / 9.197 GB, free: 40.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/53.97, allocations: 0 / 9.197 GB, free: 40.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001528/53.97, allocations: 3.938 kB / 9.197 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.01588/53.98, allocations: 3.811 MB / 9.201 GB, free: 37.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/53.98, allocations: 8.031 kB / 9.201 GB, free: 37.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006243/53.99, allocations: 1.362 MB / 9.202 GB, free: 35.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/54, allocations: 3.399 MB / 9.205 GB, free: 32.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/54, allocations: 300.4 kB / 9.206 GB, free: 31.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002344/54, allocations: 384.4 kB / 9.206 GB, free: 31.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1428/54.15, allocations: 8.687 MB / 9.215 GB, free: 176.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.166e-05/54.15, allocations: 0 / 9.215 GB, free: 176.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007827/54.15, allocations: 160.3 kB / 9.215 GB, free: 176.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.627e-05/54.15, allocations: 96.31 kB / 9.215 GB, free: 176.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4751/54.62, allocations: 157.7 MB / 9.369 GB, free: 165.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03484/54.66, allocations: 14.43 MB / 9.383 GB, free: 151.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 1.018/55.68, allocations: 146 MB / 9.525 GB, free: 144.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009447/55.68, allocations: 4.913 MB / 9.53 GB, free: 139.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002287/55.69, allocations: 0.6088 MB / 9.531 GB, free: 138.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/55.69, allocations: 134.5 kB / 9.531 GB, free: 138.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1017): time 1.725e-05/55.69, allocations: 5.484 kB / 9.531 GB, free: 138.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=1017): time 0.05081/55.74, allocations: 33.24 MB / 9.563 GB, free: 103.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.509e-05/55.74, allocations: 155.4 kB / 9.564 GB, free: 103 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/55.74, allocations: 226.5 kB / 9.564 GB, free: 102.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002153/55.74, allocations: 181.7 kB / 9.564 GB, free: 102.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/55.74, allocations: 147.3 kB / 9.564 GB, free: 102.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003636/55.74, allocations: 3.452 MB / 9.567 GB, free: 99.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007285/55.75, allocations: 2.259 MB / 9.57 GB, free: 97.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.255e-05/55.75, allocations: 321.7 kB / 9.57 GB, free: 96.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009697/55.76, allocations: 4.876 MB / 9.575 GB, free: 91.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/55.77, allocations: 5.44 MB / 9.58 GB, free: 86.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0215/55.79, allocations: 11.38 MB / 9.591 GB, free: 75.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-05/55.79, allocations: 0 / 9.591 GB, free: 75.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.04262/55.84, allocations: 27 MB / 9.617 GB, free: 48.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/55.84, allocations: 4 kB / 9.617 GB, free: 48.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/55.84, allocations: 4 kB / 9.618 GB, free: 48.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.976e-05/55.84, allocations: 33.22 kB / 9.618 GB, free: 48.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01128/55.85, allocations: 2.601 MB / 9.62 GB, free: 45.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000182/55.85, allocations: 32 kB / 9.62 GB, free: 45.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/55.85, allocations: 0.5347 MB / 9.621 GB, free: 44.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002779/55.86, allocations: 0.7643 MB / 9.621 GB, free: 44.21 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.005186/55.86, allocations: 1.066 MB / 9.622 GB, free: 43.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007006/55.87, allocations: 1.349 MB / 9.624 GB, free: 41.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1989/56.07, allocations: 32.25 MB / 9.655 GB, free: 153.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-05/56.07, allocations: 96 kB / 9.655 GB, free: 153 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.753e-05/56.07, allocations: 3.891 kB / 9.655 GB, free: 153 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001863/56.07, allocations: 50.48 kB / 9.655 GB, free: 153 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007514/56.07, allocations: 4.197 MB / 9.659 GB, free: 149.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/56.07, allocations: 0 / 9.659 GB, free: 149.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01151/56.09, allocations: 2.585 MB / 9.662 GB, free: 146.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/56.09, allocations: 32 kB / 9.662 GB, free: 146.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002751/56.09, allocations: 0.694 MB / 9.663 GB, free: 146.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-05/56.09, allocations: 36 kB / 9.663 GB, free: 146 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/56.09, allocations: 7.844 kB / 9.663 GB, free: 146 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05284/56.14, allocations: 36.38 MB / 9.698 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004815/56.15, allocations: 3.046 MB / 9.701 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/56.15, allocations: 160 kB / 9.701 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003498/56.15, allocations: 160 kB / 9.702 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0014/56.15, allocations: 0.953 MB / 9.702 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001107/56.15, allocations: 0.7677 MB / 9.703 GB, free: 102.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001353/56.15, allocations: 153.2 kB / 9.703 GB, free: 102.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/56.15, allocations: 0 / 9.703 GB, free: 102.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005821/56.16, allocations: 1.428 MB / 9.705 GB, free: 100.8 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.00341/56.16, allocations: 1.074 MB / 9.706 GB, free: 99.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01975/56.18, allocations: 11.68 MB / 9.717 GB, free: 88.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/56.18, allocations: 0 / 9.717 GB, free: 88.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01209/56.2, allocations: 6.199 MB / 9.723 GB, free: 81.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003995/56.2, allocations: 0.8786 MB / 9.724 GB, free: 81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/56.21, allocations: 10.42 MB / 9.734 GB, free: 70.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/56.22, allocations: 1.596 MB / 9.736 GB, free: 68.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.02155/56.24, allocations: 7.369 MB / 9.743 GB, free: 61.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006063/56.24, allocations: 1.525 MB / 9.745 GB, free: 60.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.873e-06/56.24, allocations: 0 / 9.745 GB, free: 60.19 MB / 426.7 MB Notification: Performance of Templates: time 0.2357/56.48, allocations: 89.04 MB / 9.832 GB, free: 112.9 MB / 426.7 MB " [Timeout remaining time 604] 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 65.95255477295723]