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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) 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.SpaceAndTimeDomain,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001567, allocations: 112.8 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001809, allocations: 190.7 kB / 17.35 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02524/0.02524, allocations: 3.905 MB / 295.1 MB, free: 11.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.84 kB / 407.6 MB, free: 28.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07044/0.07168, allocations: 50.18 MB / 457.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.00275/0.07447, allocations: 2.058 MB / 459.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005581/0.08006, allocations: 3.91 MB / 463.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.0802, allocations: 7.938 kB / 463.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.08052, allocations: 47.53 kB / 463.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.08068, allocations: 51.62 kB / 463.9 MB, free: 3.867 MB / 334.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.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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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.001478/0.08217, allocations: 0.6582 MB / 464.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004094/0.08628, allocations: 5.678 MB / 470.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.08642, allocations: 56.38 kB / 470.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.08817, allocations: 1.477 MB / 471.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.09047, allocations: 1.87 MB / 473.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000442/0.09092, allocations: 256 kB / 473.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.058/7.149, allocations: 1.215 GB / 1.678 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001115/7.15, allocations: 0.9776 MB / 1.679 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000942/7.151, allocations: 1.094 MB / 1.68 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00251/7.153, allocations: 3.794 MB / 1.683 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/7.153, allocations: 0 / 1.683 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/7.153, allocations: 0 / 1.683 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.443e-05/7.153, allocations: 0 / 1.683 GB, free: 154.4 MB / 0.5294 GB 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.005501/7.159, allocations: 1.974 MB / 1.685 GB, free: 153 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/7.159, allocations: 8.844 kB / 1.685 GB, free: 153 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/7.161, allocations: 355.4 kB / 1.686 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003823/7.164, allocations: 1.606 MB / 1.687 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/7.164, allocations: 122.9 kB / 1.687 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003742/7.165, allocations: 167.8 kB / 1.688 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004297/7.169, allocations: 3.604 MB / 1.691 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/7.169, allocations: 2.344 kB / 1.691 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/7.169, allocations: 70.92 kB / 1.691 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/7.17, allocations: 39.19 kB / 1.691 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0893/7.259, allocations: 62.47 MB / 1.752 GB, free: 87.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008731/7.268, allocations: 6.925 MB / 1.759 GB, free: 80.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2573/7.525, allocations: 48.16 MB / 1.806 GB, free: 31.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/7.528, allocations: 2.323 MB / 1.808 GB, free: 29.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/7.529, allocations: 448.9 kB / 1.809 GB, free: 29.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1724/7.701, allocations: 3.047 MB / 1.812 GB, free: 214.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=423): time 1.162e-05/7.701, allocations: 1.125 kB / 1.812 GB, free: 214.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=423): time 0.01858/7.72, allocations: 12.56 MB / 1.824 GB, free: 211.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/7.72, allocations: 132.2 kB / 1.824 GB, free: 211.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/7.72, allocations: 318.4 kB / 1.824 GB, free: 211.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002574/7.72, allocations: 103.8 kB / 1.824 GB, free: 211.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/7.72, allocations: 150.5 kB / 1.825 GB, free: 211.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007806/7.721, allocations: 1.392 MB / 1.826 GB, free: 209.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/7.722, allocations: 0.9547 MB / 1.827 GB, free: 209.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/7.722, allocations: 326.8 kB / 1.827 GB, free: 208.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/7.725, allocations: 2.036 MB / 1.829 GB, free: 207 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/7.728, allocations: 2.291 MB / 1.831 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00652/7.735, allocations: 4.754 MB / 1.836 GB, free: 199.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/7.735, allocations: 0 / 1.836 GB, free: 199.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=439) (initialization): time 0.01301/7.748, allocations: 13.4 MB / 1.849 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/7.748, allocations: 4 kB / 1.849 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/7.748, allocations: 12.11 kB / 1.849 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/7.748, allocations: 16 kB / 1.849 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004/7.752, allocations: 1.078 MB / 1.85 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.648e-05/7.752, allocations: 22.62 kB / 1.85 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/7.753, allocations: 249.3 kB / 1.85 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004413/7.754, allocations: 319.5 kB / 1.851 GB, free: 184.8 MB / 0.5294 GB 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.0008798/7.755, allocations: 0.5241 MB / 1.851 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/7.756, allocations: 354.8 kB / 1.852 GB, free: 184 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/7.771, allocations: 12.32 MB / 1.864 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/7.771, allocations: 23.75 kB / 1.864 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/7.771, allocations: 0 / 1.864 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/7.772, allocations: 1.317 MB / 1.865 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/7.773, allocations: 79.98 kB / 1.865 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/7.774, allocations: 75.98 kB / 1.865 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005448/7.775, allocations: 394.5 kB / 1.866 GB, free: 169.9 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01235/7.787, allocations: 11.22 MB / 1.876 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01518/7.802, allocations: 14.16 MB / 1.89 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002942/7.805, allocations: 2.516 MB / 1.893 GB, free: 142 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003252/7.806, allocations: 225.9 kB / 1.893 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of Backend: time 4.11e-07/7.806, allocations: 0 / 1.893 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006533/7.812, allocations: 3.785 MB / 1.897 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002852/7.815, allocations: 2.917 MB / 1.9 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.06949/7.884, allocations: 70 MB / 1.968 GB, free: 65.04 MB / 0.5294 GB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.makefile (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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe 2>&1)