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.001349/0.001349, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001462/0.001462, allocations: 167.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.02739/0.02739, allocations: 3.152 MB / 262.3 MB, free: 13.72 MB / 254.1 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.142e-06/1.142e-06, allocations: 0 / 386.3 MB, free: 268 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.009e-05, allocations: 2.281 kB / 386.3 MB, free: 264 kB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.003184/0.003204, allocations: 2.011 MB / 388.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006842/0.01005, allocations: 3.765 MB / 392.1 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.01024, allocations: 15.88 kB / 392.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.01043, allocations: 39.55 kB / 392.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.491e-05/0.01053, allocations: 23.73 kB / 392.1 MB, free: 10.36 MB / 318.1 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.002524/0.01305, allocations: 0.8484 MB / 393 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01268/0.02573, allocations: 13.6 MB / 406.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.02596, allocations: 52.58 kB / 406.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01168/0.03764, allocations: 4.69 MB / 411.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006742/0.04439, allocations: 4.274 MB / 415.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002238/0.04662, allocations: 0.5976 MB / 416.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 70.97/71.01, allocations: 8.828 GB / 9.234 GB, free: 40 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003898/71.02, allocations: 2.312 MB / 9.237 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.005201/71.02, allocations: 2.081 MB / 9.239 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01745/71.04, allocations: 10.67 MB / 9.249 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/71.04, allocations: 3.906 kB / 9.249 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/71.04, allocations: 0 / 9.249 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003373/71.04, allocations: 0 / 9.249 GB, free: 31.48 MB / 0.4981 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.02032/71.06, allocations: 3.803 MB / 9.253 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/71.06, allocations: 12.03 kB / 9.253 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/71.07, allocations: 0.8151 MB / 9.254 GB, free: 26.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/71.08, allocations: 3.394 MB / 9.257 GB, free: 23.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2301/71.31, allocations: 295.5 kB / 9.257 GB, free: 209.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003725/71.31, allocations: 387.1 kB / 9.258 GB, free: 209.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02537/71.34, allocations: 8.68 MB / 9.266 GB, free: 208.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002022/71.34, allocations: 0.8438 kB / 9.266 GB, free: 208.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002659/71.34, allocations: 161.6 kB / 9.266 GB, free: 208.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/71.34, allocations: 96.81 kB / 9.266 GB, free: 208.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5468/71.89, allocations: 190 MB / 9.452 GB, free: 193.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0392/71.93, allocations: 14.43 MB / 9.466 GB, free: 179.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 1.239/73.16, allocations: 146 MB / 9.609 GB, free: 197.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008542/73.17, allocations: 4.915 MB / 9.613 GB, free: 195.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/73.17, allocations: 0.5398 MB / 9.614 GB, free: 195.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.659e-05/73.17, allocations: 144.5 kB / 9.614 GB, free: 195.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1017): time 1.536e-05/73.17, allocations: 0 / 9.614 GB, free: 195.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1017): time 0.04812/73.22, allocations: 32.69 MB / 9.646 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.416e-05/73.22, allocations: 155.4 kB / 9.646 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/73.22, allocations: 224.8 kB / 9.646 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001908/73.22, allocations: 186.5 kB / 9.647 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/73.22, allocations: 142.8 kB / 9.647 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.003036/73.23, allocations: 3.443 MB / 9.65 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004646/73.23, allocations: 2.263 MB / 9.652 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/73.23, allocations: 325.7 kB / 9.653 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007737/73.24, allocations: 4.864 MB / 9.657 GB, free: 151.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008828/73.25, allocations: 5.445 MB / 9.663 GB, free: 146.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02035/73.27, allocations: 11.38 MB / 9.674 GB, free: 135 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.669e-05/73.27, allocations: 5.75 kB / 9.674 GB, free: 135 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.04013/73.31, allocations: 26.44 MB / 9.7 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/73.31, allocations: 6.031 kB / 9.7 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/73.31, allocations: 0 / 9.7 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.003e-05/73.31, allocations: 40.09 kB / 9.7 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01102/73.32, allocations: 2.603 MB / 9.702 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001537/73.32, allocations: 33.56 kB / 9.702 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005206/73.33, allocations: 0.5347 MB / 9.703 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00249/73.33, allocations: 0.7643 MB / 9.703 GB, free: 104.6 MB / 0.4981 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.004601/73.33, allocations: 1.063 MB / 9.704 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005813/73.34, allocations: 0.7987 MB / 9.705 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05917/73.4, allocations: 32.26 MB / 9.737 GB, free: 68.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.7e-05/73.4, allocations: 92 kB / 9.737 GB, free: 68.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.631e-05/73.4, allocations: 8 kB / 9.737 GB, free: 68.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002622/73.4, allocations: 47.81 kB / 9.737 GB, free: 68.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009781/73.41, allocations: 4.195 MB / 9.741 GB, free: 64.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.59e-05/73.41, allocations: 0 / 9.741 GB, free: 64.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0121/73.42, allocations: 2.586 MB / 9.744 GB, free: 61.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/73.42, allocations: 32 kB / 9.744 GB, free: 61.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003561/73.42, allocations: 0.698 MB / 9.744 GB, free: 60.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001176/73.42, allocations: 32 kB / 9.744 GB, free: 60.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/73.42, allocations: 0 / 9.744 GB, free: 60.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2617/73.69, allocations: 35.84 MB / 9.779 GB, free: 197.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005233/73.69, allocations: 3.041 MB / 9.782 GB, free: 195.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002261/73.69, allocations: 160.8 kB / 9.782 GB, free: 195.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005412/73.7, allocations: 163.1 kB / 9.783 GB, free: 195.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003033/73.7, allocations: 0.9636 MB / 9.783 GB, free: 195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002624/73.7, allocations: 0.7562 MB / 9.784 GB, free: 194.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001521/73.7, allocations: 157.2 kB / 9.784 GB, free: 194.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/73.7, allocations: 0 / 9.784 GB, free: 194.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008155/73.71, allocations: 1.433 MB / 9.786 GB, free: 193 MB / 0.4981 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.003681/73.72, allocations: 1.075 MB / 9.787 GB, free: 192.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01794/73.73, allocations: 11.68 MB / 9.798 GB, free: 180.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/73.73, allocations: 0 / 9.798 GB, free: 180.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01131/73.75, allocations: 6.199 MB / 9.804 GB, free: 174.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/73.75, allocations: 343.1 kB / 9.805 GB, free: 173.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/73.76, allocations: 10.32 MB / 9.815 GB, free: 163.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/73.76, allocations: 1.601 MB / 9.816 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.02267/73.78, allocations: 7.366 MB / 9.823 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005483/73.79, allocations: 1.525 MB / 9.825 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.124e-06/73.79, allocations: 0 / 9.825 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.1086/73.9, allocations: 88.81 MB / 9.912 GB, free: 64.78 MB / 0.4981 GB " [Timeout remaining time 586] 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: 83.1797432154417] Failed to read output from testmodel.py, exit status != 0: 73.90666067227721 73.918446109 2.876164578 Calling exit ...