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.001534/0.001534, allocations: 78.38 kB / 19.01 MB, free: 2.691 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.001644/0.001644, allocations: 158.5 kB / 22.25 MB, free: 4.73 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.463/1.463, allocations: 177.2 MB / 202.6 MB, free: 9.254 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.02732/0.02732, allocations: 3.14 MB / 262.2 MB, free: 13.82 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.00212/0.00212, allocations: 63.91 kB / 386 MB, free: 492 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1212, allocations: 54.13 MB / 440.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.003933/0.1252, allocations: 1.984 MB / 442.1 MB, free: 8.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007292/0.1324, allocations: 3.766 MB / 445.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.1327, allocations: 15.81 kB / 445.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.1331, allocations: 63.52 kB / 445.9 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1333, allocations: 47.62 kB / 446 MB, free: 4.34 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.00249/0.1358, allocations: 0.7478 MB / 446.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2501/0.3858, allocations: 5.709 MB / 452.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.3861, allocations: 40.31 kB / 452.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0063/0.3924, allocations: 2.061 MB / 454.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004646/0.397, allocations: 1.818 MB / 456.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002384/0.3994, allocations: 261 kB / 456.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.485/9.884, allocations: 1.225 GB / 1.671 GB, free: 199.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002126/9.886, allocations: 0.9787 MB / 1.672 GB, free: 199.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/9.888, allocations: 0.983 MB / 1.673 GB, free: 198.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006186/9.894, allocations: 3.883 MB / 1.677 GB, free: 197.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/9.894, allocations: 2.812 kB / 1.677 GB, free: 197.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.655e-06/9.894, allocations: 7.828 kB / 1.677 GB, free: 197.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.679e-05/9.894, allocations: 1.281 kB / 1.677 GB, free: 197.6 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.008027/9.902, allocations: 1.957 MB / 1.679 GB, free: 196.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/9.902, allocations: 9.844 kB / 1.679 GB, free: 196.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/9.905, allocations: 388.7 kB / 1.679 GB, free: 196.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005461/9.911, allocations: 1.563 MB / 1.681 GB, free: 195.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/9.911, allocations: 124.5 kB / 1.681 GB, free: 195.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007671/9.911, allocations: 169.6 kB / 1.681 GB, free: 195.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006811/9.918, allocations: 3.619 MB / 1.685 GB, free: 193.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/9.918, allocations: 1.406 kB / 1.685 GB, free: 193.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002986/9.919, allocations: 65.19 kB / 1.685 GB, free: 193.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.694e-05/9.919, allocations: 41.5 kB / 1.685 GB, free: 193.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0951/10.01, allocations: 60 MB / 1.743 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/10.02, allocations: 6.213 MB / 1.749 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2487/10.27, allocations: 46.65 MB / 1.795 GB, free: 86.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003377/10.28, allocations: 2.033 MB / 1.797 GB, free: 84.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/10.28, allocations: 251 kB / 1.797 GB, free: 84.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/10.28, allocations: 69.88 kB / 1.797 GB, free: 84.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=422): time 7.705e-06/10.28, allocations: 3.562 kB / 1.797 GB, free: 84.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=422): time 0.01759/10.29, allocations: 12.1 MB / 1.809 GB, free: 71.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/10.29, allocations: 94.72 kB / 1.809 GB, free: 71.03 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/10.3, allocations: 312.1 kB / 1.809 GB, free: 70.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002761/10.3, allocations: 89.7 kB / 1.81 GB, free: 70.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.642e-05/10.3, allocations: 158.7 kB / 1.81 GB, free: 70.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009498/10.3, allocations: 1.448 MB / 1.811 GB, free: 69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/10.3, allocations: 0.9484 MB / 1.812 GB, free: 68.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/10.3, allocations: 322 kB / 1.812 GB, free: 67.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00288/10.3, allocations: 2.021 MB / 1.814 GB, free: 65.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003269/10.3, allocations: 2.271 MB / 1.817 GB, free: 63.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007043/10.31, allocations: 4.725 MB / 1.821 GB, free: 58.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/10.31, allocations: 2.688 kB / 1.821 GB, free: 58.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.0135/10.32, allocations: 9.737 MB / 1.831 GB, free: 48.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/10.32, allocations: 8 kB / 1.831 GB, free: 48.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/10.32, allocations: 0 / 1.831 GB, free: 48.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/10.32, allocations: 16 kB / 1.831 GB, free: 48.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00424/10.33, allocations: 1.103 MB / 1.832 GB, free: 47.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.513e-05/10.33, allocations: 12 kB / 1.832 GB, free: 47.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/10.33, allocations: 238.1 kB / 1.832 GB, free: 47.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004912/10.33, allocations: 347.4 kB / 1.832 GB, free: 47.24 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.001155/10.33, allocations: 0.5197 MB / 1.833 GB, free: 46.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002502/10.33, allocations: 351 kB / 1.833 GB, free: 46.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2962/10.63, allocations: 11.9 MB / 1.845 GB, free: 223.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.175e-05/10.63, allocations: 40.53 kB / 1.845 GB, free: 223.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/10.63, allocations: 0 / 1.845 GB, free: 223.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.288e-05/10.63, allocations: 24.56 kB / 1.845 GB, free: 223.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004198/10.64, allocations: 1.828 MB / 1.847 GB, free: 223.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/10.64, allocations: 4.078 kB / 1.847 GB, free: 223.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00554/10.64, allocations: 1.07 MB / 1.848 GB, free: 223.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.296e-05/10.64, allocations: 13.91 kB / 1.848 GB, free: 223.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001145/10.64, allocations: 292.8 kB / 1.848 GB, free: 223.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.143e-05/10.64, allocations: 14.77 kB / 1.848 GB, free: 223.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/10.64, allocations: 1.25 kB / 1.848 GB, free: 223.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03612/10.68, allocations: 13.44 MB / 1.861 GB, free: 217.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00368/10.68, allocations: 1.271 MB / 1.862 GB, free: 216.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/10.68, allocations: 66.91 kB / 1.862 GB, free: 216.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/10.68, allocations: 80.28 kB / 1.863 GB, free: 216.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007097/10.69, allocations: 409.4 kB / 1.863 GB, free: 216.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000637/10.69, allocations: 348 kB / 1.863 GB, free: 216.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004493/10.69, allocations: 224.2 kB / 1.863 GB, free: 216.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/10.69, allocations: 0 / 1.863 GB, free: 216.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004496/10.69, allocations: 0.6814 MB / 1.864 GB, free: 216.4 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.002517/10.69, allocations: 0.6929 MB / 1.865 GB, free: 216.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007969/10.7, allocations: 4.837 MB / 1.87 GB, free: 212.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/10.7, allocations: 1.531 kB / 1.87 GB, free: 212.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004329/10.71, allocations: 2.563 MB / 1.872 GB, free: 209.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/10.71, allocations: 153.2 kB / 1.872 GB, free: 209.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/10.71, allocations: 4.476 MB / 1.877 GB, free: 205.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/10.71, allocations: 0.7337 MB / 1.877 GB, free: 204.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.008429/10.72, allocations: 3.03 MB / 1.88 GB, free: 201.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002706/10.72, allocations: 0.6401 MB / 1.881 GB, free: 201.1 MB / 0.5606 GB Notification: Performance of SimCode: time 2.255e-06/10.72, allocations: 0 / 1.881 GB, free: 201.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.05351/10.78, allocations: 40.38 MB / 1.92 GB, free: 160.8 MB / 0.5606 GB " [Timeout remaining time 649] 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.906896932050586] Failed to read output from testmodel.py, exit status != 0: 10.787504179403186 10.797968163 0.9010513609999999 Calling exit ...