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.001827/0.001827, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002947/0.002947, allocations: 215.9 kB / 22.25 MB, free: 4.852 MB / 14.72 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.633/1.633, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 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.02891/0.02891, allocations: 3.939 MB / 316.4 MB, free: 15.2 MB / 254.1 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 0.002017/0.002017, allocations: 71.88 kB / 440.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1231, allocations: 54.15 MB / 494.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.004794/0.1279, allocations: 1.979 MB / 496.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007999/0.1359, allocations: 3.77 MB / 0.4884 GB, free: 15.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.1361, allocations: 11.88 kB / 0.4884 GB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.1366, allocations: 55.53 kB / 0.4885 GB, free: 15.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.1368, allocations: 59.56 kB / 0.4885 GB, free: 15.02 MB / 366.1 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.00256/0.1394, allocations: 0.7529 MB / 0.4892 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006109/0.1455, allocations: 5.713 MB / 0.4948 GB, free: 8.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.1457, allocations: 52.5 kB / 0.4949 GB, free: 8.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003227/0.1489, allocations: 1.501 MB / 0.4963 GB, free: 6.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003757/0.1527, allocations: 1.821 MB / 0.4981 GB, free: 5.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.154, allocations: 264 kB / 0.4984 GB, free: 4.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.259/8.413, allocations: 1.225 GB / 1.723 GB, free: 199.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002322/8.415, allocations: 0.9737 MB / 1.724 GB, free: 199.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002308/8.417, allocations: 0.9824 MB / 1.725 GB, free: 199.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009407/8.427, allocations: 3.884 MB / 1.729 GB, free: 198.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/8.427, allocations: 0 / 1.729 GB, free: 198.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/8.427, allocations: 0.5625 kB / 1.729 GB, free: 198.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000123/8.427, allocations: 0 / 1.729 GB, free: 198.9 MB / 0.5606 GB 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.01069/8.437, allocations: 1.969 MB / 1.731 GB, free: 198.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/8.438, allocations: 9.438 kB / 1.731 GB, free: 198.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/8.44, allocations: 387.8 kB / 1.731 GB, free: 197.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004721/8.445, allocations: 1.554 MB / 1.733 GB, free: 197.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/8.445, allocations: 128 kB / 1.733 GB, free: 197.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006687/8.446, allocations: 173.8 kB / 1.733 GB, free: 197.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007061/8.453, allocations: 3.619 MB / 1.737 GB, free: 195.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/8.453, allocations: 0 / 1.737 GB, free: 195.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/8.453, allocations: 67 kB / 1.737 GB, free: 195.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/8.453, allocations: 40.41 kB / 1.737 GB, free: 195.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0941/8.547, allocations: 59.99 MB / 1.796 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/8.56, allocations: 6.211 MB / 1.802 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.274/8.834, allocations: 46.65 MB / 1.847 GB, free: 87.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004293/8.839, allocations: 2.033 MB / 1.849 GB, free: 85.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/8.84, allocations: 254.9 kB / 1.849 GB, free: 85.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.206e-05/8.84, allocations: 77.88 kB / 1.849 GB, free: 85.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=422): time 7.194e-06/8.84, allocations: 0 / 1.849 GB, free: 85.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=422): time 0.0268/8.867, allocations: 12.09 MB / 1.861 GB, free: 72.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/8.867, allocations: 98.19 kB / 1.861 GB, free: 72.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/8.867, allocations: 308.1 kB / 1.862 GB, free: 71.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001568/8.869, allocations: 89.7 kB / 1.862 GB, free: 71.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/8.869, allocations: 158.7 kB / 1.862 GB, free: 71.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002854/8.872, allocations: 1.456 MB / 1.863 GB, free: 70.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004339/8.876, allocations: 0.9445 MB / 1.864 GB, free: 69.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001077/8.876, allocations: 327.2 kB / 1.865 GB, free: 68.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004615/8.881, allocations: 2.017 MB / 1.867 GB, free: 66.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/8.886, allocations: 2.268 MB / 1.869 GB, free: 64.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/8.897, allocations: 4.724 MB / 1.873 GB, free: 59.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/8.897, allocations: 4.75 kB / 1.873 GB, free: 59.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.02324/8.92, allocations: 9.742 MB / 1.883 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/8.92, allocations: 9.875 kB / 1.883 GB, free: 49.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/8.92, allocations: 0 / 1.883 GB, free: 49.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.394e-05/8.921, allocations: 16 kB / 1.883 GB, free: 49.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005873/8.926, allocations: 1.091 MB / 1.884 GB, free: 48.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.419e-05/8.926, allocations: 16 kB / 1.884 GB, free: 48.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/8.93, allocations: 246 kB / 1.884 GB, free: 48.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/8.932, allocations: 347.5 kB / 1.885 GB, free: 48.28 MB / 0.5606 GB 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.003581/8.935, allocations: 0.517 MB / 1.885 GB, free: 47.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003906/8.939, allocations: 351 kB / 1.885 GB, free: 47.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2821/9.221, allocations: 11.89 MB / 1.897 GB, free: 225.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.732e-05/9.221, allocations: 39.59 kB / 1.897 GB, free: 225.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/9.221, allocations: 1.828 kB / 1.897 GB, free: 225.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.942e-05/9.222, allocations: 23.58 kB / 1.897 GB, free: 225.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/9.226, allocations: 1.829 MB / 1.899 GB, free: 225.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/9.226, allocations: 0.6094 kB / 1.899 GB, free: 225.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005191/9.231, allocations: 1.067 MB / 1.9 GB, free: 225.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-05/9.231, allocations: 13.31 kB / 1.9 GB, free: 225.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001011/9.232, allocations: 297 kB / 1.9 GB, free: 225.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.569e-05/9.232, allocations: 14.62 kB / 1.9 GB, free: 225.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/9.232, allocations: 0.5312 kB / 1.9 GB, free: 225.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02551/9.258, allocations: 13.43 MB / 1.913 GB, free: 220.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002887/9.261, allocations: 1.272 MB / 1.915 GB, free: 219.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005853/9.261, allocations: 71.52 kB / 1.915 GB, free: 219.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/9.263, allocations: 85.34 kB / 1.915 GB, free: 219.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007149/9.264, allocations: 404.4 kB / 1.915 GB, free: 219.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005701/9.264, allocations: 344.2 kB / 1.915 GB, free: 219.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003807/9.265, allocations: 224.6 kB / 1.916 GB, free: 219.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/9.265, allocations: 0 / 1.916 GB, free: 219.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003894/9.269, allocations: 0.6831 MB / 1.916 GB, free: 218.6 MB / 0.5606 GB 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.002621/9.271, allocations: 0.6868 MB / 1.917 GB, free: 218 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00875/9.28, allocations: 4.84 MB / 1.922 GB, free: 213.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/9.28, allocations: 4.062 kB / 1.922 GB, free: 213.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004493/9.285, allocations: 2.561 MB / 1.924 GB, free: 210.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/9.286, allocations: 164 kB / 1.924 GB, free: 210.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/9.291, allocations: 4.467 MB / 1.929 GB, free: 206 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/9.292, allocations: 0.7337 MB / 1.929 GB, free: 205.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007668/9.3, allocations: 3.036 MB / 1.932 GB, free: 202.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/9.301, allocations: 0.639 MB / 1.933 GB, free: 201.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.734e-06/9.301, allocations: 0 / 1.933 GB, free: 201.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.05243/9.354, allocations: 41.23 MB / 1.973 GB, free: 160.8 MB / 0.5606 GB " [Timeout remaining time 651] 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.960463412106037] Failed to read output from testmodel.py, exit status != 0: 9.361691458150744 9.372602827 0.943410912 Calling exit ...