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.001349/0.001349, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.001376/0.001376, allocations: 186.9 kB / 19.4 MB, free: 3.66 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.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.02794/0.02794, allocations: 3.95 MB / 306.6 MB, free: 6.047 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.001937/0.001937, allocations: 63.89 kB / 426.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08558/0.08752, allocations: 52.92 MB / 479.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.003309/0.09083, allocations: 2.08 MB / 481.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006684/0.09751, allocations: 3.937 MB / 485.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.0977, allocations: 7.875 kB / 485.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.09793, allocations: 43.53 kB / 485.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.905e-05/0.09803, allocations: 23.8 kB / 485.6 MB, free: 9.762 MB / 350.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.002149/0.1002, allocations: 0.8024 MB / 486.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01253/0.1127, allocations: 13.64 MB / 0.4883 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.1129, allocations: 64.23 kB / 0.4884 GB, free: 11.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007734/0.1207, allocations: 3.355 MB / 0.4917 GB, free: 7.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00832/0.129, allocations: 4.493 MB / 0.496 GB, free: 3.379 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001972/0.131, allocations: 0.5938 MB / 0.4966 GB, free: 2.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 55.45/55.58, allocations: 8.786 GB / 9.283 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004116/55.58, allocations: 2.297 MB / 9.285 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.008166/55.59, allocations: 2.544 MB / 9.288 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02274/55.61, allocations: 8.644 MB / 9.296 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/55.61, allocations: 0 / 9.296 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/55.61, allocations: 4 kB / 9.296 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003264/55.61, allocations: 0 / 9.296 GB, free: 128.2 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.03026/55.64, allocations: 3.921 MB / 9.3 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.491e-05/55.64, allocations: 9.062 kB / 9.3 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008985/55.65, allocations: 0.8031 MB / 9.301 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/55.67, allocations: 3.461 MB / 9.304 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004983/55.67, allocations: 298.4 kB / 9.304 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003351/55.67, allocations: 384.3 kB / 9.305 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02418/55.69, allocations: 8.69 MB / 9.313 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/55.69, allocations: 0 / 9.313 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002358/55.7, allocations: 163.9 kB / 9.313 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.337e-05/55.7, allocations: 96 kB / 9.314 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6566/56.35, allocations: 198.1 MB / 9.507 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03017/56.38, allocations: 15.94 MB / 9.523 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 1.396/57.78, allocations: 152 MB / 9.671 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01151/57.79, allocations: 4.912 MB / 9.676 GB, free: 154 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002881/57.79, allocations: 0.9978 MB / 9.677 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/57.79, allocations: 137.3 kB / 9.677 GB, free: 153 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1017): time 1.737e-05/57.79, allocations: 0 / 9.677 GB, free: 153 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1017): time 0.05684/57.85, allocations: 34.39 MB / 9.711 GB, free: 118.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/57.85, allocations: 156.9 kB / 9.711 GB, free: 118.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/57.85, allocations: 224.5 kB / 9.711 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.002943/57.85, allocations: 185.7 kB / 9.711 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/57.85, allocations: 144 kB / 9.711 GB, free: 118 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.005551/57.86, allocations: 3.492 MB / 9.715 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008261/57.87, allocations: 2.263 MB / 9.717 GB, free: 112.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/57.87, allocations: 321.9 kB / 9.717 GB, free: 112 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009851/57.88, allocations: 4.872 MB / 9.722 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01228/57.89, allocations: 5.436 MB / 9.727 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02392/57.91, allocations: 11.39 MB / 9.738 GB, free: 90.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.724e-05/57.91, allocations: 0 / 9.738 GB, free: 90.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.3474/58.26, allocations: 38.32 MB / 9.776 GB, free: 241.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/58.26, allocations: 11.83 kB / 9.776 GB, free: 241.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/58.26, allocations: 0 / 9.776 GB, free: 241.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-05/58.26, allocations: 33.47 kB / 9.776 GB, free: 241.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01388/58.27, allocations: 2.603 MB / 9.778 GB, free: 241.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000291/58.28, allocations: 32.3 kB / 9.778 GB, free: 241.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006589/58.28, allocations: 0.5359 MB / 9.779 GB, free: 240.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00394/58.29, allocations: 0.7626 MB / 9.78 GB, free: 240.8 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.007257/58.29, allocations: 1.067 MB / 9.781 GB, free: 240.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006779/58.3, allocations: 0.8093 MB / 9.781 GB, free: 239.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06723/58.37, allocations: 33.95 MB / 9.815 GB, free: 209.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.004e-05/58.37, allocations: 96 kB / 9.815 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.44e-05/58.37, allocations: 0 / 9.815 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002722/58.37, allocations: 47.81 kB / 9.815 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/58.38, allocations: 5.702 MB / 9.82 GB, free: 204 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.416e-05/58.38, allocations: 0 / 9.82 GB, free: 204 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0141/58.39, allocations: 2.585 MB / 9.823 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/58.39, allocations: 32 kB / 9.823 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004715/58.4, allocations: 0.7057 MB / 9.824 GB, free: 200.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001829/58.4, allocations: 33.09 kB / 9.824 GB, free: 200.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/58.4, allocations: 0 / 9.824 GB, free: 200.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06592/58.47, allocations: 37.53 MB / 9.86 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006205/58.47, allocations: 3.117 MB / 9.863 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003316/58.47, allocations: 161.1 kB / 9.863 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006399/58.48, allocations: 161.7 kB / 9.864 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003318/58.48, allocations: 0.9202 MB / 9.864 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003917/58.49, allocations: 0.7644 MB / 9.865 GB, free: 158 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000211/58.49, allocations: 160.5 kB / 9.865 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/58.49, allocations: 0 / 9.865 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01108/58.5, allocations: 1.435 MB / 9.867 GB, free: 156.4 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.005717/58.51, allocations: 1.038 MB / 9.868 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03174/58.54, allocations: 11.67 MB / 9.879 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/58.54, allocations: 0 / 9.879 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01591/58.55, allocations: 6.199 MB / 9.885 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007053/58.56, allocations: 338.7 kB / 9.886 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/58.58, allocations: 10.34 MB / 9.896 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/58.58, allocations: 2.17 MB / 9.898 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.02647/58.61, allocations: 7.348 MB / 9.905 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00838/58.61, allocations: 1.528 MB / 9.906 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.194e-06/58.61, allocations: 4 kB / 9.906 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.7041/59.32, allocations: 89.15 MB / 9.994 GB, free: 213.3 MB / 0.5763 GB " [Timeout remaining time 601] 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: 68.6330890422687] Failed to read output from testmodel.py, exit status != 0: 59.32548419572413 59.337992275 3.723827998 Calling exit ...