Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.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.001317/0.001317, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001659/0.001659, allocations: 169 kB / 23.02 MB, free: 1.551 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.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.01613/0.01613, allocations: 3.154 MB / 263.1 MB, free: 10.07 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.SpaceAndTimeDomain,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 333.5 MB, free: 16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.145e-05, allocations: 2.312 kB / 333.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.002618/0.002649, allocations: 2.069 MB / 335.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00433/0.006979, allocations: 3.589 MB / 339.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.007192, allocations: 11.88 kB / 339.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.007583, allocations: 51.53 kB / 339.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.00773, allocations: 55.62 kB / 339.3 MB, free: 10.18 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.SpaceAndTimeDomain.spaceDomainNoiseMinimum.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.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.SpaceAndTimeDomain.spaceDomainNoiseMinimum.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.spaceDomainNoiseMinimum.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.009425, allocations: 0.7317 MB / 340 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002462/0.01189, allocations: 5.619 MB / 345.6 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.01206, allocations: 40.56 kB / 345.7 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003832/0.01589, allocations: 2.024 MB / 347.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00251/0.0184, allocations: 1.812 MB / 349.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009839/0.01938, allocations: 260 kB / 349.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.953/3.973, allocations: 1.226 GB / 1.568 GB, free: 124.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/3.974, allocations: 0.9792 MB / 1.569 GB, free: 124.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002462/3.977, allocations: 0.8806 MB / 1.57 GB, free: 124.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005293/3.982, allocations: 4.166 MB / 1.574 GB, free: 121.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/3.982, allocations: 3.062 kB / 1.574 GB, free: 121.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/3.982, allocations: 0 / 1.574 GB, free: 121.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.211e-05/3.982, allocations: 0 / 1.574 GB, free: 121.7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.004294/3.986, allocations: 2.017 MB / 1.576 GB, free: 119.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/3.986, allocations: 15.97 kB / 1.576 GB, free: 119.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/3.988, allocations: 0.5663 MB / 1.576 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/3.99, allocations: 1.525 MB / 1.578 GB, free: 117.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.443e-05/3.99, allocations: 127.7 kB / 1.578 GB, free: 117.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/3.991, allocations: 164.4 kB / 1.578 GB, free: 117.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003417/3.994, allocations: 2.6 MB / 1.58 GB, free: 114.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/3.994, allocations: 3.656 kB / 1.58 GB, free: 114.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/3.994, allocations: 71.94 kB / 1.58 GB, free: 114.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/3.994, allocations: 44 kB / 1.581 GB, free: 114.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04579/4.04, allocations: 44.24 MB / 1.624 GB, free: 70.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006098/4.046, allocations: 5.133 MB / 1.629 GB, free: 64.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2886/4.335, allocations: 69.97 MB / 1.697 GB, free: 133.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002112/4.337, allocations: 1.056 MB / 1.698 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005313/4.337, allocations: 254.3 kB / 1.698 GB, free: 131.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00254/4.34, allocations: 2.098 MB / 1.7 GB, free: 130.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=423): time 8.716e-06/4.34, allocations: 3.828 kB / 1.7 GB, free: 130.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=423): time 0.00977/4.35, allocations: 9.236 MB / 1.709 GB, free: 120.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/4.35, allocations: 124.9 kB / 1.71 GB, free: 120.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/4.35, allocations: 319.8 kB / 1.71 GB, free: 120.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002266/4.35, allocations: 105.3 kB / 1.71 GB, free: 120.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/4.35, allocations: 198 kB / 1.71 GB, free: 120 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007188/4.351, allocations: 1.47 MB / 1.712 GB, free: 118.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000928/4.352, allocations: 0.9716 MB / 1.713 GB, free: 117.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.684e-05/4.352, allocations: 0.4957 MB / 1.713 GB, free: 117.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/4.354, allocations: 0.9707 MB / 1.714 GB, free: 116.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/4.356, allocations: 1.294 MB / 1.715 GB, free: 115.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/4.359, allocations: 2.514 MB / 1.718 GB, free: 112.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/4.359, allocations: 0 / 1.718 GB, free: 112.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.009652/4.369, allocations: 11.68 MB / 1.729 GB, free: 100.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/4.369, allocations: 4 kB / 1.729 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/4.369, allocations: 5.969 kB / 1.729 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-05/4.369, allocations: 12 kB / 1.729 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/4.372, allocations: 1.095 MB / 1.73 GB, free: 99.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.563e-05/4.372, allocations: 19.98 kB / 1.73 GB, free: 99.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/4.373, allocations: 245.8 kB / 1.73 GB, free: 99.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/4.374, allocations: 327.2 kB / 1.731 GB, free: 99.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,globalSeed.seed,bandLimitedWhiteNoise.actualGlobalSeed,bandLimitedWhiteNoise.localSeed,spaceDomainNoiseMinimum.actualGlobalSeed,globalSeed.id_impure,spaceDomainNoiseMinimum.localSeed,bandLimitedWhiteNoise.r_raw,$PRE.bandLimitedWhiteNoise.r_raw,bandLimitedWhiteNoise.r,$PRE.bandLimitedWhiteNoise.r,bandLimitedWhiteNoise.state[4],$PRE.bandLimitedWhiteNoise.state[4],bandLimitedWhiteNoise.state[3],$PRE.bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[2],$PRE.bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[1],$PRE.bandLimitedWhiteNoise.state[1],position.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 435 * Array equations: 1 * 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.0008542/4.375, allocations: 341.4 kB / 1.731 GB, free: 98.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001704/4.376, allocations: 0.5615 MB / 1.732 GB, free: 98.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/4.389, allocations: 9.821 MB / 1.741 GB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/4.389, allocations: 40 kB / 1.741 GB, free: 88.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/4.389, allocations: 4 kB / 1.741 GB, free: 88.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/4.389, allocations: 19.92 kB / 1.741 GB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/4.391, allocations: 1.283 MB / 1.743 GB, free: 86.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/4.391, allocations: 0 / 1.743 GB, free: 86.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/4.394, allocations: 1.06 MB / 1.744 GB, free: 85.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-05/4.394, allocations: 12 kB / 1.744 GB, free: 85.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003987/4.394, allocations: 287.5 kB / 1.744 GB, free: 85.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.078e-05/4.394, allocations: 19.98 kB / 1.744 GB, free: 85.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/4.394, allocations: 0 / 1.744 GB, free: 85.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/4.407, allocations: 9.613 MB / 1.753 GB, free: 75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/4.408, allocations: 1.239 MB / 1.754 GB, free: 73.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/4.408, allocations: 71.98 kB / 1.755 GB, free: 73.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009887/4.409, allocations: 75.98 kB / 1.755 GB, free: 73.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005125/4.41, allocations: 402.4 kB / 1.755 GB, free: 73.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00044/4.41, allocations: 315.5 kB / 1.755 GB, free: 72.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001715/4.41, allocations: 219 kB / 1.755 GB, free: 72.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/4.41, allocations: 0 / 1.755 GB, free: 72.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002258/4.413, allocations: 0.6752 MB / 1.756 GB, free: 72.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (position.y,timeDomainFilter.x_scaled[1],timeDomainFilter.x_scaled[2]) * Number of discrete variables: 8 (spaceDomainNoiseMinimum.localSeed,$whenCondition1,bandLimitedWhiteNoise.state[1],bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[4],bandLimitedWhiteNoise.r,bandLimitedWhiteNoise.r_raw) * Number of discrete states: 4 (bandLimitedWhiteNoise.state[1],bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (419): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001728/4.414, allocations: 0.6921 MB / 1.757 GB, free: 71.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005349/4.42, allocations: 2.956 MB / 1.76 GB, free: 68.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/4.42, allocations: 0 / 1.76 GB, free: 68.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002905/4.423, allocations: 1.73 MB / 1.761 GB, free: 66.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/4.424, allocations: 381.5 kB / 1.762 GB, free: 66.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/4.428, allocations: 3.146 MB / 1.765 GB, free: 63.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/4.428, allocations: 425.3 kB / 1.765 GB, free: 62.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005808/4.434, allocations: 2.872 MB / 1.768 GB, free: 60.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/4.435, allocations: 0.6323 MB / 1.769 GB, free: 59.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/4.435, allocations: 4 kB / 1.769 GB, free: 59.39 MB / 410.7 MB Notification: Performance of Templates: time 0.1566/4.592, allocations: 39.95 MB / 1.808 GB, free: 160.1 MB / 410.7 MB " [Timeout remaining time 655] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.sim & ./AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain -abortSlowSimulation -alarm=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.053318152204156]