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.001367/0.001367, allocations: 114.4 kB / 16.37 MB, free: 6.016 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.001819/0.001819, allocations: 194.9 kB / 17.3 MB, free: 5.613 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02561/0.02561, allocations: 3.913 MB / 295.1 MB, free: 11.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 55.91 kB / 356.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.216, allocations: 50.18 MB / 407.1 MB, free: 31.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002845/0.2188, allocations: 2.057 MB / 409.2 MB, free: 29.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005151/0.224, allocations: 3.909 MB / 413.1 MB, free: 25.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.2243, allocations: 7.938 kB / 413.1 MB, free: 25.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.2247, allocations: 51.52 kB / 413.1 MB, free: 25.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.2249, allocations: 43.66 kB / 413.2 MB, free: 25.87 MB / 302.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.001719/0.2267, allocations: 0.7127 MB / 413.9 MB, free: 25.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003041/0.2297, allocations: 5.732 MB / 419.6 MB, free: 19.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.2299, allocations: 60.36 kB / 419.7 MB, free: 19.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.2314, allocations: 1.493 MB / 421.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.2329, allocations: 1.872 MB / 423 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.2333, allocations: 256 kB / 423.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153/7.386, allocations: 1.215 GB / 1.628 GB, free: 159.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001514/7.388, allocations: 0.984 MB / 1.629 GB, free: 159.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/7.389, allocations: 1.09 MB / 1.63 GB, free: 159.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003307/7.392, allocations: 3.856 MB / 1.634 GB, free: 158 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/7.392, allocations: 0 / 1.634 GB, free: 158 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/7.392, allocations: 1.938 kB / 1.634 GB, free: 158 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.989e-05/7.392, allocations: 0 / 1.634 GB, free: 158 MB / 462.1 MB 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.005356/7.398, allocations: 2 MB / 1.636 GB, free: 156.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/7.398, allocations: 15.73 kB / 1.636 GB, free: 156.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/7.4, allocations: 374.6 kB / 1.637 GB, free: 156.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/7.404, allocations: 1.613 MB / 1.638 GB, free: 155.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.494e-05/7.404, allocations: 128.1 kB / 1.638 GB, free: 155 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003975/7.404, allocations: 170.8 kB / 1.638 GB, free: 155 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004721/7.409, allocations: 3.626 MB / 1.642 GB, free: 151.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/7.409, allocations: 3.984 kB / 1.642 GB, free: 151.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/7.409, allocations: 64 kB / 1.642 GB, free: 151.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/7.409, allocations: 40 kB / 1.642 GB, free: 151.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09225/7.502, allocations: 62.5 MB / 1.703 GB, free: 88.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008681/7.51, allocations: 6.882 MB / 1.71 GB, free: 81.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2351/7.746, allocations: 48.99 MB / 1.758 GB, free: 32.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003146/7.749, allocations: 2.324 MB / 1.76 GB, free: 30.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008195/7.75, allocations: 0.6057 MB / 1.76 GB, free: 29.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/7.75, allocations: 77.53 kB / 1.761 GB, free: 29.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=422): time 6.021e-06/7.75, allocations: 0 / 1.761 GB, free: 29.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=422): time 0.2278/7.977, allocations: 12.57 MB / 1.773 GB, free: 181.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/7.978, allocations: 98.47 kB / 1.773 GB, free: 181.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/7.978, allocations: 311.7 kB / 1.773 GB, free: 181.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006642/7.979, allocations: 97.11 kB / 1.773 GB, free: 181.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/7.979, allocations: 154.5 kB / 1.773 GB, free: 181.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00117/7.98, allocations: 1.382 MB / 1.775 GB, free: 180.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/7.981, allocations: 0.9484 MB / 1.776 GB, free: 179.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.88e-05/7.982, allocations: 322 kB / 1.776 GB, free: 178.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/7.984, allocations: 2.02 MB / 1.778 GB, free: 176.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003015/7.987, allocations: 2.275 MB / 1.78 GB, free: 174.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00648/7.994, allocations: 4.728 MB / 1.785 GB, free: 169.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/7.994, allocations: 4 kB / 1.785 GB, free: 169.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01287/8.007, allocations: 13.4 MB / 1.798 GB, free: 156.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/8.007, allocations: 11.17 kB / 1.798 GB, free: 156.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/8.007, allocations: 4 kB / 1.798 GB, free: 156.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/8.007, allocations: 12 kB / 1.798 GB, free: 156.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/8.011, allocations: 1.095 MB / 1.799 GB, free: 155.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.813e-05/8.011, allocations: 16 kB / 1.799 GB, free: 155.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/8.012, allocations: 233.4 kB / 1.799 GB, free: 155.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005486/8.013, allocations: 347.4 kB / 1.8 GB, free: 154.7 MB / 462.1 MB 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.0008884/8.014, allocations: 0.5215 MB / 1.8 GB, free: 154.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/8.015, allocations: 346.1 kB / 1.8 GB, free: 153.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/8.03, allocations: 12.37 MB / 1.813 GB, free: 141.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/8.03, allocations: 40 kB / 1.813 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/8.03, allocations: 0 / 1.813 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.023e-05/8.03, allocations: 19.92 kB / 1.813 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/8.033, allocations: 2.502 MB / 1.815 GB, free: 139.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/8.033, allocations: 0 / 1.815 GB, free: 139.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003818/8.036, allocations: 1.072 MB / 1.816 GB, free: 138.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.562e-05/8.037, allocations: 12 kB / 1.816 GB, free: 138.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003692/8.037, allocations: 295.5 kB / 1.816 GB, free: 137.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.535e-05/8.037, allocations: 16 kB / 1.816 GB, free: 137.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/8.037, allocations: 0 / 1.816 GB, free: 137.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/8.053, allocations: 13.91 MB / 1.83 GB, free: 123.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/8.055, allocations: 1.344 MB / 1.831 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/8.055, allocations: 64 kB / 1.831 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/8.056, allocations: 79.97 kB / 1.831 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006055/8.057, allocations: 392.2 kB / 1.832 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005493/8.058, allocations: 347.5 kB / 1.832 GB, free: 121.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003773/8.058, allocations: 229.8 kB / 1.832 GB, free: 121.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/8.058, allocations: 0 / 1.832 GB, free: 121.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002656/8.061, allocations: 0.675 MB / 1.833 GB, free: 120.7 MB / 462.1 MB 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.001617/8.062, allocations: 0.6687 MB / 1.834 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006882/8.069, allocations: 5.174 MB / 1.839 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/8.069, allocations: 0 / 1.839 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003539/8.073, allocations: 2.852 MB / 1.841 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008838/8.074, allocations: 162.5 kB / 1.842 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/8.079, allocations: 4.437 MB / 1.846 GB, free: 107.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/8.079, allocations: 1.327 MB / 1.847 GB, free: 106.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006605/8.086, allocations: 3.008 MB / 1.85 GB, free: 103.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/8.087, allocations: 0.639 MB / 1.851 GB, free: 102.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.603e-06/8.087, allocations: 0 / 1.851 GB, free: 102.7 MB / 462.1 MB Notification: Performance of Templates: time 0.05234/8.14, allocations: 39.52 MB / 1.889 GB, free: 63.12 MB / 462.1 MB 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 -s cvode -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1)