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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02596/0.02596, allocations: 3.932 MB / 308.4 MB, free: 3.043 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001947/0.001947, allocations: 67.89 kB / 429.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3336, allocations: 52.91 MB / 482.3 MB, free: 27.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.003162/0.3368, allocations: 2.104 MB / 484.4 MB, free: 25.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007617/0.3444, allocations: 3.982 MB / 488.4 MB, free: 23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.3448, allocations: 7.031 kB / 488.4 MB, free: 22.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.3451, allocations: 37.95 kB / 488.5 MB, free: 22.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.3452, allocations: 27.09 kB / 488.5 MB, free: 22.94 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 1.1.0-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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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 1.1.0-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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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.00301/0.3482, allocations: 0.8004 MB / 489.3 MB, free: 22.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01329/0.3615, allocations: 13.64 MB / 0.4911 GB, free: 16.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.3618, allocations: 57.31 kB / 0.4912 GB, free: 16.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008758/0.3706, allocations: 3.361 MB / 0.4945 GB, free: 15.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01041/0.381, allocations: 4.49 MB / 0.4989 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004186/0.3852, allocations: 0.5966 MB / 0.4994 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 57.29/57.68, allocations: 8.786 GB / 9.286 GB, free: 212.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003455/57.68, allocations: 2.295 MB / 9.288 GB, free: 212.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008976/57.69, allocations: 2.537 MB / 9.29 GB, free: 212.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01768/57.71, allocations: 8.656 MB / 9.299 GB, free: 210.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/57.71, allocations: 0 / 9.299 GB, free: 210.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.425e-06/57.71, allocations: 0 / 9.299 GB, free: 210.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000242/57.71, allocations: 0 / 9.299 GB, free: 210.3 MB / 0.5606 GB 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.02666/57.74, allocations: 3.919 MB / 9.303 GB, free: 207.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/57.74, allocations: 12.48 kB / 9.303 GB, free: 207.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007659/57.74, allocations: 0.8084 MB / 9.304 GB, free: 207.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/57.76, allocations: 3.453 MB / 9.307 GB, free: 204.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004559/57.76, allocations: 301.5 kB / 9.307 GB, free: 204.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003946/57.76, allocations: 390.8 kB / 9.308 GB, free: 204.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02635/57.79, allocations: 8.681 MB / 9.316 GB, free: 199.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/57.79, allocations: 0 / 9.316 GB, free: 199.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003457/57.79, allocations: 161.6 kB / 9.316 GB, free: 199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/57.79, allocations: 95.66 kB / 9.316 GB, free: 199 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5526/58.34, allocations: 198.1 MB / 9.51 GB, free: 199.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03034/58.37, allocations: 15.94 MB / 9.525 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 1.14/59.51, allocations: 152.1 MB / 9.674 GB, free: 217.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01246/59.53, allocations: 4.915 MB / 9.679 GB, free: 215.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002535/59.53, allocations: 0.9936 MB / 9.68 GB, free: 215.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/59.53, allocations: 141.7 kB / 9.68 GB, free: 215.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1017): time 1.58e-05/59.53, allocations: 0 / 9.68 GB, free: 215.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1017): time 0.06194/59.59, allocations: 34.38 MB / 9.713 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/59.59, allocations: 160.5 kB / 9.713 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/59.59, allocations: 226.7 kB / 9.714 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.003175/59.59, allocations: 181.7 kB / 9.714 GB, free: 187 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/59.59, allocations: 150.5 kB / 9.714 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.004582/59.6, allocations: 3.485 MB / 9.717 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005807/59.6, allocations: 2.271 MB / 9.72 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.264e-05/59.6, allocations: 321.9 kB / 9.72 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007166/59.61, allocations: 4.868 MB / 9.725 GB, free: 176 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00962/59.62, allocations: 5.442 MB / 9.73 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02357/59.64, allocations: 11.38 MB / 9.741 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.26e-05/59.64, allocations: 0 / 9.741 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.05101/59.7, allocations: 38.33 MB / 9.779 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/59.7, allocations: 5.719 kB / 9.779 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/59.7, allocations: 0 / 9.779 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.269e-05/59.7, allocations: 36 kB / 9.779 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01213/59.71, allocations: 2.596 MB / 9.781 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001343/59.71, allocations: 39.98 kB / 9.781 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005908/59.71, allocations: 0.5349 MB / 9.782 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00356/59.72, allocations: 0.7605 MB / 9.782 GB, free: 116.9 MB / 0.5606 GB 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.007326/59.72, allocations: 1.074 MB / 9.783 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008279/59.73, allocations: 0.8025 MB / 9.784 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06225/59.8, allocations: 33.94 MB / 9.817 GB, free: 81.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-05/59.8, allocations: 97.91 kB / 9.818 GB, free: 81.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.241e-05/59.8, allocations: 4 kB / 9.818 GB, free: 81.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002537/59.8, allocations: 47.81 kB / 9.818 GB, free: 81.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/59.81, allocations: 5.716 MB / 9.823 GB, free: 75.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/59.81, allocations: 0 / 9.823 GB, free: 75.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01275/59.82, allocations: 2.577 MB / 9.826 GB, free: 72.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/59.82, allocations: 36 kB / 9.826 GB, free: 72.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003448/59.82, allocations: 0.7018 MB / 9.826 GB, free: 71.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.786e-05/59.82, allocations: 32 kB / 9.826 GB, free: 71.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/59.82, allocations: 0 / 9.826 GB, free: 71.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2844/60.11, allocations: 37.52 MB / 9.863 GB, free: 216.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007598/60.12, allocations: 3.131 MB / 9.866 GB, free: 215.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002565/60.12, allocations: 157.5 kB / 9.866 GB, free: 215.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004441/60.12, allocations: 162.2 kB / 9.866 GB, free: 215.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002166/60.13, allocations: 0.9255 MB / 9.867 GB, free: 215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002407/60.13, allocations: 0.7569 MB / 9.868 GB, free: 214.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001949/60.13, allocations: 162.3 kB / 9.868 GB, free: 214.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/60.13, allocations: 0 / 9.868 GB, free: 214.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00906/60.14, allocations: 1.42 MB / 9.87 GB, free: 214.5 MB / 0.5606 GB 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.00387/60.14, allocations: 1.038 MB / 9.871 GB, free: 214.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02366/60.16, allocations: 11.68 MB / 9.882 GB, free: 209.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/60.16, allocations: 4.188 kB / 9.882 GB, free: 209.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01249/60.18, allocations: 6.203 MB / 9.888 GB, free: 205.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/60.18, allocations: 337.5 kB / 9.888 GB, free: 205.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/60.19, allocations: 10.35 MB / 9.899 GB, free: 195.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/60.2, allocations: 2.168 MB / 9.901 GB, free: 192.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.02564/60.22, allocations: 7.343 MB / 9.908 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00892/60.23, allocations: 1.536 MB / 9.909 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.613e-06/60.23, allocations: 0 / 9.909 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1076/60.34, allocations: 87.46 MB / 9.995 GB, free: 96.67 MB / 0.5606 GB " [Timeout remaining time 600] 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: 69.17325766570866]