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.001906/0.001906, allocations: 85.66 kB / 19.4 MB, free: 380 kB / 13.93 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.002108/0.002108, allocations: 169.3 kB / 22.7 MB, free: 1.715 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.534/1.534, allocations: 177.1 MB / 203 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.0317/0.0317, allocations: 3.163 MB / 262.7 MB, free: 10.11 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.513e-06/1.513e-06, allocations: 0 / 332.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.192e-05, allocations: 2.312 kB / 332.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.00244/0.002462, allocations: 2.053 MB / 334.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005121/0.007582, allocations: 3.855 MB / 338.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.007776, allocations: 11.88 kB / 338.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.008126, allocations: 59.52 kB / 338.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.008285, allocations: 51.58 kB / 338.7 MB, free: 10.33 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.001729/0.01001, allocations: 0.7668 MB / 339.5 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002787/0.0128, allocations: 5.677 MB / 345.1 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.01295, allocations: 40.56 kB / 345.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.01568, allocations: 2.036 MB / 347.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.01728, allocations: 1.809 MB / 349 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005429/0.01782, allocations: 259.9 kB / 349.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.457/9.475, allocations: 1.225 GB / 1.567 GB, free: 125.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/9.476, allocations: 0.983 MB / 1.567 GB, free: 125 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001288/9.478, allocations: 0.8828 MB / 1.568 GB, free: 124.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005526/9.483, allocations: 4.226 MB / 1.572 GB, free: 122.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/9.483, allocations: 0 / 1.572 GB, free: 122.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/9.483, allocations: 0 / 1.572 GB, free: 122.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.994e-05/9.483, allocations: 0 / 1.572 GB, free: 122.2 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.006296/9.489, allocations: 2.039 MB / 1.574 GB, free: 120.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/9.489, allocations: 16.02 kB / 1.574 GB, free: 120.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/9.492, allocations: 0.6014 MB / 1.575 GB, free: 119.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004148/9.496, allocations: 1.526 MB / 1.577 GB, free: 117.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.507e-05/9.496, allocations: 127.8 kB / 1.577 GB, free: 117.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003978/9.496, allocations: 168.3 kB / 1.577 GB, free: 117.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/9.5, allocations: 2.616 MB / 1.579 GB, free: 115 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/9.5, allocations: 0 / 1.579 GB, free: 115 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003016/9.501, allocations: 71.94 kB / 1.579 GB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/9.501, allocations: 40 kB / 1.579 GB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07713/9.578, allocations: 44.28 MB / 1.623 GB, free: 70.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007304/9.585, allocations: 5.039 MB / 1.628 GB, free: 65.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4176/10, allocations: 70.35 MB / 1.696 GB, free: 137.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/10, allocations: 1.058 MB / 1.697 GB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006685/10.01, allocations: 274.1 kB / 1.698 GB, free: 136.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/10.01, allocations: 87.36 kB / 1.698 GB, free: 136 MB / 410.7 MB Notification: Performance of pre-optimization done (n=422): time 6.572e-06/10.01, allocations: 0 / 1.698 GB, free: 136 MB / 410.7 MB Notification: Performance of matching and sorting (n=422): time 0.01293/10.02, allocations: 9.245 MB / 1.707 GB, free: 126.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/10.02, allocations: 102.7 kB / 1.707 GB, free: 126 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/10.02, allocations: 320 kB / 1.707 GB, free: 125.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002817/10.02, allocations: 93.7 kB / 1.707 GB, free: 125.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/10.02, allocations: 206.5 kB / 1.707 GB, free: 125.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007718/10.02, allocations: 1.471 MB / 1.709 GB, free: 124.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/10.02, allocations: 0.9706 MB / 1.71 GB, free: 123.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/10.02, allocations: 0.5002 MB / 1.71 GB, free: 122.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/10.02, allocations: 0.9729 MB / 1.711 GB, free: 121.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/10.03, allocations: 1.29 MB / 1.713 GB, free: 120.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005163/10.03, allocations: 2.509 MB / 1.715 GB, free: 117.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/10.03, allocations: 4 kB / 1.715 GB, free: 117.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.0108/10.04, allocations: 7.933 MB / 1.723 GB, free: 109.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/10.04, allocations: 8 kB / 1.723 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/10.04, allocations: 0.9375 kB / 1.723 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/10.04, allocations: 16 kB / 1.723 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/10.05, allocations: 1.093 MB / 1.724 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/10.05, allocations: 12 kB / 1.724 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/10.05, allocations: 239.7 kB / 1.724 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004934/10.05, allocations: 348.3 kB / 1.724 GB, free: 108.2 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.001075/10.05, allocations: 344.7 kB / 1.725 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001965/10.05, allocations: 0.5576 MB / 1.725 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/10.06, allocations: 9.842 MB / 1.735 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/10.06, allocations: 40 kB / 1.735 GB, free: 96.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/10.06, allocations: 0 / 1.735 GB, free: 96.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/10.06, allocations: 19.92 kB / 1.735 GB, free: 96.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/10.07, allocations: 1.286 MB / 1.736 GB, free: 95.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/10.07, allocations: 0 / 1.736 GB, free: 95.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003736/10.07, allocations: 1.065 MB / 1.737 GB, free: 94.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/10.07, allocations: 16 kB / 1.737 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003561/10.07, allocations: 291.5 kB / 1.738 GB, free: 94.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.378e-05/10.07, allocations: 15.94 kB / 1.738 GB, free: 94.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/10.07, allocations: 4 kB / 1.738 GB, free: 94.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/10.08, allocations: 9.758 MB / 1.747 GB, free: 83.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/10.08, allocations: 1.25 MB / 1.748 GB, free: 82.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004033/10.08, allocations: 64 kB / 1.748 GB, free: 82.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/10.09, allocations: 75.98 kB / 1.748 GB, free: 82.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006519/10.09, allocations: 402.5 kB / 1.749 GB, free: 81.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004897/10.09, allocations: 346.4 kB / 1.749 GB, free: 81.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002155/10.09, allocations: 227 kB / 1.749 GB, free: 81.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/10.09, allocations: 4 kB / 1.749 GB, free: 81.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002551/10.09, allocations: 0.683 MB / 1.75 GB, free: 80.68 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.002226/10.09, allocations: 0.7271 MB / 1.751 GB, free: 80.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005421/10.1, allocations: 2.963 MB / 1.754 GB, free: 77.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/10.1, allocations: 0 / 1.754 GB, free: 77.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003066/10.1, allocations: 1.738 MB / 1.755 GB, free: 75.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/10.1, allocations: 388.4 kB / 1.756 GB, free: 74.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/10.11, allocations: 3.172 MB / 1.759 GB, free: 71.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/10.11, allocations: 421.5 kB / 1.759 GB, free: 71.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007161/10.11, allocations: 2.893 MB / 1.762 GB, free: 68.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/10.12, allocations: 0.6362 MB / 1.763 GB, free: 67.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/10.12, allocations: 0 / 1.763 GB, free: 67.9 MB / 410.7 MB Notification: Performance of Templates: time 0.1704/10.29, allocations: 40.6 MB / 1.802 GB, free: 165 MB / 410.7 MB " [Timeout remaining time 650] 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: 17.496728820027784]