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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.0363/0.0363, allocations: 3.154 MB / 263.4 MB, free: 10.14 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 333.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.981e-05, allocations: 10.25 kB / 333.5 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.003708/0.003738, allocations: 2.046 MB / 335.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006535/0.01027, allocations: 3.867 MB / 339.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.01059, allocations: 7.875 kB / 339.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.011, allocations: 59.45 kB / 339.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.01121, allocations: 55.58 kB / 339.5 MB, free: 10.26 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 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 master/Sources/SignalBasedNoise.mo:248:3-259: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 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 master/Sources/SignalBasedNoise.mo:248:3-259: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.002126/0.01333, allocations: 0.7693 MB / 340.3 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003678/0.01701, allocations: 5.673 MB / 346 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.01718, allocations: 40.52 kB / 346 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/0.02081, allocations: 2.036 MB / 348.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.02326, allocations: 1.813 MB / 349.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007257/0.02399, allocations: 256 kB / 350.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.325/5.349, allocations: 1.225 GB / 1.567 GB, free: 124.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001392/5.351, allocations: 0.9854 MB / 1.568 GB, free: 124.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001281/5.352, allocations: 0.8833 MB / 1.569 GB, free: 124.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004099/5.356, allocations: 4.233 MB / 1.573 GB, free: 121.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/5.356, allocations: 0 / 1.573 GB, free: 121.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/5.356, allocations: 0 / 1.573 GB, free: 121.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.675e-05/5.356, allocations: 3.656 kB / 1.573 GB, free: 121.7 MB / 410.7 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.0033/5.36, allocations: 2.036 MB / 1.575 GB, free: 119.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/5.36, allocations: 12.03 kB / 1.575 GB, free: 119.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/5.361, allocations: 0.6053 MB / 1.576 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/5.363, allocations: 1.532 MB / 1.577 GB, free: 117.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/5.363, allocations: 131.8 kB / 1.578 GB, free: 117.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/5.364, allocations: 168.3 kB / 1.578 GB, free: 117.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/5.366, allocations: 2.611 MB / 1.58 GB, free: 114.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/5.367, allocations: 3.375 kB / 1.58 GB, free: 114.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/5.367, allocations: 75.94 kB / 1.58 GB, free: 114.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/5.367, allocations: 40 kB / 1.58 GB, free: 114.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04373/5.41, allocations: 44.27 MB / 1.624 GB, free: 70.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004758/5.415, allocations: 5.034 MB / 1.628 GB, free: 64.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.277/5.692, allocations: 70.36 MB / 1.697 GB, free: 136.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002153/5.694, allocations: 1.056 MB / 1.698 GB, free: 136 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/5.695, allocations: 276.4 kB / 1.698 GB, free: 135.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/5.695, allocations: 74.08 kB / 1.699 GB, free: 135.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=422): time 7.374e-06/5.695, allocations: 4 kB / 1.699 GB, free: 135.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=422): time 0.01513/5.71, allocations: 9.255 MB / 1.708 GB, free: 125.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/5.71, allocations: 95.84 kB / 1.708 GB, free: 125.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/5.711, allocations: 314.3 kB / 1.708 GB, free: 125.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002288/5.711, allocations: 93.7 kB / 1.708 GB, free: 125.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/5.711, allocations: 204.2 kB / 1.708 GB, free: 125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003809/5.715, allocations: 1.474 MB / 1.71 GB, free: 123.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/5.716, allocations: 0.9714 MB / 1.711 GB, free: 122.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.454e-05/5.716, allocations: 0.4924 MB / 1.711 GB, free: 122.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/5.721, allocations: 0.9745 MB / 1.712 GB, free: 121.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005253/5.726, allocations: 1.282 MB / 1.713 GB, free: 120 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007945/5.734, allocations: 2.513 MB / 1.716 GB, free: 117.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/5.734, allocations: 0 / 1.716 GB, free: 117.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.008588/5.742, allocations: 7.934 MB / 1.724 GB, free: 109.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/5.743, allocations: 4.938 kB / 1.724 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/5.743, allocations: 4 kB / 1.724 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/5.743, allocations: 12 kB / 1.724 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/5.745, allocations: 1.1 MB / 1.725 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.567e-05/5.745, allocations: 16.09 kB / 1.725 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008555/5.746, allocations: 238.5 kB / 1.725 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003183/5.746, allocations: 347.4 kB / 1.725 GB, free: 107.9 MB / 410.7 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.0006849/5.747, allocations: 334.5 kB / 1.726 GB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/5.748, allocations: 0.5576 MB / 1.726 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009292/5.757, allocations: 9.847 MB / 1.736 GB, free: 96.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/5.757, allocations: 40 kB / 1.736 GB, free: 96.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/5.757, allocations: 0 / 1.736 GB, free: 96.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/5.757, allocations: 23.92 kB / 1.736 GB, free: 96.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/5.759, allocations: 1.284 MB / 1.737 GB, free: 95.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/5.759, allocations: 1.375 kB / 1.737 GB, free: 95.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/5.761, allocations: 1.068 MB / 1.738 GB, free: 94.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-05/5.761, allocations: 15.98 kB / 1.738 GB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/5.761, allocations: 295.5 kB / 1.738 GB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/5.761, allocations: 16 kB / 1.738 GB, free: 93.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/5.761, allocations: 0 / 1.738 GB, free: 93.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009363/5.77, allocations: 9.751 MB / 1.748 GB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009919/5.771, allocations: 1.246 MB / 1.749 GB, free: 82.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/5.771, allocations: 71.98 kB / 1.749 GB, free: 82.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007526/5.772, allocations: 68 kB / 1.749 GB, free: 81.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004162/5.773, allocations: 414.2 kB / 1.75 GB, free: 81.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/5.773, allocations: 344.2 kB / 1.75 GB, free: 81.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001258/5.773, allocations: 223 kB / 1.75 GB, free: 81.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/5.773, allocations: 0 / 1.75 GB, free: 81.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002038/5.775, allocations: 0.6792 MB / 1.751 GB, free: 80.34 MB / 410.7 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.001534/5.777, allocations: 0.7177 MB / 1.752 GB, free: 79.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004047/5.781, allocations: 2.967 MB / 1.754 GB, free: 76.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/5.781, allocations: 0 / 1.754 GB, free: 76.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/5.783, allocations: 1.742 MB / 1.756 GB, free: 74.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/5.783, allocations: 397.2 kB / 1.757 GB, free: 74.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/5.786, allocations: 3.169 MB / 1.76 GB, free: 71.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/5.786, allocations: 425.2 kB / 1.76 GB, free: 70.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004267/5.791, allocations: 2.891 MB / 1.763 GB, free: 68.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/5.792, allocations: 0.6401 MB / 1.763 GB, free: 67.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/5.792, allocations: 0 / 1.763 GB, free: 67.55 MB / 410.7 MB Notification: Performance of Templates: time 0.1389/5.931, allocations: 40.6 MB / 1.803 GB, free: 165.7 MB / 410.7 MB " [Timeout remaining time 654] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.makefile [Timeout 660] (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=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.702853990951553]