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.001173/0.001173, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 195.8 kB / 16.63 MB, free: 6.609 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.39/1.39, allocations: 222.9 MB / 240.3 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1298/0.1298, allocations: 3.879 MB / 294.4 MB, free: 3.195 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 59.91 kB / 406.9 MB, free: 200 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2909, allocations: 50.18 MB / 457 MB, free: 20.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002838/0.2938, allocations: 2.052 MB / 459.1 MB, free: 19.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00538/0.2992, allocations: 3.915 MB / 463 MB, free: 16.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.2994, allocations: 7.25 kB / 463 MB, free: 16.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.2998, allocations: 55.25 kB / 463.1 MB, free: 16.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.3, allocations: 50.64 kB / 463.1 MB, free: 16.74 MB / 350.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.00188/0.3019, allocations: 0.7211 MB / 463.8 MB, free: 16.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00498/0.3069, allocations: 5.725 MB / 469.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.3071, allocations: 56.58 kB / 469.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.3101, allocations: 1.488 MB / 471.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/0.3131, allocations: 1.873 MB / 473 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.3144, allocations: 260.3 kB / 473.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.446/7.76, allocations: 1.215 GB / 1.677 GB, free: 36.97 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00241/7.763, allocations: 0.9802 MB / 1.678 GB, free: 36.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/7.764, allocations: 1.097 MB / 1.679 GB, free: 35.42 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004265/7.768, allocations: 3.85 MB / 1.683 GB, free: 32.03 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/7.768, allocations: 0 / 1.683 GB, free: 32.03 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.485e-06/7.768, allocations: 4 kB / 1.683 GB, free: 32.03 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.637e-05/7.768, allocations: 1.719 kB / 1.683 GB, free: 32.03 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.005823/7.774, allocations: 1.98 MB / 1.685 GB, free: 30 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/7.774, allocations: 11.89 kB / 1.685 GB, free: 29.99 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/7.776, allocations: 387 kB / 1.685 GB, free: 29.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003824/7.78, allocations: 1.615 MB / 1.687 GB, free: 28 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.395e-05/7.78, allocations: 127.8 kB / 1.687 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004199/7.781, allocations: 168.5 kB / 1.687 GB, free: 27.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/7.785, allocations: 3.618 MB / 1.691 GB, free: 24.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/7.786, allocations: 0 / 1.691 GB, free: 24.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/7.786, allocations: 72.84 kB / 1.691 GB, free: 24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/7.786, allocations: 40 kB / 1.691 GB, free: 23.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3553/8.141, allocations: 62.51 MB / 1.752 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008927/8.15, allocations: 6.887 MB / 1.759 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2667/8.417, allocations: 48.99 MB / 1.806 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003417/8.42, allocations: 2.324 MB / 1.809 GB, free: 120 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009608/8.421, allocations: 0.6014 MB / 1.809 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/8.421, allocations: 78.73 kB / 1.809 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=422): time 5.55e-06/8.421, allocations: 0 / 1.809 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=422): time 0.01694/8.438, allocations: 12.57 MB / 1.822 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/8.438, allocations: 95.84 kB / 1.822 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/8.439, allocations: 310.9 kB / 1.822 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004074/8.439, allocations: 97.7 kB / 1.822 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/8.439, allocations: 146.8 kB / 1.822 GB, free: 106 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/8.441, allocations: 1.391 MB / 1.824 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001737/8.442, allocations: 0.9406 MB / 1.824 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.18e-05/8.442, allocations: 329.9 kB / 1.825 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003536/8.446, allocations: 2.017 MB / 1.827 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003717/8.45, allocations: 2.268 MB / 1.829 GB, free: 99.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007939/8.458, allocations: 4.725 MB / 1.834 GB, free: 94.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/8.458, allocations: 5.406 kB / 1.834 GB, free: 94.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01607/8.474, allocations: 13.4 MB / 1.847 GB, free: 80.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/8.474, allocations: 4.625 kB / 1.847 GB, free: 80.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/8.474, allocations: 4.094 kB / 1.847 GB, free: 80.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.744e-05/8.474, allocations: 20.56 kB / 1.847 GB, free: 80.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004937/8.479, allocations: 1.092 MB / 1.848 GB, free: 79.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.024e-05/8.479, allocations: 22.83 kB / 1.848 GB, free: 79.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/8.481, allocations: 229.5 kB / 1.848 GB, free: 79.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/8.483, allocations: 347.4 kB / 1.848 GB, free: 79.19 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.002445/8.485, allocations: 0.5282 MB / 1.849 GB, free: 78.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002447/8.488, allocations: 342.1 kB / 1.849 GB, free: 78.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01862/8.506, allocations: 12.37 MB / 1.861 GB, free: 66.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/8.506, allocations: 40 kB / 1.861 GB, free: 66.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/8.506, allocations: 4 kB / 1.861 GB, free: 66.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.78e-05/8.506, allocations: 19.92 kB / 1.861 GB, free: 66.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/8.509, allocations: 2.494 MB / 1.864 GB, free: 63.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/8.509, allocations: 0 / 1.864 GB, free: 63.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004369/8.514, allocations: 1.072 MB / 1.865 GB, free: 62.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.478e-05/8.514, allocations: 12 kB / 1.865 GB, free: 62.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006772/8.514, allocations: 295.5 kB / 1.865 GB, free: 62.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.366e-05/8.514, allocations: 16 kB / 1.865 GB, free: 62.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/8.514, allocations: 0 / 1.865 GB, free: 62.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01959/8.534, allocations: 13.92 MB / 1.879 GB, free: 48.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/8.536, allocations: 1.34 MB / 1.88 GB, free: 46.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005122/8.536, allocations: 67.98 kB / 1.88 GB, free: 46.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/8.538, allocations: 79.98 kB / 1.88 GB, free: 46.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006815/8.539, allocations: 390.6 kB / 1.881 GB, free: 46.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006567/8.539, allocations: 344 kB / 1.881 GB, free: 46.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004122/8.54, allocations: 225.9 kB / 1.881 GB, free: 45.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/8.54, allocations: 0 / 1.881 GB, free: 45.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003206/8.543, allocations: 0.6877 MB / 1.882 GB, free: 45.14 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (position.y,spaceDomainFilter.x_scaled[1],spaceDomainFilter.x_scaled[2]) * Number of discrete variables: 2 (spaceDomainNoiseMinimum.localSeed,spaceDomainNoiseWhite.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (422): * Single equations (assignments): 420 * 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.002396/8.545, allocations: 0.6602 MB / 1.882 GB, free: 44.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01063/8.556, allocations: 5.178 MB / 1.887 GB, free: 39.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/8.556, allocations: 0 / 1.887 GB, free: 39.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.2578/8.814, allocations: 2.85 MB / 1.89 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/8.816, allocations: 158.7 kB / 1.89 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/8.823, allocations: 4.435 MB / 1.895 GB, free: 202.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000892/8.824, allocations: 1.334 MB / 1.896 GB, free: 202.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008633/8.833, allocations: 3.006 MB / 1.899 GB, free: 201.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/8.835, allocations: 0.6368 MB / 1.9 GB, free: 201.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.312e-06/8.835, allocations: 0 / 1.9 GB, free: 201.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.07054/8.906, allocations: 39.52 MB / 1.938 GB, free: 176 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)