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.001414/0.001414, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001102/0.001102, allocations: 177 kB / 23.49 MB, free: 1.059 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.014/1.014, allocations: 177.1 MB / 203.8 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.01623/0.01623, allocations: 3.138 MB / 263.4 MB, free: 10.14 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.683e-06/1.683e-06, allocations: 3.938 kB / 333.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.45e-05, allocations: 2.312 kB / 333.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.001791/0.001806, allocations: 2.064 MB / 335.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00347/0.005276, allocations: 3.855 MB / 339.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.005389, allocations: 11.88 kB / 339.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.005523, allocations: 43.53 kB / 339.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.439e-05/0.005588, allocations: 27.73 kB / 339.5 MB, free: 10.28 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.00108/0.006668, allocations: 0.8445 MB / 340.4 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00542/0.01209, allocations: 13.6 MB / 354 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.01222, allocations: 48.59 kB / 354 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004357/0.01657, allocations: 4.701 MB / 358.7 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004207/0.02078, allocations: 4.27 MB / 363 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008643/0.02164, allocations: 0.6015 MB / 363.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 38.59/38.61, allocations: 8.828 GB / 9.183 GB, free: 47.26 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001949/38.61, allocations: 2.311 MB / 9.185 GB, free: 46.55 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002398/38.61, allocations: 2.076 MB / 9.187 GB, free: 45.8 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008484/38.62, allocations: 9.525 MB / 9.197 GB, free: 37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/38.62, allocations: 0 / 9.197 GB, free: 37 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/38.62, allocations: 0 / 9.197 GB, free: 37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.922e-05/38.62, allocations: 3.938 kB / 9.197 GB, free: 36.99 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.006369/38.63, allocations: 3.966 MB / 9.201 GB, free: 32.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/38.63, allocations: 8.031 kB / 9.201 GB, free: 32.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/38.63, allocations: 1.346 MB / 9.202 GB, free: 31.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00593/38.64, allocations: 3.363 MB / 9.205 GB, free: 28.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/38.64, allocations: 296.4 kB / 9.205 GB, free: 27.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/38.64, allocations: 388.4 kB / 9.206 GB, free: 27.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1428/38.78, allocations: 6.262 MB / 9.212 GB, free: 179.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/38.78, allocations: 1.281 kB / 9.212 GB, free: 179.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/38.78, allocations: 159.9 kB / 9.212 GB, free: 179.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/38.78, allocations: 97.94 kB / 9.212 GB, free: 179.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3347/39.12, allocations: 141 MB / 9.35 GB, free: 180.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/39.13, allocations: 11.37 MB / 9.361 GB, free: 170.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.8013/39.93, allocations: 225.9 MB / 9.582 GB, free: 80.2 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005256/39.94, allocations: 2.544 MB / 9.584 GB, free: 77.99 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/39.94, allocations: 0.6167 MB / 9.585 GB, free: 77.44 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.995e-05/39.94, allocations: 141.4 kB / 9.585 GB, free: 77.36 MB / 426.8 MB Notification: Performance of pre-optimization done (n=1017): time 1.088e-05/39.94, allocations: 0 / 9.585 GB, free: 77.36 MB / 426.8 MB Notification: Performance of matching and sorting (n=1017): time 0.03323/39.97, allocations: 25.82 MB / 9.61 GB, free: 49.29 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/39.97, allocations: 159.4 kB / 9.61 GB, free: 49.12 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/39.97, allocations: 269 kB / 9.61 GB, free: 48.84 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001153/39.97, allocations: 189.7 kB / 9.611 GB, free: 48.65 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/39.97, allocations: 193.1 kB / 9.611 GB, free: 48.46 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002217/39.98, allocations: 3.537 MB / 9.614 GB, free: 45.34 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002911/39.98, allocations: 2.32 MB / 9.617 GB, free: 43 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/39.98, allocations: 0.4923 MB / 9.617 GB, free: 42.51 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004232/39.98, allocations: 2.358 MB / 9.619 GB, free: 40.14 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00551/39.99, allocations: 3.05 MB / 9.622 GB, free: 37.06 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1806/40.17, allocations: 6.01 MB / 9.628 GB, free: 177.3 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-05/40.17, allocations: 3.828 kB / 9.628 GB, free: 177.3 MB / 426.8 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02195/40.19, allocations: 22.11 MB / 9.65 GB, free: 157 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/40.19, allocations: 8 kB / 9.65 GB, free: 157 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/40.19, allocations: 0 / 9.65 GB, free: 157 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.795e-05/40.19, allocations: 32 kB / 9.65 GB, free: 157 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/40.2, allocations: 2.604 MB / 9.652 GB, free: 154.5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.97e-05/40.2, allocations: 36.09 kB / 9.652 GB, free: 154.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/40.2, allocations: 0.5344 MB / 9.653 GB, free: 154 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006767/40.2, allocations: 0.7565 MB / 9.654 GB, free: 153.3 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.001579/40.2, allocations: 0.5669 MB / 9.654 GB, free: 152.7 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003161/40.2, allocations: 1.341 MB / 9.656 GB, free: 151.4 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02411/40.23, allocations: 27.26 MB / 9.682 GB, free: 122.1 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.411e-05/40.23, allocations: 96 kB / 9.682 GB, free: 122 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/40.23, allocations: 0 / 9.682 GB, free: 122 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.483e-05/40.23, allocations: 47.81 kB / 9.682 GB, free: 122 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/40.23, allocations: 2.855 MB / 9.685 GB, free: 119.4 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/40.23, allocations: 0 / 9.685 GB, free: 119.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004891/40.24, allocations: 2.585 MB / 9.688 GB, free: 116.8 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.539e-05/40.24, allocations: 32 kB / 9.688 GB, free: 116.8 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006243/40.24, allocations: 0.7018 MB / 9.688 GB, free: 116.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-05/40.24, allocations: 32 kB / 9.688 GB, free: 116.1 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/40.24, allocations: 0 / 9.688 GB, free: 116.1 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02947/40.27, allocations: 26.79 MB / 9.715 GB, free: 86.89 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003288/40.27, allocations: 3.003 MB / 9.717 GB, free: 83.9 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007452/40.27, allocations: 156 kB / 9.718 GB, free: 83.75 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/40.27, allocations: 160 kB / 9.718 GB, free: 83.59 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001385/40.27, allocations: 0.955 MB / 9.719 GB, free: 82.63 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001042/40.27, allocations: 0.7609 MB / 9.719 GB, free: 81.87 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001169/40.27, allocations: 189.1 kB / 9.72 GB, free: 81.69 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/40.27, allocations: 4 kB / 9.72 GB, free: 81.68 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00518/40.28, allocations: 1.429 MB / 9.721 GB, free: 80.25 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.002856/40.28, allocations: 1.098 MB / 9.722 GB, free: 79.2 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01279/40.3, allocations: 7.156 MB / 9.729 GB, free: 72.04 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/40.3, allocations: 0 / 9.729 GB, free: 72.04 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006716/40.3, allocations: 4.214 MB / 9.733 GB, free: 67.83 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/40.3, allocations: 0.8741 MB / 9.734 GB, free: 66.96 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007596/40.31, allocations: 7.231 MB / 9.741 GB, free: 59.67 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/40.31, allocations: 0.8893 MB / 9.742 GB, free: 58.75 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.01055/40.32, allocations: 7.049 MB / 9.749 GB, free: 51.89 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002611/40.33, allocations: 1.529 MB / 9.75 GB, free: 50.36 MB / 426.8 MB Notification: Performance of SimCode: time 2.956e-06/40.33, allocations: 0 / 9.75 GB, free: 50.36 MB / 426.8 MB Notification: Performance of Templates: time 0.2117/40.54, allocations: 89.3 MB / 9.838 GB, free: 105.5 MB / 426.8 MB " [Timeout remaining time 619] 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: 46.44328324799426]