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.001363/0.001363, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001856/0.001856, allocations: 172.6 kB / 22.46 MB, free: 5.352 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.525/1.525, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.02786/0.02786, allocations: 3.15 MB / 262.3 MB, free: 13.71 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 1.603e-06/1.603e-06, allocations: 0 / 386.3 MB, free: 272 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.368e-05, allocations: 4.953 kB / 386.3 MB, free: 268 kB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.003545/0.003568, allocations: 1.996 MB / 388.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006935/0.0105, allocations: 3.769 MB / 392 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.01071, allocations: 7.875 kB / 392 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.01107, allocations: 67.39 kB / 392.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.01128, allocations: 51.69 kB / 392.2 MB, free: 10.33 MB / 318.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.002233/0.01351, allocations: 0.7705 MB / 392.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005704/0.01921, allocations: 5.666 MB / 398.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.01947, allocations: 40.58 kB / 398.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004826/0.0243, allocations: 2.036 MB / 400.7 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.02717, allocations: 1.813 MB / 402.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008156/0.02799, allocations: 256 kB / 402.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.524/9.552, allocations: 1.225 GB / 1.619 GB, free: 191.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/9.554, allocations: 0.9835 MB / 1.62 GB, free: 191.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/9.555, allocations: 0.8839 MB / 1.621 GB, free: 191.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005822/9.561, allocations: 4.725 MB / 1.625 GB, free: 190.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/9.561, allocations: 3.938 kB / 1.625 GB, free: 190.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/9.561, allocations: 6.031 kB / 1.625 GB, free: 190.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.128e-05/9.561, allocations: 3.938 kB / 1.625 GB, free: 190.5 MB / 494.1 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.006757/9.567, allocations: 1.931 MB / 1.627 GB, free: 189.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/9.567, allocations: 10.16 kB / 1.627 GB, free: 189.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/9.57, allocations: 393.1 kB / 1.627 GB, free: 189.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004489/9.574, allocations: 1.559 MB / 1.629 GB, free: 188.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/9.575, allocations: 124.6 kB / 1.629 GB, free: 188.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005207/9.575, allocations: 166.1 kB / 1.629 GB, free: 188.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005836/9.581, allocations: 3.619 MB / 1.633 GB, free: 186.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/9.581, allocations: 5.438 kB / 1.633 GB, free: 186.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/9.581, allocations: 72 kB / 1.633 GB, free: 186.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/9.581, allocations: 41.34 kB / 1.633 GB, free: 186.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09434/9.676, allocations: 59.99 MB / 1.691 GB, free: 130.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009021/9.685, allocations: 6.216 MB / 1.698 GB, free: 124.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2797/9.964, allocations: 46.65 MB / 1.743 GB, free: 77.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003845/9.968, allocations: 2.029 MB / 1.745 GB, free: 75.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009937/9.969, allocations: 249.7 kB / 1.745 GB, free: 75.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.928e-05/9.969, allocations: 85.66 kB / 1.745 GB, free: 75.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=422): time 8.255e-06/9.969, allocations: 0 / 1.745 GB, free: 75.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=422): time 0.02373/9.993, allocations: 12.1 MB / 1.757 GB, free: 62.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/9.993, allocations: 97.72 kB / 1.757 GB, free: 62.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/9.994, allocations: 304.2 kB / 1.758 GB, free: 61.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001178/9.995, allocations: 93.7 kB / 1.758 GB, free: 61.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/9.995, allocations: 158.7 kB / 1.758 GB, free: 61.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001804/9.997, allocations: 1.429 MB / 1.759 GB, free: 60.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003362/10, allocations: 0.9445 MB / 1.76 GB, free: 59.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.752e-05/10, allocations: 325.9 kB / 1.76 GB, free: 58.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004068/10, allocations: 2.021 MB / 1.762 GB, free: 56.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004686/10.01, allocations: 2.272 MB / 1.765 GB, free: 54.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009991/10.02, allocations: 4.724 MB / 1.769 GB, free: 49.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/10.02, allocations: 0 / 1.769 GB, free: 49.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.02022/10.04, allocations: 9.738 MB / 1.779 GB, free: 40 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/10.04, allocations: 8.031 kB / 1.779 GB, free: 40 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/10.04, allocations: 4 kB / 1.779 GB, free: 39.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.034e-05/10.04, allocations: 12 kB / 1.779 GB, free: 39.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1932/10.23, allocations: 1.094 MB / 1.78 GB, free: 199.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.446e-05/10.23, allocations: 17.52 kB / 1.78 GB, free: 199.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/10.24, allocations: 233.4 kB / 1.78 GB, free: 199.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/10.24, allocations: 346.1 kB / 1.78 GB, free: 199.4 MB / 494.1 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.00188/10.24, allocations: 0.5181 MB / 1.781 GB, free: 199.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002584/10.24, allocations: 358.3 kB / 1.781 GB, free: 199.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02634/10.27, allocations: 11.9 MB / 1.793 GB, free: 194.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.275e-05/10.27, allocations: 40 kB / 1.793 GB, free: 194.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/10.27, allocations: 0 / 1.793 GB, free: 194.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.03e-05/10.27, allocations: 19.73 kB / 1.793 GB, free: 194.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/10.27, allocations: 1.841 MB / 1.795 GB, free: 192.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/10.27, allocations: 4 kB / 1.795 GB, free: 192.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004695/10.28, allocations: 1.067 MB / 1.796 GB, free: 191.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.089e-05/10.28, allocations: 16 kB / 1.796 GB, free: 191.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/10.28, allocations: 294.4 kB / 1.796 GB, free: 191.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.072e-05/10.28, allocations: 15.94 kB / 1.796 GB, free: 191.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/10.28, allocations: 0 / 1.796 GB, free: 191.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02299/10.3, allocations: 13.43 MB / 1.809 GB, free: 177.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003018/10.3, allocations: 1.262 MB / 1.81 GB, free: 176.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/10.3, allocations: 75.92 kB / 1.811 GB, free: 176.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/10.31, allocations: 83.92 kB / 1.811 GB, free: 176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009487/10.31, allocations: 402.5 kB / 1.811 GB, free: 175.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000973/10.31, allocations: 347.4 kB / 1.811 GB, free: 175.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004355/10.31, allocations: 223 kB / 1.812 GB, free: 175.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/10.31, allocations: 0 / 1.812 GB, free: 175.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004527/10.31, allocations: 0.6831 MB / 1.812 GB, free: 174.4 MB / 494.1 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.003254/10.32, allocations: 0.7201 MB / 1.813 GB, free: 173.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01011/10.33, allocations: 4.83 MB / 1.818 GB, free: 168.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/10.33, allocations: 192 / 1.818 GB, free: 168.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005279/10.33, allocations: 2.567 MB / 1.82 GB, free: 166.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/10.33, allocations: 158.3 kB / 1.82 GB, free: 166.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007089/10.34, allocations: 4.456 MB / 1.825 GB, free: 161.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008133/10.34, allocations: 0.7389 MB / 1.825 GB, free: 160.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01053/10.35, allocations: 3.028 MB / 1.828 GB, free: 158.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003025/10.36, allocations: 0.6362 MB / 1.829 GB, free: 157.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.903e-06/10.36, allocations: 0 / 1.829 GB, free: 157.4 MB / 494.1 MB Notification: Performance of Templates: time 0.05215/10.41, allocations: 40.43 MB / 1.868 GB, free: 117.2 MB / 494.1 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.666798803955317] Failed to read output from testmodel.py, exit status != 0: 10.417005237191916 10.426788171 0.863861356 Calling exit ...