Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.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.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001148, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001206/0.001206, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02536/0.02536, allocations: 3.91 MB / 295.1 MB, free: 11.03 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.12 kB / 407.6 MB, free: 28.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07452/0.07577, allocations: 50.18 MB / 457.8 MB, free: 10 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.003105/0.07891, allocations: 2.057 MB / 459.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006161/0.08509, allocations: 3.902 MB / 463.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.0853, allocations: 7.938 kB / 463.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.08564, allocations: 55.52 kB / 463.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.08586, allocations: 51.64 kB / 463.9 MB, free: 3.883 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.FilterAndConvolution.spaceDomainNoiseMinimum.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.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.FilterAndConvolution.spaceDomainNoiseMinimum.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseMinimum.convertRealToIntegers'. [/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.FilterAndConvolution.spaceDomainNoiseWhite.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseWhite.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.FilterAndConvolution.spaceDomainNoiseWhite.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseWhite.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.08771, allocations: 0.7196 MB / 464.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004653/0.09237, allocations: 5.732 MB / 470.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.09255, allocations: 56.36 kB / 470.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.09473, allocations: 1.493 MB / 471.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/0.09728, allocations: 1.872 MB / 473.7 MB, free: 10 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007532/0.09805, allocations: 256 kB / 474 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 10.06/10.15, allocations: 1.215 GB / 1.678 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001229/10.16, allocations: 0.982 MB / 1.679 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001876/10.16, allocations: 1.097 MB / 1.68 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00401/10.16, allocations: 3.865 MB / 1.684 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/10.16, allocations: 0 / 1.684 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/10.16, allocations: 0 / 1.684 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.918e-05/10.16, allocations: 0 / 1.684 GB, free: 154.1 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005839/10.17, allocations: 2.028 MB / 1.686 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/10.17, allocations: 9.344 kB / 1.686 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/10.17, allocations: 392.7 kB / 1.686 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/10.17, allocations: 1.619 MB / 1.688 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/10.17, allocations: 122 kB / 1.688 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/10.17, allocations: 171.6 kB / 1.688 GB, free: 151 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004388/10.18, allocations: 3.619 MB / 1.691 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/10.18, allocations: 3.938 kB / 1.691 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/10.18, allocations: 67.03 kB / 1.692 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/10.18, allocations: 42.69 kB / 1.692 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09451/10.27, allocations: 62.51 MB / 1.753 GB, free: 86.77 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007901/10.28, allocations: 6.882 MB / 1.759 GB, free: 79.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2462/10.53, allocations: 48.99 MB / 1.807 GB, free: 30.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003059/10.53, allocations: 2.32 MB / 1.809 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007816/10.53, allocations: 0.6059 MB / 1.81 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1809/10.71, allocations: 75.22 kB / 1.81 GB, free: 215.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=422): time 1.957e-05/10.71, allocations: 1.219 kB / 1.81 GB, free: 215.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=422): time 0.02218/10.73, allocations: 12.58 MB / 1.822 GB, free: 212.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/10.73, allocations: 99.28 kB / 1.822 GB, free: 212.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/10.73, allocations: 311.5 kB / 1.823 GB, free: 212.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005358/10.74, allocations: 93.7 kB / 1.823 GB, free: 212.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/10.74, allocations: 154.2 kB / 1.823 GB, free: 212.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/10.74, allocations: 1.454 MB / 1.824 GB, free: 210.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001997/10.74, allocations: 0.9428 MB / 1.825 GB, free: 210.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.239e-05/10.74, allocations: 327.4 kB / 1.826 GB, free: 210 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003298/10.74, allocations: 2.02 MB / 1.828 GB, free: 208.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003699/10.75, allocations: 2.27 MB / 1.83 GB, free: 206.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007456/10.75, allocations: 4.73 MB / 1.834 GB, free: 201.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/10.75, allocations: 0 / 1.834 GB, free: 201.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01422/10.77, allocations: 13.41 MB / 1.848 GB, free: 188.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/10.77, allocations: 10.66 kB / 1.848 GB, free: 188.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/10.77, allocations: 0 / 1.848 GB, free: 188.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/10.77, allocations: 20.09 kB / 1.848 GB, free: 188.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004124/10.77, allocations: 1.087 MB / 1.849 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.45e-05/10.77, allocations: 18.44 kB / 1.849 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/10.77, allocations: 245 kB / 1.849 GB, free: 187 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005279/10.77, allocations: 355.3 kB / 1.849 GB, free: 186.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 (globalSeed.seed,spaceDomainNoiseWhite.actualGlobalSeed,spaceDomainNoiseMinimum.actualGlobalSeed,globalSeed.id_impure,spaceDomainNoiseWhite.localSeed,spaceDomainNoiseMinimum.localSeed,position.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 431 * 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.0008937/10.77, allocations: 0.517 MB / 1.85 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001599/10.78, allocations: 362.9 kB / 1.85 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/10.79, allocations: 12.38 MB / 1.862 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-05/10.79, allocations: 19.92 kB / 1.862 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/10.79, allocations: 7 kB / 1.862 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/10.79, allocations: 1.349 MB / 1.864 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/10.79, allocations: 68 kB / 1.864 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/10.79, allocations: 79.97 kB / 1.864 GB, free: 172 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006224/10.8, allocations: 390.6 kB / 1.864 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01248/10.81, allocations: 11.03 MB / 1.875 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01554/10.82, allocations: 14.12 MB / 1.889 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003069/10.83, allocations: 2.52 MB / 1.891 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003414/10.83, allocations: 225.9 kB / 1.891 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of Backend: time 4.11e-07/10.83, allocations: 4 kB / 1.891 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00659/10.83, allocations: 3.801 MB / 1.895 GB, free: 140 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002851/10.84, allocations: 2.987 MB / 1.898 GB, free: 137 MB / 0.5294 GB Notification: Performance of Templates: time 0.07256/10.91, allocations: 70.86 MB / 1.967 GB, free: 65.99 MB / 0.5294 GB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.sim & ./AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1)