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.001036/0.001036, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.001239/0.001239, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02354/0.02354, allocations: 3.907 MB / 295.1 MB, free: 11.06 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 356.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2097, 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.002633/0.2124, allocations: 2.056 MB / 409.2 MB, free: 29.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004641/0.217, allocations: 3.901 MB / 413.1 MB, free: 25.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.2172, allocations: 7.938 kB / 413.1 MB, free: 25.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.2175, allocations: 59.44 kB / 413.1 MB, free: 25.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.2176, allocations: 43.72 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.001357/0.219, allocations: 0.7126 MB / 413.9 MB, free: 25.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.2219, allocations: 5.728 MB / 419.6 MB, free: 19.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2221, allocations: 52.38 kB / 419.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.2231, allocations: 1.497 MB / 421.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.2247, allocations: 1.872 MB / 423 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000523/0.2252, allocations: 256 kB / 423.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.919/7.144, allocations: 1.215 GB / 1.628 GB, free: 159.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001715/7.146, allocations: 0.9808 MB / 1.629 GB, free: 159.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/7.147, allocations: 1.095 MB / 1.63 GB, free: 159.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003167/7.151, allocations: 3.856 MB / 1.634 GB, free: 158 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/7.151, allocations: 4 kB / 1.634 GB, free: 158 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.923e-06/7.151, allocations: 0.5625 kB / 1.634 GB, free: 158 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.86e-05/7.151, allocations: 7.344 kB / 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.005223/7.156, allocations: 1.979 MB / 1.636 GB, free: 156.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/7.156, allocations: 11.2 kB / 1.636 GB, free: 156.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/7.158, allocations: 386.9 kB / 1.637 GB, free: 156.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003935/7.162, allocations: 1.622 MB / 1.638 GB, free: 155.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.235e-05/7.162, allocations: 128 kB / 1.638 GB, free: 155.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/7.162, allocations: 170.8 kB / 1.638 GB, free: 155 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004708/7.167, allocations: 3.618 MB / 1.642 GB, free: 151.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/7.167, allocations: 0 / 1.642 GB, free: 151.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/7.167, allocations: 72 kB / 1.642 GB, free: 151.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/7.167, allocations: 40 kB / 1.642 GB, free: 151.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09464/7.262, allocations: 62.5 MB / 1.703 GB, free: 88.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009671/7.272, allocations: 6.885 MB / 1.71 GB, free: 81.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.243/7.515, allocations: 49 MB / 1.758 GB, free: 32.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/7.518, allocations: 2.322 MB / 1.76 GB, free: 30.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008194/7.519, allocations: 0.6009 MB / 1.76 GB, free: 29.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/7.519, allocations: 77.88 kB / 1.761 GB, free: 29.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=422): time 5.891e-06/7.519, allocations: 0 / 1.761 GB, free: 29.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=422): time 0.1771/7.696, allocations: 12.57 MB / 1.773 GB, free: 181.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/7.696, allocations: 98.47 kB / 1.773 GB, free: 181.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/7.697, allocations: 306.4 kB / 1.773 GB, free: 181.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006035/7.697, allocations: 97.02 kB / 1.773 GB, free: 181.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/7.697, allocations: 157.2 kB / 1.773 GB, free: 181.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001147/7.698, allocations: 1.377 MB / 1.775 GB, free: 180 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/7.7, allocations: 0.9498 MB / 1.776 GB, free: 179.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/7.7, allocations: 326 kB / 1.776 GB, free: 178.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003039/7.703, allocations: 2.018 MB / 1.778 GB, free: 176.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003565/7.707, allocations: 2.271 MB / 1.78 GB, free: 174.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006897/7.714, allocations: 4.726 MB / 1.785 GB, free: 169.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/7.714, allocations: 0 / 1.785 GB, free: 169.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01329/7.727, allocations: 13.4 MB / 1.798 GB, free: 156.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/7.727, allocations: 14.28 kB / 1.798 GB, free: 156.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/7.727, allocations: 0 / 1.798 GB, free: 156.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/7.727, allocations: 16 kB / 1.798 GB, free: 156.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00398/7.731, allocations: 1.091 MB / 1.799 GB, free: 155.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.363e-05/7.731, allocations: 16 kB / 1.799 GB, free: 155.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/7.733, allocations: 246.4 kB / 1.799 GB, free: 155.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000519/7.733, allocations: 346.2 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.0008581/7.734, allocations: 0.5177 MB / 1.8 GB, free: 154.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/7.736, allocations: 346.2 kB / 1.8 GB, free: 153.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/7.751, allocations: 12.38 MB / 1.813 GB, free: 141.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/7.751, allocations: 44 kB / 1.813 GB, free: 141.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/7.751, allocations: 0 / 1.813 GB, free: 141.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-05/7.751, allocations: 19.92 kB / 1.813 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/7.754, allocations: 2.492 MB / 1.815 GB, free: 139.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/7.754, allocations: 0 / 1.815 GB, free: 139.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004088/7.758, allocations: 1.068 MB / 1.816 GB, free: 138.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.874e-05/7.758, allocations: 12 kB / 1.816 GB, free: 138.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005519/7.759, allocations: 295.5 kB / 1.816 GB, free: 137.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-05/7.759, allocations: 17.5 kB / 1.816 GB, free: 137.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/7.759, allocations: 0 / 1.816 GB, free: 137.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/7.776, allocations: 13.91 MB / 1.83 GB, free: 123.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001779/7.778, allocations: 1.344 MB / 1.831 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004686/7.778, allocations: 67.98 kB / 1.831 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/7.78, allocations: 79.98 kB / 1.831 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006517/7.781, allocations: 390.6 kB / 1.832 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006381/7.781, allocations: 339.4 kB / 1.832 GB, free: 121.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003635/7.782, allocations: 229.9 kB / 1.832 GB, free: 121.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/7.782, allocations: 0 / 1.832 GB, free: 121.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002663/7.784, allocations: 0.6777 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.002106/7.786, allocations: 0.6662 MB / 1.834 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00801/7.794, allocations: 5.178 MB / 1.839 GB, free: 115 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/7.794, allocations: 0 / 1.839 GB, free: 115 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004118/7.799, 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.001121/7.8, allocations: 160.8 kB / 1.842 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/7.805, allocations: 4.441 MB / 1.846 GB, free: 107.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/7.806, allocations: 1.331 MB / 1.847 GB, free: 106.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007658/7.814, allocations: 3.003 MB / 1.85 GB, free: 103.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/7.816, allocations: 0.6468 MB / 1.851 GB, free: 102.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/7.816, allocations: 0 / 1.851 GB, free: 102.7 MB / 462.1 MB Notification: Performance of Templates: time 0.05418/7.87, allocations: 39.51 MB / 1.889 GB, free: 63.16 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 gbode -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1)