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.0008496/0.0008496, allocations: 80.75 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.0009051/0.0009051, 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 0.9912/0.9912, allocations: 177.1 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.01585/0.01585, allocations: 3.146 MB / 263.4 MB, free: 9.949 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.222e-06/1.222e-06, allocations: 0 / 280.7 MB, free: 8.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.472e-05, allocations: 2.312 kB / 280.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.00243/0.002445, allocations: 2.082 MB / 282.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.006914, allocations: 3.603 MB / 286.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.007061, allocations: 11.88 kB / 286.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.007219, allocations: 39.61 kB / 286.5 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.372e-05/0.007293, allocations: 27.73 kB / 286.5 MB, free: 2.816 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.001495/0.008788, allocations: 0.8403 MB / 287.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1354/0.1442, allocations: 13.85 MB / 301.2 MB, free: 17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1443, allocations: 58.59 kB / 301.2 MB, free: 16.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008452/0.1528, allocations: 4.862 MB / 306.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00335/0.1561, allocations: 4.19 MB / 310.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009439/0.1571, allocations: 0.5356 MB / 310.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.9322/1.089, allocations: 0.602 GB / 0.9056 GB, free: 68.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002571/1.092, allocations: 2.228 MB / 0.9078 GB, free: 67.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001796/1.094, allocations: 1.994 MB / 0.9097 GB, free: 65.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006067/1.1, allocations: 9.291 MB / 0.9188 GB, free: 56.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.1, allocations: 0 / 0.9188 GB, free: 56.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.1, allocations: 0 / 0.9188 GB, free: 56.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.687e-05/1.1, allocations: 8 kB / 0.9188 GB, free: 56.39 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.005452/1.105, allocations: 3.674 MB / 0.9224 GB, free: 52.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/1.105, allocations: 8.031 kB / 0.9224 GB, free: 52.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/1.107, allocations: 1.227 MB / 0.9236 GB, free: 51.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/1.109, allocations: 2.68 MB / 0.9262 GB, free: 48.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.926e-05/1.11, allocations: 296.4 kB / 0.9265 GB, free: 48.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004852/1.11, allocations: 388.4 kB / 0.9269 GB, free: 48.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004156/1.114, allocations: 5.937 MB / 0.9327 GB, free: 42.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.285e-05/1.114, allocations: 0 / 0.9327 GB, free: 42.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003695/1.115, allocations: 163.9 kB / 0.9328 GB, free: 41.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/1.115, allocations: 100 kB / 0.9329 GB, free: 41.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2938/1.408, allocations: 144.2 MB / 1.074 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/1.422, allocations: 10.73 MB / 1.084 GB, free: 22.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7701/2.192, allocations: 220.4 MB / 1.299 GB, free: 115.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003437/2.196, allocations: 1.997 MB / 1.301 GB, free: 113.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008721/2.197, allocations: 0.6094 MB / 1.302 GB, free: 112.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.888e-05/2.197, allocations: 146.2 kB / 1.302 GB, free: 112.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1017): time 1.107e-05/2.197, allocations: 0.75 kB / 1.302 GB, free: 112.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=1017): time 0.008681/2.205, allocations: 7.311 MB / 1.309 GB, free: 105.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/2.206, allocations: 158.8 kB / 1.309 GB, free: 105.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/2.206, allocations: 213.2 kB / 1.31 GB, free: 105.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003562/2.206, allocations: 183 kB / 1.31 GB, free: 105.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/2.206, allocations: 125.7 kB / 1.31 GB, free: 105 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001294/2.207, allocations: 3.45 MB / 1.313 GB, free: 102.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001806/2.209, allocations: 2.159 MB / 1.315 GB, free: 100.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.656e-05/2.209, allocations: 325.1 kB / 1.316 GB, free: 100.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/2.211, allocations: 1.82 MB / 1.318 GB, free: 98.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/2.213, allocations: 2.268 MB / 1.32 GB, free: 96.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005012/2.218, allocations: 5.045 MB / 1.325 GB, free: 91.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/2.218, allocations: 0.5469 kB / 1.325 GB, free: 91.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.006663/2.225, allocations: 5.904 MB / 1.33 GB, free: 85.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/2.225, allocations: 4 kB / 1.33 GB, free: 85.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/2.225, allocations: 3.984 kB / 1.33 GB, free: 85.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.049e-05/2.225, allocations: 36.75 kB / 1.33 GB, free: 85.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005131/2.23, allocations: 3.139 MB / 1.334 GB, free: 82.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/2.23, allocations: 36.09 kB / 1.334 GB, free: 82.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/2.232, allocations: 0.54 MB / 1.334 GB, free: 82.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006912/2.232, allocations: 0.6706 MB / 1.335 GB, free: 81.46 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.001416/2.234, allocations: 0.5173 MB / 1.335 GB, free: 80.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002007/2.236, allocations: 1.222 MB / 1.336 GB, free: 79.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/2.247, allocations: 9.312 MB / 1.346 GB, free: 70.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/2.247, allocations: 98.19 kB / 1.346 GB, free: 70.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/2.247, allocations: 0 / 1.346 GB, free: 70.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.013e-05/2.247, allocations: 47.81 kB / 1.346 GB, free: 70.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/2.249, allocations: 2.777 MB / 1.348 GB, free: 67.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/2.249, allocations: 0.5 kB / 1.348 GB, free: 67.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004788/2.254, allocations: 3.123 MB / 1.351 GB, free: 64.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/2.254, allocations: 32 kB / 1.351 GB, free: 64.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005636/2.254, allocations: 0.6719 MB / 1.352 GB, free: 63.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.182e-05/2.254, allocations: 36 kB / 1.352 GB, free: 63.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/2.254, allocations: 0 / 1.352 GB, free: 63.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009226/2.264, allocations: 8.453 MB / 1.36 GB, free: 55.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/2.266, allocations: 2.609 MB / 1.363 GB, free: 52.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/2.266, allocations: 160 kB / 1.363 GB, free: 52.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/2.268, allocations: 160 kB / 1.363 GB, free: 52.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009245/2.269, allocations: 0.9822 MB / 1.364 GB, free: 51.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007998/2.269, allocations: 0.6667 MB / 1.365 GB, free: 50.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.757e-05/2.269, allocations: 70.78 kB / 1.365 GB, free: 50.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/2.269, allocations: 0 / 1.365 GB, free: 50.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003849/2.273, allocations: 1.429 MB / 1.366 GB, free: 49.36 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.001902/2.275, allocations: 1.087 MB / 1.367 GB, free: 48.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005618/2.281, allocations: 5.798 MB / 1.373 GB, free: 42.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/2.281, allocations: 0 / 1.373 GB, free: 42.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002871/2.284, allocations: 3.519 MB / 1.376 GB, free: 39.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/2.285, allocations: 0.846 MB / 1.377 GB, free: 38.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/2.29, allocations: 6.709 MB / 1.384 GB, free: 31.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/2.291, allocations: 0.897 MB / 1.385 GB, free: 30.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007941/2.299, allocations: 4.477 MB / 1.389 GB, free: 26.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003497/2.302, allocations: 1.821 MB / 1.391 GB, free: 24.4 MB / 394.7 MB Notification: Performance of SimCode: time 2.023e-06/2.302, allocations: 0 / 1.391 GB, free: 24.4 MB / 394.7 MB Notification: Performance of Templates: time 0.1965/2.499, allocations: 100.6 MB / 1.489 GB, free: 71.68 MB / 394.7 MB " [Timeout remaining time 657] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.189625647850335]