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.001728/0.001728, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.001684/0.001684, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.789/1.789, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.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.0255/0.0255, allocations: 3.92 MB / 312.8 MB, free: 0.5078 MB / 238.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 0.001745/0.001745, allocations: 71.89 kB / 435.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.08841, allocations: 54.1 MB / 489.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.003265/0.09168, allocations: 2.08 MB / 491.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006122/0.0978, allocations: 3.988 MB / 495.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.09792, allocations: 11.88 kB / 495.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.09809, allocations: 39.55 kB / 495.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.09817, allocations: 19.8 kB / 495.3 MB, free: 1.746 MB / 350.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.001891/0.1001, allocations: 0.8096 MB / 496.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.1116, allocations: 13.64 MB / 0.4978 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.1118, allocations: 56.31 kB / 0.4979 GB, free: 3.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1769/0.2887, allocations: 3.35 MB / 0.5012 GB, free: 4.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005901/0.2946, allocations: 4.493 MB / 0.5055 GB, free: 4.266 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002539/0.2971, allocations: 0.594 MB / 0.5061 GB, free: 4.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 44.45/44.74, allocations: 8.786 GB / 9.292 GB, free: 47.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003519/44.75, allocations: 2.295 MB / 9.295 GB, free: 46.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003837/44.75, allocations: 2.538 MB / 9.297 GB, free: 45.01 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005902/44.76, allocations: 8.651 MB / 9.306 GB, free: 38.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/44.76, allocations: 3.984 kB / 9.306 GB, free: 38.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/44.76, allocations: 0 / 9.306 GB, free: 38.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.574e-05/44.76, allocations: 0 / 9.306 GB, free: 38.25 MB / 0.5762 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.009455/44.77, allocations: 3.917 MB / 9.309 GB, free: 34.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/44.77, allocations: 15.98 kB / 9.309 GB, free: 34.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/44.77, allocations: 0.8073 MB / 9.31 GB, free: 33.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007104/44.78, allocations: 3.461 MB / 9.314 GB, free: 30.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/44.78, allocations: 296.4 kB / 9.314 GB, free: 29.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007264/44.78, allocations: 389.6 kB / 9.314 GB, free: 29.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.129/44.91, allocations: 8.681 MB / 9.323 GB, free: 238.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/44.91, allocations: 0.5938 kB / 9.323 GB, free: 238.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001204/44.91, allocations: 161.8 kB / 9.323 GB, free: 238.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.578e-05/44.91, allocations: 97.72 kB / 9.323 GB, free: 238.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2571/45.16, allocations: 198.1 MB / 9.516 GB, free: 55.96 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1642/45.33, allocations: 15.94 MB / 9.532 GB, free: 236.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7904/46.12, allocations: 152.1 MB / 9.681 GB, free: 89.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00605/46.12, allocations: 4.912 MB / 9.685 GB, free: 84.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/46.13, allocations: 0.993 MB / 9.686 GB, free: 83.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/46.13, allocations: 150.5 kB / 9.686 GB, free: 83.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1017): time 9.327e-06/46.13, allocations: 0 / 9.686 GB, free: 83.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1017): time 0.1776/46.3, allocations: 34.37 MB / 9.72 GB, free: 237.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.674e-05/46.3, allocations: 158.7 kB / 9.72 GB, free: 237.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/46.3, allocations: 224.2 kB / 9.72 GB, free: 237.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/46.3, allocations: 187.2 kB / 9.721 GB, free: 237.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/46.3, allocations: 140.5 kB / 9.721 GB, free: 237.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001871/46.31, allocations: 3.497 MB / 9.724 GB, free: 235.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002775/46.31, allocations: 2.258 MB / 9.726 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/46.31, allocations: 324 kB / 9.727 GB, free: 234.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006571/46.32, allocations: 4.867 MB / 9.731 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007088/46.32, allocations: 5.448 MB / 9.737 GB, free: 231 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/46.34, allocations: 11.39 MB / 9.748 GB, free: 223.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/46.34, allocations: 0 / 9.748 GB, free: 223.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02886/46.37, allocations: 38.33 MB / 9.785 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/46.37, allocations: 8 kB / 9.785 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/46.37, allocations: 0 / 9.785 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-05/46.37, allocations: 35.98 kB / 9.785 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008087/46.37, allocations: 2.597 MB / 9.788 GB, free: 183 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.73e-05/46.37, allocations: 32 kB / 9.788 GB, free: 183 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/46.38, allocations: 0.5387 MB / 9.788 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009805/46.38, allocations: 0.7605 MB / 9.789 GB, free: 181.7 MB / 0.5762 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.001727/46.38, allocations: 1.066 MB / 9.79 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003255/46.38, allocations: 0.8103 MB / 9.791 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03274/46.42, allocations: 33.94 MB / 9.824 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/46.42, allocations: 99.94 kB / 9.824 GB, free: 146 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/46.42, allocations: 0 / 9.824 GB, free: 146 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.476e-05/46.42, allocations: 47.81 kB / 9.824 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004335/46.42, allocations: 5.705 MB / 9.83 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/46.42, allocations: 9.156 kB / 9.83 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007861/46.43, allocations: 2.581 MB / 9.832 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.507e-05/46.43, allocations: 41.52 kB / 9.832 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006984/46.43, allocations: 0.6979 MB / 9.833 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.357e-05/46.43, allocations: 34.73 kB / 9.833 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/46.43, allocations: 0 / 9.833 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03235/46.46, allocations: 37.52 MB / 9.87 GB, free: 99.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00244/46.46, allocations: 3.133 MB / 9.873 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006857/46.46, allocations: 159.9 kB / 9.873 GB, free: 96.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00296/46.47, allocations: 160 kB / 9.873 GB, free: 95.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/46.47, allocations: 0.928 MB / 9.874 GB, free: 94.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009567/46.47, allocations: 0.7604 MB / 9.875 GB, free: 94.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.166e-05/46.47, allocations: 164.5 kB / 9.875 GB, free: 94.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/46.47, allocations: 0 / 9.875 GB, free: 94.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0047/46.47, allocations: 1.421 MB / 9.876 GB, free: 92.63 MB / 0.5762 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.002462/46.48, allocations: 1.041 MB / 9.877 GB, free: 91.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01318/46.49, allocations: 11.67 MB / 9.889 GB, free: 79.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/46.49, allocations: 0 / 9.889 GB, free: 79.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007022/46.5, allocations: 6.205 MB / 9.895 GB, free: 73.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/46.5, allocations: 328.4 kB / 9.895 GB, free: 73.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009202/46.51, allocations: 10.34 MB / 9.905 GB, free: 63.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/46.51, allocations: 2.164 MB / 9.907 GB, free: 60.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.01355/46.52, allocations: 7.349 MB / 9.914 GB, free: 53.71 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1342/46.66, allocations: 1.527 MB / 9.916 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/46.66, allocations: 0.7188 kB / 9.916 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.09573/46.75, allocations: 89.22 MB / 10 GB, free: 158.9 MB / 0.5762 GB " [Timeout remaining time 613] 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: 54.42299082502723] Failed to read output from testmodel.py, exit status != 0: 46.758284997195005 46.765128137 2.007748839 Calling exit ...