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.001367/0.001367, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.00146/0.00146, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.497/1.497, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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.02762/0.02762, allocations: 3.154 MB / 262.9 MB, free: 13.66 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.002804/0.002804, allocations: 63.91 kB / 386.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1277, allocations: 54.11 MB / 440.9 MB, free: 11.29 MB / 414.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.003444/0.1311, allocations: 1.988 MB / 442.9 MB, free: 9.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006739/0.1378, allocations: 3.774 MB / 446.6 MB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.138, allocations: 11.88 kB / 446.7 MB, free: 5.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.1384, allocations: 55.45 kB / 446.7 MB, free: 5.418 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.1386, allocations: 55.66 kB / 446.8 MB, free: 5.363 MB / 414.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.002231/0.1408, allocations: 0.74 MB / 447.5 MB, free: 4.621 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005615/0.1464, allocations: 5.732 MB / 453.2 MB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.1466, allocations: 40.58 kB / 453.3 MB, free: 14.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.1495, allocations: 1.501 MB / 454.8 MB, free: 13.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003117/0.1526, allocations: 1.825 MB / 456.6 MB, free: 11.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007108/0.1533, allocations: 264 kB / 456.9 MB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.6/7.753, allocations: 1.225 GB / 1.672 GB, free: 22.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002007/7.755, allocations: 0.9806 MB / 1.673 GB, free: 22.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001636/7.757, allocations: 0.9787 MB / 1.673 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007942/7.765, allocations: 3.883 MB / 1.677 GB, free: 21.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/7.765, allocations: 0.75 kB / 1.677 GB, free: 21.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/7.765, allocations: 0 / 1.677 GB, free: 21.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001203/7.765, allocations: 0 / 1.677 GB, free: 21.14 MB / 0.5762 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.01128/7.776, allocations: 1.969 MB / 1.679 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/7.776, allocations: 11.75 kB / 1.679 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/7.779, allocations: 388.9 kB / 1.68 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004968/7.784, allocations: 1.564 MB / 1.681 GB, free: 19.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/7.784, allocations: 122.7 kB / 1.681 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000576/7.784, allocations: 170.7 kB / 1.681 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005793/7.79, allocations: 3.621 MB / 1.685 GB, free: 18.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.394e-05/7.79, allocations: 0 / 1.685 GB, free: 18.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/7.79, allocations: 66.19 kB / 1.685 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/7.791, allocations: 40.53 kB / 1.685 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3557/8.146, allocations: 59.99 MB / 1.744 GB, free: 195 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009864/8.156, allocations: 6.221 MB / 1.75 GB, free: 188.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3007/8.457, allocations: 46.64 MB / 1.795 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003532/8.46, allocations: 2.037 MB / 1.797 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008066/8.461, allocations: 244.4 kB / 1.797 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/8.461, allocations: 73.88 kB / 1.798 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=422): time 7.164e-06/8.461, allocations: 0 / 1.798 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=422): time 0.01973/8.481, allocations: 12.09 MB / 1.809 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/8.481, allocations: 101.8 kB / 1.809 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/8.482, allocations: 304.1 kB / 1.81 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003715/8.482, allocations: 96.55 kB / 1.81 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/8.482, allocations: 157.5 kB / 1.81 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/8.483, allocations: 1.445 MB / 1.811 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/8.484, allocations: 0.9484 MB / 1.812 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/8.484, allocations: 329.9 kB / 1.813 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/8.487, allocations: 2.013 MB / 1.815 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/8.491, allocations: 2.272 MB / 1.817 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00731/8.498, allocations: 4.722 MB / 1.821 GB, free: 114.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/8.498, allocations: 0.9375 kB / 1.821 GB, free: 114.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01467/8.513, allocations: 9.739 MB / 1.831 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/8.513, allocations: 4 kB / 1.831 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/8.513, allocations: 4 kB / 1.831 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.643e-05/8.513, allocations: 16.09 kB / 1.831 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/8.517, allocations: 1.095 MB / 1.832 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.805e-05/8.517, allocations: 16 kB / 1.832 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/8.519, allocations: 242.1 kB / 1.832 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005453/8.519, allocations: 350.4 kB / 1.833 GB, free: 103.1 MB / 0.5762 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.001213/8.521, allocations: 0.5123 MB / 1.833 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002287/8.523, allocations: 354.7 kB / 1.833 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/8.539, allocations: 11.9 MB / 1.845 GB, free: 89.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/8.539, allocations: 40 kB / 1.845 GB, free: 89.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/8.539, allocations: 0 / 1.845 GB, free: 89.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/8.54, allocations: 19.92 kB / 1.845 GB, free: 89.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/8.542, allocations: 1.846 MB / 1.847 GB, free: 87.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/8.542, allocations: 0 / 1.847 GB, free: 87.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004084/8.546, allocations: 1.069 MB / 1.848 GB, free: 86.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.648e-05/8.546, allocations: 12 kB / 1.848 GB, free: 86.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003887/8.546, allocations: 291.5 kB / 1.848 GB, free: 86.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/8.546, allocations: 18.84 kB / 1.848 GB, free: 86.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/8.546, allocations: 1.781 kB / 1.848 GB, free: 86.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/8.564, allocations: 13.45 MB / 1.861 GB, free: 72.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/8.566, allocations: 1.27 MB / 1.863 GB, free: 71.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003731/8.566, allocations: 72 kB / 1.863 GB, free: 70.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/8.568, allocations: 81.86 kB / 1.863 GB, free: 70.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005697/8.569, allocations: 406.5 kB / 1.863 GB, free: 70.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005309/8.569, allocations: 335.4 kB / 1.863 GB, free: 70.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003771/8.569, allocations: 227 kB / 1.864 GB, free: 69.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/8.569, allocations: 0 / 1.864 GB, free: 69.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003387/8.573, allocations: 0.683 MB / 1.864 GB, free: 69.25 MB / 0.5762 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.002129/8.575, allocations: 0.697 MB / 1.865 GB, free: 68.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007274/8.582, allocations: 4.839 MB / 1.87 GB, free: 63.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/8.582, allocations: 4 kB / 1.87 GB, free: 63.85 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003563/8.586, allocations: 2.56 MB / 1.872 GB, free: 61.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009934/8.587, allocations: 154.7 kB / 1.872 GB, free: 61.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/8.592, allocations: 4.457 MB / 1.877 GB, free: 56.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/8.593, allocations: 0.7337 MB / 1.877 GB, free: 55.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007826/8.601, allocations: 3.033 MB / 1.88 GB, free: 53.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/8.602, allocations: 0.6368 MB / 1.881 GB, free: 52.47 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/8.602, allocations: 0 / 1.881 GB, free: 52.47 MB / 0.5762 GB Notification: Performance of Templates: time 0.3793/8.982, allocations: 40.39 MB / 1.921 GB, free: 215.1 MB / 0.5762 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 -s ida -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.51336424902547] Failed to read output from testmodel.py, exit status != 0: 9.02108237997163 9.029666744 1.26271347 Calling exit ...