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.001565/0.001565, allocations: 108.1 kB / 16.41 MB, free: 6.508 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.001834/0.001834, allocations: 190.7 kB / 17.35 MB, free: 5.734 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02549/0.02549, allocations: 3.906 MB / 295.1 MB, free: 11.03 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 407.6 MB, free: 28.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06989/0.07113, allocations: 50.19 MB / 457.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.003036/0.07421, allocations: 2.058 MB / 459.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005708/0.07993, allocations: 3.906 MB / 463.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.08007, allocations: 11.88 kB / 463.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.08038, allocations: 47.53 kB / 463.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.08055, allocations: 55.69 kB / 463.9 MB, free: 3.852 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.001461/0.08202, allocations: 0.6582 MB / 464.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004129/0.08616, allocations: 5.678 MB / 470.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.08628, allocations: 40.41 kB / 470.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.08771, allocations: 1.489 MB / 471.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.09, allocations: 1.867 MB / 473.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004706/0.09048, allocations: 256 kB / 473.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 10.18/10.27, allocations: 1.215 GB / 1.678 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001043/10.27, allocations: 0.9796 MB / 1.679 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009094/10.27, allocations: 1.093 MB / 1.68 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002785/10.27, allocations: 3.799 MB / 1.683 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/10.27, allocations: 1.969 kB / 1.683 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/10.27, allocations: 0 / 1.683 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.814e-05/10.27, allocations: 0 / 1.683 GB, free: 154.3 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.005042/10.28, allocations: 2.013 MB / 1.685 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/10.28, allocations: 9.812 kB / 1.685 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/10.28, allocations: 364.6 kB / 1.686 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/10.28, allocations: 1.609 MB / 1.687 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-05/10.28, allocations: 126.3 kB / 1.687 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003866/10.28, allocations: 164.9 kB / 1.688 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/10.29, allocations: 3.607 MB / 1.691 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/10.29, allocations: 0 / 1.691 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/10.29, allocations: 67.84 kB / 1.691 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/10.29, allocations: 39.56 kB / 1.691 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09435/10.38, allocations: 62.47 MB / 1.752 GB, free: 87.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00821/10.39, allocations: 6.933 MB / 1.759 GB, free: 80.19 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2539/10.64, allocations: 48.15 MB / 1.806 GB, free: 31.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003038/10.65, allocations: 2.318 MB / 1.808 GB, free: 29.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/10.65, allocations: 450.3 kB / 1.809 GB, free: 29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1778/10.83, allocations: 3.064 MB / 1.812 GB, free: 214.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=423): time 7.404e-06/10.83, allocations: 0 / 1.812 GB, free: 214.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=423): time 0.0183/10.84, allocations: 12.57 MB / 1.824 GB, free: 211.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/10.84, allocations: 126.3 kB / 1.824 GB, free: 211.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/10.84, allocations: 311 kB / 1.824 GB, free: 211.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002608/10.84, allocations: 106.4 kB / 1.825 GB, free: 211.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/10.84, allocations: 152.8 kB / 1.825 GB, free: 210.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007634/10.85, allocations: 1.461 MB / 1.826 GB, free: 209.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/10.85, allocations: 0.9579 MB / 1.827 GB, free: 209 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.334e-05/10.85, allocations: 323.2 kB / 1.827 GB, free: 208.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/10.85, allocations: 2.031 MB / 1.829 GB, free: 206.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003047/10.85, allocations: 2.297 MB / 1.832 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006667/10.86, allocations: 4.751 MB / 1.836 GB, free: 199.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/10.86, allocations: 0 / 1.836 GB, free: 199.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=439) (initialization): time 0.01329/10.87, allocations: 13.41 MB / 1.849 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/10.87, allocations: 4 kB / 1.849 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/10.87, allocations: 6.953 kB / 1.849 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/10.87, allocations: 22.19 kB / 1.849 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004106/10.88, allocations: 1.083 MB / 1.85 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/10.88, allocations: 18.06 kB / 1.85 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/10.88, allocations: 246.1 kB / 1.851 GB, free: 185 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000495/10.88, allocations: 323.5 kB / 1.851 GB, free: 184.7 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.0009162/10.88, allocations: 0.528 MB / 1.851 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001451/10.88, allocations: 358.9 kB / 1.852 GB, free: 183.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/10.9, allocations: 12.32 MB / 1.864 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/10.9, allocations: 19.92 kB / 1.864 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/10.9, allocations: 0 / 1.864 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/10.9, allocations: 1.329 MB / 1.865 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00038/10.9, allocations: 75.98 kB / 1.865 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/10.9, allocations: 83.97 kB / 1.865 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006238/10.9, allocations: 390.4 kB / 1.866 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01256/10.91, allocations: 11.22 MB / 1.877 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0156/10.93, allocations: 14.18 MB / 1.89 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003089/10.93, allocations: 2.519 MB / 1.893 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003464/10.93, allocations: 225.9 kB / 1.893 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of Backend: time 5.41e-07/10.93, allocations: 3.938 kB / 1.893 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006762/10.94, allocations: 3.785 MB / 1.897 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002968/10.94, allocations: 2.963 MB / 1.9 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.07585/11.02, allocations: 70 MB / 1.968 GB, free: 64.75 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)