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.001228/0.001228, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001461/0.001461, allocations: 169 kB / 23.27 MB, free: 1.223 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.141/1.141, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.02133/0.02133, allocations: 3.16 MB / 263.4 MB, free: 9.922 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.164e-06/2.164e-06, allocations: 0 / 333.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.378e-05, allocations: 6.312 kB / 333.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002688/0.002711, allocations: 2.042 MB / 336 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00504/0.007751, allocations: 3.53 MB / 339.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.007949, allocations: 7.875 kB / 339.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.008139, allocations: 43.59 kB / 339.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.008218, allocations: 27.73 kB / 339.6 MB, free: 11.09 MB / 314.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.00197/0.01019, allocations: 0.9027 MB / 340.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008287/0.01847, allocations: 13.85 MB / 354.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.01867, allocations: 56.58 kB / 354.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.02868, allocations: 4.861 MB / 359.3 MB, free: 7.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/0.03231, allocations: 4.263 MB / 363.5 MB, free: 3.129 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006434/0.03295, allocations: 0.5312 MB / 364.1 MB, free: 2.598 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 41.91/41.94, allocations: 8.831 GB / 9.187 GB, free: 34.07 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003194/41.94, allocations: 2.228 MB / 9.189 GB, free: 33.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003936/41.95, allocations: 2 MB / 9.191 GB, free: 32.76 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/41.96, allocations: 9.297 MB / 9.2 GB, free: 29.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/41.96, allocations: 0 / 9.2 GB, free: 29.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.453e-06/41.96, allocations: 0 / 9.2 GB, free: 29.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002346/41.96, allocations: 0 / 9.2 GB, free: 29.88 MB / 458.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.01498/41.97, allocations: 3.998 MB / 9.204 GB, free: 27.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/41.97, allocations: 15.84 kB / 9.204 GB, free: 27.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005302/41.98, allocations: 1.344 MB / 9.205 GB, free: 27.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006182/41.99, allocations: 2.966 MB / 9.208 GB, free: 26.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/41.99, allocations: 300 kB / 9.208 GB, free: 25.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/41.99, allocations: 392.1 kB / 9.209 GB, free: 25.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/42, allocations: 5.908 MB / 9.214 GB, free: 23.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/42, allocations: 0 / 9.214 GB, free: 23.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009121/42, allocations: 171.1 kB / 9.215 GB, free: 23.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/42, allocations: 97.44 kB / 9.215 GB, free: 23.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3307/42.34, allocations: 144.5 MB / 9.356 GB, free: 88.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/42.35, allocations: 11.18 MB / 9.367 GB, free: 78.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 1.039/43.39, allocations: 225.3 MB / 9.587 GB, free: 131.7 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005085/43.4, allocations: 2.171 MB / 9.589 GB, free: 129.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002259/43.4, allocations: 1.707 MB / 9.591 GB, free: 129 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.872e-05/43.4, allocations: 137 kB / 9.591 GB, free: 128.9 MB / 458.8 MB Notification: Performance of pre-optimization done (n=1017): time 1.627e-05/43.4, allocations: 0 / 9.591 GB, free: 128.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=1017): time 0.0295/43.43, allocations: 24.71 MB / 9.615 GB, free: 102.7 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/43.43, allocations: 159.2 kB / 9.615 GB, free: 102.5 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/43.43, allocations: 265.8 kB / 9.615 GB, free: 102.2 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001313/43.43, allocations: 187.6 kB / 9.615 GB, free: 102.2 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/43.43, allocations: 184 kB / 9.616 GB, free: 102 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002988/43.43, allocations: 3.572 MB / 9.619 GB, free: 98.94 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003475/43.44, allocations: 2.357 MB / 9.621 GB, free: 96.73 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 5.963e-05/43.44, allocations: 0.4904 MB / 9.622 GB, free: 96.23 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/43.44, allocations: 1.92 MB / 9.624 GB, free: 94.3 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004267/43.44, allocations: 2.644 MB / 9.626 GB, free: 91.79 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/43.46, allocations: 5.187 MB / 9.631 GB, free: 86.71 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-05/43.46, allocations: 0 / 9.631 GB, free: 86.71 MB / 458.8 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02894/43.48, allocations: 21.23 MB / 9.652 GB, free: 65.47 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/43.48, allocations: 4.562 kB / 9.652 GB, free: 65.47 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/43.48, allocations: 7.062 kB / 9.652 GB, free: 65.46 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/43.48, allocations: 32 kB / 9.652 GB, free: 65.43 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1614/43.65, allocations: 2.6 MB / 9.655 GB, free: 190 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000136/43.65, allocations: 37.38 kB / 9.655 GB, free: 190 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004727/43.65, allocations: 0.5335 MB / 9.655 GB, free: 189.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0022/43.65, allocations: 0.7007 MB / 9.656 GB, free: 189.9 MB / 458.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 (position.local_reset,globalSeed.seed,globalSeed.id_impure,spaceDomainNoiseMinimum.actualGlobalSeed,spaceDomainNoiseZero.actualGlobalSeed,spaceDomainNoiseZero.localSeed,spaceDomainNoiseMinimum.localSeed) * 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.002869/43.66, allocations: 0.5593 MB / 9.656 GB, free: 189.6 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00347/43.66, allocations: 1.332 MB / 9.658 GB, free: 189.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0326/43.69, allocations: 26.53 MB / 9.684 GB, free: 176.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.244e-05/43.69, allocations: 96 kB / 9.684 GB, free: 176.1 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/43.69, allocations: 0 / 9.684 GB, free: 176.1 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000165/43.69, allocations: 56.28 kB / 9.684 GB, free: 176.1 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00628/43.7, allocations: 2.786 MB / 9.687 GB, free: 173.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/43.7, allocations: 0 / 9.687 GB, free: 173.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007079/43.71, allocations: 2.584 MB / 9.689 GB, free: 172 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/43.71, allocations: 39.36 kB / 9.689 GB, free: 172 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002356/43.71, allocations: 0.6921 MB / 9.69 GB, free: 171.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.343e-05/43.71, allocations: 36 kB / 9.69 GB, free: 171.6 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/43.71, allocations: 0 / 9.69 GB, free: 171.6 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03482/43.74, allocations: 25.62 MB / 9.715 GB, free: 145.8 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003922/43.75, allocations: 2.913 MB / 9.718 GB, free: 142.9 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/43.75, allocations: 165.7 kB / 9.718 GB, free: 142.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/43.75, allocations: 164 kB / 9.718 GB, free: 142.6 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/43.75, allocations: 0.9978 MB / 9.719 GB, free: 141.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001327/43.75, allocations: 0.6979 MB / 9.72 GB, free: 140.9 MB / 458.8 MB Notification: Performance of sorting global known variables: time 8.296e-05/43.75, allocations: 184.8 kB / 9.72 GB, free: 140.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 6e-08/43.75, allocations: 0.6562 kB / 9.72 GB, free: 140.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00545/43.76, allocations: 1.421 MB / 9.721 GB, free: 139.3 MB / 458.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.002857/43.76, allocations: 1.094 MB / 9.722 GB, free: 138.2 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01318/43.77, allocations: 6.366 MB / 9.729 GB, free: 131.9 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/43.77, allocations: 0 / 9.729 GB, free: 131.9 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007473/43.78, allocations: 3.866 MB / 9.732 GB, free: 128.2 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/43.78, allocations: 0.8744 MB / 9.733 GB, free: 127.3 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008588/43.79, allocations: 6.89 MB / 9.74 GB, free: 120.5 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/43.79, allocations: 0.8893 MB / 9.741 GB, free: 119.6 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01358/43.81, allocations: 4.484 MB / 9.745 GB, free: 115.3 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005117/43.81, allocations: 1.902 MB / 9.747 GB, free: 113.4 MB / 458.8 MB Notification: Performance of SimCode: time 2.435e-06/43.81, allocations: 0 / 9.747 GB, free: 113.4 MB / 458.8 MB Notification: Performance of Templates: time 0.241/44.05, allocations: 101.3 MB / 9.846 GB, free: 157.2 MB / 458.8 MB " [Timeout remaining time 616] 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: 50.30770901078358]