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.0008195/0.0008195, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009328/0.0009328, allocations: 181 kB / 23.36 MB, free: 1.133 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.12/1.12, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.04004/0.04004, allocations: 3.165 MB / 263.4 MB, free: 9.93 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 1.583e-06/1.583e-06, allocations: 0 / 280.7 MB, free: 8.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.452e-05, allocations: 2.312 kB / 280.7 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002563/0.002578, allocations: 2.077 MB / 282.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004433/0.007011, allocations: 3.599 MB / 286.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.00716, allocations: 11.88 kB / 286.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.007478, allocations: 55.5 kB / 286.5 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.00761, allocations: 51.59 kB / 286.5 MB, free: 2.781 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.001411/0.009022, allocations: 0.7394 MB / 287.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.115/0.124, allocations: 5.771 MB / 293 MB, free: 19.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1242, allocations: 46.62 kB / 293.1 MB, free: 19.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003751/0.1279, allocations: 2.109 MB / 295.2 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.1299, allocations: 1.773 MB / 297 MB, free: 18.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004408/0.1304, allocations: 231 kB / 297.2 MB, free: 18.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09705/0.2274, allocations: 127.9 MB / 425.1 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001954/0.2294, allocations: 0.9548 MB / 426 MB, free: 6.785 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.2305, allocations: 0.8495 MB / 426.9 MB, free: 5.934 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.2351, allocations: 4.131 MB / 431 MB, free: 2.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2351, allocations: 0 / 431 MB, free: 2.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2351, allocations: 3.984 kB / 431 MB, free: 2.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.802e-05/0.2352, allocations: 3.938 kB / 431 MB, free: 2.008 MB / 378.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.004013/0.2392, allocations: 1.837 MB / 432.9 MB, free: 144 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2392, allocations: 8.031 kB / 432.9 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1319/0.3711, allocations: 0.5457 MB / 433.4 MB, free: 129.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.3734, allocations: 1.237 MB / 434.7 MB, free: 129.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.3735, allocations: 126 kB / 434.8 MB, free: 129.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004686/0.3739, allocations: 168.4 kB / 434.9 MB, free: 129.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004735/0.3787, allocations: 2.477 MB / 437.4 MB, free: 129.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/0.3787, allocations: 0 / 437.4 MB, free: 129.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/0.3789, allocations: 73.75 kB / 437.5 MB, free: 129.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.3789, allocations: 44.56 kB / 437.5 MB, free: 129.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06695/0.4459, allocations: 45.18 MB / 482.7 MB, free: 90.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005566/0.4515, allocations: 4.611 MB / 487.3 MB, free: 86.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1334/0.5848, allocations: 68.53 MB / 0.5428 GB, free: 17.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.5864, allocations: 0.8269 MB / 0.5436 GB, free: 16.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004869/0.5869, allocations: 276.9 kB / 0.5439 GB, free: 16.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/0.587, allocations: 77.88 kB / 0.544 GB, free: 16.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=422): time 6.662e-06/0.587, allocations: 0 / 0.544 GB, free: 16.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=422): time 0.003864/0.5908, allocations: 3.032 MB / 0.5469 GB, free: 13.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.5909, allocations: 94.72 kB / 0.547 GB, free: 13.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.591, allocations: 253.6 kB / 0.5473 GB, free: 13.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001954/0.5912, allocations: 94.25 kB / 0.5474 GB, free: 13.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.5913, allocations: 128.5 kB / 0.5475 GB, free: 12.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005408/0.5918, allocations: 1.434 MB / 0.5489 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007619/0.5926, allocations: 0.9004 MB / 0.5498 GB, free: 10.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.5926, allocations: 326.2 kB / 0.5501 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008574/0.5935, allocations: 0.7494 MB / 0.5508 GB, free: 9.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009353/0.5944, allocations: 0.9594 MB / 0.5517 GB, free: 8.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.5966, allocations: 2.095 MB / 0.5538 GB, free: 6.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.5966, allocations: 0 / 0.5538 GB, free: 6.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.002933/0.5995, allocations: 2.464 MB / 0.5562 GB, free: 4.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.5996, allocations: 6.297 kB / 0.5562 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5996, allocations: 4 kB / 0.5562 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.5996, allocations: 16.09 kB / 0.5562 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/0.6019, allocations: 1.339 MB / 0.5575 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.6019, allocations: 12 kB / 0.5575 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/0.6026, allocations: 234.2 kB / 0.5578 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003076/0.6029, allocations: 303.4 kB / 0.5581 GB, free: 2.426 MB / 378.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 (position.local_reset,globalSeed.seed,globalSeed.id_impure,spaceDomainNoiseMinimum.actualGlobalSeed,spaceDomainNoiseWhite.actualGlobalSeed,spaceDomainNoiseWhite.localSeed,spaceDomainNoiseMinimum.localSeed) * 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.001138/0.604, allocations: 294.9 kB / 0.5583 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009509/0.605, allocations: 0.5115 MB / 0.5588 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.133/0.7379, allocations: 3.853 MB / 0.5626 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.191e-05/0.738, allocations: 40.25 kB / 0.5626 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.738, allocations: 0 / 0.5626 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.887e-05/0.738, allocations: 21.73 kB / 0.5627 GB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.7402, allocations: 1.211 MB / 0.5638 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.7402, allocations: 4.531 kB / 0.5638 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003196/0.7434, allocations: 1.283 MB / 0.5651 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/0.7434, allocations: 15.88 kB / 0.5651 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000536/0.744, allocations: 286.7 kB / 0.5654 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-05/0.744, allocations: 13.66 kB / 0.5654 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.744, allocations: 1.812 kB / 0.5654 GB, free: 127.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00602/0.75, allocations: 3.581 MB / 0.5689 GB, free: 127 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.751, allocations: 1.083 MB / 0.57 GB, free: 126.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.7513, allocations: 67.72 kB / 0.57 GB, free: 126.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007801/0.7521, allocations: 72.3 kB / 0.5701 GB, free: 126.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004971/0.7526, allocations: 420.3 kB / 0.5705 GB, free: 126.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005305/0.7531, allocations: 301.1 kB / 0.5708 GB, free: 126.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.7532, allocations: 91.28 kB / 0.5709 GB, free: 126.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7532, allocations: 0 / 0.5709 GB, free: 126.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001965/0.7552, allocations: 0.6841 MB / 0.5715 GB, free: 126.9 MB / 378.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.00141/0.7566, allocations: 0.7449 MB / 0.5723 GB, free: 126.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003025/0.7596, allocations: 2.399 MB / 0.5746 GB, free: 126 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.7596, allocations: 4 kB / 0.5746 GB, free: 126 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.761, allocations: 1.446 MB / 0.576 GB, free: 124.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/0.7617, allocations: 374.8 kB / 0.5764 GB, free: 124.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.7644, allocations: 2.961 MB / 0.5793 GB, free: 121.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.7646, allocations: 423.3 kB / 0.5797 GB, free: 121 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003659/0.7683, allocations: 1.854 MB / 0.5815 GB, free: 119.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/0.7698, allocations: 0.7913 MB / 0.5823 GB, free: 118.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.364e-06/0.7698, allocations: 0 / 0.5823 GB, free: 118.7 MB / 378.7 MB Notification: Performance of Templates: time 0.04022/0.8101, allocations: 45.49 MB / 0.6267 GB, free: 73.48 MB / 378.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.394949628971517]