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.0009258/0.0009258, allocations: 93.06 kB / 19.65 MB, free: 276 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.001294/0.001294, allocations: 165 kB / 23.02 MB, free: 1.547 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.039/1.039, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.01847/0.01847, allocations: 3.152 MB / 263.1 MB, free: 10.05 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.553e-06/1.553e-06, allocations: 0 / 333.5 MB, free: 16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.953e-05, allocations: 2.312 kB / 333.5 MB, free: 16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002521/0.002551, allocations: 2.056 MB / 335.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004434/0.006984, allocations: 3.577 MB / 339.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.007222, allocations: 11.88 kB / 339.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.007652, allocations: 67.31 kB / 339.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.007815, allocations: 47.7 kB / 339.2 MB, free: 10.21 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.002345/0.01016, allocations: 0.794 MB / 340 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.01261, allocations: 5.673 MB / 345.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.01278, allocations: 36.58 kB / 345.7 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/0.01699, allocations: 2.044 MB / 347.8 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.01895, allocations: 1.802 MB / 349.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007252/0.01968, allocations: 260 kB / 349.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.825/3.845, allocations: 1.226 GB / 1.568 GB, free: 124.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001542/3.846, allocations: 0.9841 MB / 1.569 GB, free: 123.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/3.848, allocations: 0.8864 MB / 1.57 GB, free: 123.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004738/3.853, allocations: 4.232 MB / 1.574 GB, free: 120.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/3.853, allocations: 3.594 kB / 1.574 GB, free: 120.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/3.853, allocations: 0 / 1.574 GB, free: 120.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.546e-05/3.853, allocations: 0 / 1.574 GB, free: 120.8 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.003793/3.857, allocations: 2.04 MB / 1.576 GB, free: 118.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/3.857, allocations: 8.031 kB / 1.576 GB, free: 118.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/3.858, allocations: 0.608 MB / 1.576 GB, free: 118.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/3.861, allocations: 1.543 MB / 1.578 GB, free: 116.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-05/3.861, allocations: 123.8 kB / 1.578 GB, free: 116.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/3.861, allocations: 172.3 kB / 1.578 GB, free: 116.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/3.864, allocations: 2.614 MB / 1.581 GB, free: 113.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/3.864, allocations: 0 / 1.581 GB, free: 113.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/3.864, allocations: 67.94 kB / 1.581 GB, free: 113.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/3.864, allocations: 44 kB / 1.581 GB, free: 113.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04192/3.906, allocations: 44.28 MB / 1.624 GB, free: 69.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005721/3.912, allocations: 5.029 MB / 1.629 GB, free: 64.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3208/4.233, allocations: 70.35 MB / 1.698 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/4.234, allocations: 1.062 MB / 1.699 GB, free: 131.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/4.235, allocations: 274.9 kB / 1.699 GB, free: 130.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/4.235, allocations: 75.83 kB / 1.699 GB, free: 130.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=422): time 5.36e-06/4.235, allocations: 3.844 kB / 1.699 GB, free: 130.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=422): time 0.01126/4.246, allocations: 9.255 MB / 1.708 GB, free: 121.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/4.246, allocations: 94.72 kB / 1.708 GB, free: 121.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/4.246, allocations: 311.6 kB / 1.708 GB, free: 121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002091/4.247, allocations: 96.48 kB / 1.709 GB, free: 121 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/4.247, allocations: 207.6 kB / 1.709 GB, free: 120.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007732/4.248, allocations: 1.47 MB / 1.71 GB, free: 119.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/4.249, allocations: 0.9708 MB / 1.711 GB, free: 118.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.726e-05/4.249, allocations: 0.4918 MB / 1.712 GB, free: 118.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/4.25, allocations: 0.9823 MB / 1.713 GB, free: 117.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/4.252, allocations: 1.276 MB / 1.714 GB, free: 116.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004573/4.257, allocations: 2.514 MB / 1.716 GB, free: 113.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/4.257, allocations: 0 / 1.716 GB, free: 113.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.009916/4.267, allocations: 7.934 MB / 1.724 GB, free: 105.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/4.267, allocations: 4 kB / 1.724 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/4.267, allocations: 8.547 kB / 1.724 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/4.267, allocations: 12 kB / 1.724 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/4.27, allocations: 1.092 MB / 1.725 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/4.27, allocations: 16 kB / 1.725 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/4.271, allocations: 241.8 kB / 1.725 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004454/4.271, allocations: 347.4 kB / 1.726 GB, free: 104 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.0007207/4.272, allocations: 333.1 kB / 1.726 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/4.273, allocations: 0.5576 MB / 1.727 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/4.284, allocations: 9.854 MB / 1.736 GB, free: 92.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/4.284, allocations: 43.98 kB / 1.736 GB, free: 92.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/4.284, allocations: 0 / 1.736 GB, free: 92.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/4.284, allocations: 19.92 kB / 1.736 GB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/4.285, allocations: 1.281 MB / 1.738 GB, free: 91.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/4.285, allocations: 0 / 1.738 GB, free: 91.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/4.287, allocations: 1.08 MB / 1.739 GB, free: 90.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.594e-05/4.287, allocations: 12 kB / 1.739 GB, free: 90.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000314/4.288, allocations: 291.5 kB / 1.739 GB, free: 90.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/4.288, allocations: 20 kB / 1.739 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/4.288, allocations: 0 / 1.739 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009987/4.298, allocations: 9.747 MB / 1.748 GB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/4.299, allocations: 1.25 MB / 1.75 GB, free: 78.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/4.299, allocations: 68 kB / 1.75 GB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007838/4.3, allocations: 71.98 kB / 1.75 GB, free: 78.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/4.3, allocations: 406.5 kB / 1.75 GB, free: 77.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004284/4.301, allocations: 339.4 kB / 1.75 GB, free: 77.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001467/4.301, allocations: 219 kB / 1.751 GB, free: 77.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/4.301, allocations: 4 kB / 1.751 GB, free: 77.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002106/4.303, allocations: 0.683 MB / 1.751 GB, free: 76.54 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.001544/4.304, allocations: 0.7196 MB / 1.752 GB, free: 75.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004621/4.309, allocations: 2.967 MB / 1.755 GB, free: 72.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/4.309, allocations: 0 / 1.755 GB, free: 72.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002252/4.311, allocations: 1.742 MB / 1.757 GB, free: 71.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/4.312, allocations: 392.4 kB / 1.757 GB, free: 70.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/4.315, allocations: 3.181 MB / 1.76 GB, free: 67.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/4.315, allocations: 417.3 kB / 1.761 GB, free: 67.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004237/4.32, allocations: 2.895 MB / 1.763 GB, free: 64.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/4.321, allocations: 0.6401 MB / 1.764 GB, free: 63.74 MB / 410.7 MB Notification: Performance of SimCode: time 2.194e-06/4.321, allocations: 0 / 1.764 GB, free: 63.74 MB / 410.7 MB Notification: Performance of Templates: time 0.1504/4.471, allocations: 40.59 MB / 1.804 GB, free: 160.8 MB / 410.7 MB " [Timeout remaining time 656] 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: 9.553136335220188]