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.001123/0.001123, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001487/0.001487, allocations: 181 kB / 23.36 MB, free: 1.133 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.038/1.038, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.01581/0.01581, allocations: 3.151 MB / 263.4 MB, free: 9.945 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.793e-06/1.793e-06, allocations: 0 / 280.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.443e-05, allocations: 2.312 kB / 280.7 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002897/0.002922, allocations: 2.039 MB / 282.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004848/0.00777, allocations: 3.596 MB / 286.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.00797, allocations: 11.88 kB / 286.3 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.008156, allocations: 35.61 kB / 286.4 MB, free: 2.945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.008259, allocations: 27.67 kB / 286.4 MB, free: 2.918 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.002389/0.01065, allocations: 0.8914 MB / 287.3 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1287/0.1393, allocations: 13.86 MB / 301.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.1395, allocations: 62.7 kB / 301.2 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01291/0.1524, allocations: 4.864 MB / 306.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004912/0.1573, allocations: 4.191 MB / 310.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00199/0.1593, allocations: 0.5351 MB / 310.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.9669/1.126, allocations: 0.6019 GB / 0.9054 GB, free: 69.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00266/1.129, allocations: 2.221 MB / 0.9076 GB, free: 67.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002335/1.131, allocations: 2.004 MB / 0.9095 GB, free: 65.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008831/1.14, allocations: 9.288 MB / 0.9186 GB, free: 56.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.14, allocations: 0 / 0.9186 GB, free: 56.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.14, allocations: 4 kB / 0.9186 GB, free: 56.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.65e-05/1.14, allocations: 0 / 0.9186 GB, free: 56.86 MB / 378.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.007189/1.147, allocations: 3.678 MB / 0.9222 GB, free: 53.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/1.147, allocations: 12.03 kB / 0.9222 GB, free: 53.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/1.15, allocations: 1.227 MB / 0.9234 GB, free: 51.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/1.152, allocations: 2.68 MB / 0.926 GB, free: 49.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/1.152, allocations: 296.4 kB / 0.9263 GB, free: 48.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005719/1.153, allocations: 384.4 kB / 0.9267 GB, free: 48.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005383/1.158, allocations: 5.937 MB / 0.9325 GB, free: 42.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/1.158, allocations: 3.938 kB / 0.9325 GB, free: 42.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004299/1.159, allocations: 169.4 kB / 0.9326 GB, free: 42.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/1.159, allocations: 96 kB / 0.9327 GB, free: 42.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.266/1.425, allocations: 144.2 MB / 1.074 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/1.438, allocations: 10.73 MB / 1.084 GB, free: 23.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7061/2.144, allocations: 220.4 MB / 1.299 GB, free: 115.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/2.147, allocations: 1.999 MB / 1.301 GB, free: 114 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/2.148, allocations: 0.6098 MB / 1.302 GB, free: 113.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.075e-05/2.148, allocations: 143.5 kB / 1.302 GB, free: 113.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1017): time 1.541e-05/2.148, allocations: 0.5 kB / 1.302 GB, free: 113.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=1017): time 0.01055/2.159, allocations: 7.32 MB / 1.309 GB, free: 106.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/2.159, allocations: 155.4 kB / 1.309 GB, free: 106.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/2.159, allocations: 205.7 kB / 1.309 GB, free: 105.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000527/2.159, allocations: 186 kB / 1.31 GB, free: 105.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/2.16, allocations: 133.8 kB / 1.31 GB, free: 105.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001693/2.161, allocations: 3.445 MB / 1.313 GB, free: 103.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002196/2.163, allocations: 2.154 MB / 1.315 GB, free: 101.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.899e-05/2.163, allocations: 323 kB / 1.316 GB, free: 101.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002537/2.166, allocations: 1.826 MB / 1.317 GB, free: 99.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/2.168, allocations: 2.27 MB / 1.32 GB, free: 97.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005615/2.174, allocations: 5.042 MB / 1.324 GB, free: 92.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-05/2.174, allocations: 0 / 1.324 GB, free: 92.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.007592/2.182, allocations: 5.899 MB / 1.33 GB, free: 86.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/2.182, allocations: 4 kB / 1.33 GB, free: 86.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/2.182, allocations: 0 / 1.33 GB, free: 86.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.532e-05/2.182, allocations: 36 kB / 1.33 GB, free: 86.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004564/2.186, allocations: 2.539 MB / 1.333 GB, free: 84.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001284/2.187, allocations: 32 kB / 1.333 GB, free: 83.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/2.188, allocations: 0.5401 MB / 1.333 GB, free: 83.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006877/2.189, allocations: 0.6706 MB / 1.334 GB, free: 82.79 MB / 394.7 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 (position.local_reset,globalSeed.seed,globalSeed.id_impure,spaceDomainNoiseMinimum.actualGlobalSeed,spaceDomainNoiseZero.actualGlobalSeed,spaceDomainNoiseZero.localSeed,spaceDomainNoiseMinimum.localSeed) * 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.001839/2.191, allocations: 0.5318 MB / 1.334 GB, free: 82.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003128/2.194, allocations: 1.222 MB / 1.336 GB, free: 81.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/2.212, allocations: 9.309 MB / 1.345 GB, free: 72.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.032e-05/2.212, allocations: 98.52 kB / 1.345 GB, free: 71.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/2.212, allocations: 0 / 1.345 GB, free: 71.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-05/2.212, allocations: 51.81 kB / 1.345 GB, free: 71.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/2.215, allocations: 2.769 MB / 1.348 GB, free: 69.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/2.215, allocations: 0 / 1.348 GB, free: 69.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00704/2.222, allocations: 2.527 MB / 1.35 GB, free: 66.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/2.223, allocations: 32 kB / 1.35 GB, free: 66.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001284/2.224, allocations: 0.6667 MB / 1.351 GB, free: 65.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.68e-05/2.224, allocations: 32 kB / 1.351 GB, free: 65.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/2.224, allocations: 4 kB / 1.351 GB, free: 65.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/2.238, allocations: 8.449 MB / 1.359 GB, free: 57.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/2.24, allocations: 2.613 MB / 1.362 GB, free: 54.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005649/2.241, allocations: 160 kB / 1.362 GB, free: 54.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/2.242, allocations: 160 kB / 1.362 GB, free: 54.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008113/2.243, allocations: 0.9783 MB / 1.363 GB, free: 53.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007593/2.244, allocations: 0.6706 MB / 1.364 GB, free: 52.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.118e-05/2.244, allocations: 66.78 kB / 1.364 GB, free: 52.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/2.244, allocations: 0 / 1.364 GB, free: 52.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003958/2.248, allocations: 1.433 MB / 1.365 GB, free: 51.27 MB / 394.7 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.002214/2.25, allocations: 1.089 MB / 1.366 GB, free: 50.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007115/2.257, allocations: 5.797 MB / 1.372 GB, free: 44.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/2.257, allocations: 0 / 1.372 GB, free: 44.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003788/2.261, allocations: 3.52 MB / 1.375 GB, free: 40.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/2.262, allocations: 0.839 MB / 1.376 GB, free: 40.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/2.268, allocations: 6.713 MB / 1.383 GB, free: 33.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/2.268, allocations: 0.893 MB / 1.383 GB, free: 32.42 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01003/2.279, allocations: 4.483 MB / 1.388 GB, free: 28.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003632/2.282, allocations: 1.821 MB / 1.39 GB, free: 26.3 MB / 394.7 MB Notification: Performance of SimCode: time 2.525e-06/2.282, allocations: 0 / 1.39 GB, free: 26.3 MB / 394.7 MB Notification: Performance of Templates: time 0.2073/2.489, allocations: 100.5 MB / 1.488 GB, free: 73.27 MB / 394.7 MB " [Timeout remaining time 658] 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: 8.362648294772953]