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.001201/0.001201, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001881/0.001881, allocations: 169 kB / 23.27 MB, free: 1.223 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.175/1.175, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.01634/0.01634, allocations: 3.157 MB / 263.4 MB, free: 9.918 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 2.365e-06/2.365e-06, allocations: 0 / 333.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.245e-05, allocations: 2.312 kB / 333.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002975/0.003007, allocations: 2.034 MB / 336 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005249/0.008256, allocations: 3.518 MB / 339.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.008507, allocations: 11.88 kB / 339.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.00902, allocations: 63.44 kB / 339.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.00919, allocations: 51.58 kB / 339.6 MB, free: 11.07 MB / 314.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.0017/0.01089, allocations: 0.7941 MB / 340.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003554/0.01444, allocations: 5.779 MB / 346.2 MB, free: 4.492 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.01461, allocations: 48.48 kB / 346.2 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.01772, allocations: 2.11 MB / 348.3 MB, free: 2.332 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.01955, allocations: 1.794 MB / 350.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004939/0.02004, allocations: 232 kB / 350.4 MB, free: 316 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.69/5.711, allocations: 1.227 GB / 1.569 GB, free: 9.797 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002272/5.713, allocations: 0.9577 MB / 1.57 GB, free: 9.539 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/5.714, allocations: 0.849 MB / 1.571 GB, free: 9.273 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005881/5.72, allocations: 4.138 MB / 1.575 GB, free: 8.172 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/5.72, allocations: 0 / 1.575 GB, free: 8.172 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/5.72, allocations: 0 / 1.575 GB, free: 8.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.517e-05/5.72, allocations: 2.969 kB / 1.575 GB, free: 8.172 MB / 426.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.004546/5.725, allocations: 2.036 MB / 1.577 GB, free: 7.062 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/5.725, allocations: 11.88 kB / 1.577 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/5.727, allocations: 0.6106 MB / 1.577 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/5.728, allocations: 1.356 MB / 1.579 GB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/5.728, allocations: 130.6 kB / 1.579 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/5.729, allocations: 170.4 kB / 1.579 GB, free: 6.066 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/5.732, allocations: 2.467 MB / 1.581 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/5.732, allocations: 2.562 kB / 1.581 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/5.732, allocations: 71.94 kB / 1.581 GB, free: 5.316 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/5.732, allocations: 46.62 kB / 1.581 GB, free: 5.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2574/5.99, allocations: 45.27 MB / 1.626 GB, free: 146.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005976/5.996, allocations: 4.926 MB / 1.63 GB, free: 142.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1446/6.14, allocations: 70.08 MB / 1.699 GB, free: 73.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/6.142, allocations: 0.9031 MB / 1.7 GB, free: 72.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009812/6.143, allocations: 0.7161 MB / 1.7 GB, free: 72.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.896e-05/6.143, allocations: 76.7 kB / 1.7 GB, free: 71.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=422): time 7.374e-06/6.143, allocations: 6.938 kB / 1.7 GB, free: 71.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=422): time 0.009043/6.152, allocations: 8.781 MB / 1.709 GB, free: 62.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/6.152, allocations: 94.72 kB / 1.709 GB, free: 62.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/6.153, allocations: 314.4 kB / 1.709 GB, free: 62.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/6.153, allocations: 93.7 kB / 1.71 GB, free: 61.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/6.153, allocations: 198.8 kB / 1.71 GB, free: 61.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007712/6.154, allocations: 1.486 MB / 1.711 GB, free: 60.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009939/6.155, allocations: 0.9866 MB / 1.712 GB, free: 59.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/6.155, allocations: 0.4979 MB / 1.713 GB, free: 58.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00099/6.156, allocations: 0.7948 MB / 1.713 GB, free: 58.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/6.157, allocations: 1.11 MB / 1.714 GB, free: 57.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/6.16, allocations: 2.159 MB / 1.717 GB, free: 55.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/6.16, allocations: 0 / 1.717 GB, free: 55.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.2275/6.387, allocations: 7.564 MB / 1.724 GB, free: 161.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/6.387, allocations: 6.031 kB / 1.724 GB, free: 161.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/6.387, allocations: 1.75 kB / 1.724 GB, free: 161.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/6.387, allocations: 15.44 kB / 1.724 GB, free: 161.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/6.39, allocations: 1.092 MB / 1.725 GB, free: 161.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.712e-05/6.39, allocations: 14.36 kB / 1.725 GB, free: 161.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009197/6.391, allocations: 233.7 kB / 1.725 GB, free: 161.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003661/6.391, allocations: 319.6 kB / 1.726 GB, free: 161.3 MB / 426.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 (position.local_reset,globalSeed.seed,globalSeed.id_impure,spaceDomainNoiseMinimum.actualGlobalSeed,spaceDomainNoiseWhite.actualGlobalSeed,spaceDomainNoiseWhite.localSeed,spaceDomainNoiseMinimum.localSeed) * 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.001141/6.392, allocations: 331.8 kB / 1.726 GB, free: 161.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002007/6.394, allocations: 0.5758 MB / 1.726 GB, free: 161.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009221/6.404, allocations: 9.526 MB / 1.736 GB, free: 157.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/6.404, allocations: 44.09 kB / 1.736 GB, free: 157.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/6.404, allocations: 0 / 1.736 GB, free: 157.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/6.404, allocations: 20.48 kB / 1.736 GB, free: 157.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/6.405, allocations: 1.238 MB / 1.737 GB, free: 157.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/6.405, allocations: 6.5 kB / 1.737 GB, free: 157.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/6.407, allocations: 1.062 MB / 1.738 GB, free: 157.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.874e-05/6.407, allocations: 12.25 kB / 1.738 GB, free: 157.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003243/6.408, allocations: 296 kB / 1.738 GB, free: 157.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/6.408, allocations: 17 kB / 1.738 GB, free: 157.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/6.408, allocations: 3.125 kB / 1.738 GB, free: 157.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/6.418, allocations: 9.259 MB / 1.747 GB, free: 154.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/6.419, allocations: 1.215 MB / 1.749 GB, free: 153.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/6.419, allocations: 65.09 kB / 1.749 GB, free: 153.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/6.42, allocations: 67.22 kB / 1.749 GB, free: 153.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004378/6.421, allocations: 423 kB / 1.749 GB, free: 153.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004761/6.421, allocations: 316.5 kB / 1.749 GB, free: 153.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001605/6.421, allocations: 205.4 kB / 1.75 GB, free: 153.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/6.421, allocations: 0 / 1.75 GB, free: 153.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0027/6.424, allocations: 0.6848 MB / 1.75 GB, free: 153.2 MB / 426.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.001439/6.425, allocations: 0.73 MB / 1.751 GB, free: 152.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003193/6.429, allocations: 2.635 MB / 1.754 GB, free: 152 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/6.429, allocations: 0 / 1.754 GB, free: 152 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001708/6.43, allocations: 1.587 MB / 1.755 GB, free: 150.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007052/6.431, allocations: 386.7 kB / 1.756 GB, free: 150.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/6.434, allocations: 3.022 MB / 1.758 GB, free: 148 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/6.434, allocations: 424.8 kB / 1.759 GB, free: 147.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003471/6.438, allocations: 1.851 MB / 1.761 GB, free: 146 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/6.439, allocations: 0.8314 MB / 1.761 GB, free: 145.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/6.439, allocations: 0 / 1.761 GB, free: 145.5 MB / 426.7 MB Notification: Performance of Templates: time 0.04251/6.482, allocations: 45.69 MB / 1.806 GB, free: 101.1 MB / 426.7 MB " [Timeout remaining time 654] 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: 11.7712881998159]