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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004988/0.004988, allocations: 101 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 192.4 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1668/0.1668, allocations: 3.882 MB / 294.4 MB, free: 3.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.88 kB / 406.9 MB, free: 144 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2454, allocations: 50.18 MB / 457.1 MB, free: 20.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002872/0.2483, allocations: 2.055 MB / 459.2 MB, free: 19.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005534/0.2539, allocations: 3.912 MB / 463.1 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.2541, allocations: 10.16 kB / 463.1 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.2545, allocations: 54.83 kB / 463.1 MB, free: 16.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.2547, allocations: 46.88 kB / 463.2 MB, free: 16.68 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 1.1.0-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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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 1.1.0-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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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.002024/0.2568, allocations: 0.7138 MB / 463.9 MB, free: 16.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004567/0.2614, allocations: 5.727 MB / 469.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.2616, allocations: 61.45 kB / 469.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002828/0.2644, allocations: 1.489 MB / 471.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003754/0.2682, allocations: 1.876 MB / 473.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001685/0.2699, allocations: 261.1 kB / 473.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.94/9.21, allocations: 1.215 GB / 1.677 GB, free: 36.83 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002191/9.212, allocations: 0.9787 MB / 1.678 GB, free: 36.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002066/9.214, allocations: 1.096 MB / 1.679 GB, free: 35.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004641/9.219, allocations: 3.861 MB / 1.683 GB, free: 31.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/9.219, allocations: 0 / 1.683 GB, free: 31.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.562e-06/9.219, allocations: 4 kB / 1.683 GB, free: 31.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.99e-05/9.219, allocations: 0 / 1.683 GB, free: 31.85 MB / 0.5294 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.005541/9.225, allocations: 1.977 MB / 1.685 GB, free: 29.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/9.225, allocations: 19.88 kB / 1.685 GB, free: 29.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/9.227, allocations: 383 kB / 1.685 GB, free: 29.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/9.23, allocations: 1.611 MB / 1.687 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.033e-05/9.23, allocations: 130 kB / 1.687 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/9.231, allocations: 172.5 kB / 1.687 GB, free: 27.53 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004747/9.236, allocations: 3.62 MB / 1.691 GB, free: 23.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/9.236, allocations: 0 / 1.691 GB, free: 23.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/9.236, allocations: 71.98 kB / 1.691 GB, free: 23.81 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/9.236, allocations: 40 kB / 1.691 GB, free: 23.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3124/9.548, allocations: 62.5 MB / 1.752 GB, free: 178 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007935/9.556, allocations: 6.889 MB / 1.759 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2617/9.818, allocations: 48.98 MB / 1.806 GB, free: 122 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003087/9.821, allocations: 2.322 MB / 1.809 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007857/9.822, allocations: 0.6021 MB / 1.809 GB, free: 119 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/9.822, allocations: 81.86 kB / 1.809 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=422): time 5.511e-06/9.822, allocations: 0 / 1.809 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=422): time 0.01598/9.838, allocations: 12.57 MB / 1.822 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/9.838, allocations: 98.72 kB / 1.822 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/9.839, allocations: 310.8 kB / 1.822 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002612/9.839, allocations: 97.7 kB / 1.822 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/9.839, allocations: 151.5 kB / 1.822 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008631/9.84, allocations: 1.381 MB / 1.824 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/9.842, allocations: 0.9406 MB / 1.825 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000104/9.842, allocations: 329.9 kB / 1.825 GB, free: 103 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/9.845, allocations: 2.021 MB / 1.827 GB, free: 101 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/9.848, allocations: 2.272 MB / 1.829 GB, free: 98.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006735/9.855, allocations: 4.718 MB / 1.834 GB, free: 93.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/9.855, allocations: 0 / 1.834 GB, free: 93.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01334/9.868, allocations: 13.41 MB / 1.847 GB, free: 80.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/9.868, allocations: 8.031 kB / 1.847 GB, free: 80.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/9.868, allocations: 0 / 1.847 GB, free: 80.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/9.868, allocations: 16 kB / 1.847 GB, free: 80.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/9.872, allocations: 1.1 MB / 1.848 GB, free: 79.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.899e-05/9.872, allocations: 18.84 kB / 1.848 GB, free: 79.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/9.874, allocations: 234.2 kB / 1.848 GB, free: 79.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005173/9.874, allocations: 347.4 kB / 1.848 GB, free: 78.85 MB / 0.5294 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.001262/9.876, allocations: 0.5298 MB / 1.849 GB, free: 78.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/9.877, allocations: 342.1 kB / 1.849 GB, free: 77.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/9.892, allocations: 12.38 MB / 1.861 GB, free: 65.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/9.892, allocations: 40 kB / 1.861 GB, free: 65.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/9.892, allocations: 0.8125 kB / 1.861 GB, free: 65.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/9.892, allocations: 19.92 kB / 1.861 GB, free: 65.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/9.894, allocations: 2.492 MB / 1.864 GB, free: 63.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/9.894, allocations: 3.938 kB / 1.864 GB, free: 63.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003895/9.898, allocations: 1.068 MB / 1.865 GB, free: 62.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.548e-05/9.898, allocations: 18.5 kB / 1.865 GB, free: 62.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000326/9.899, allocations: 291.5 kB / 1.865 GB, free: 61.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/9.899, allocations: 12 kB / 1.865 GB, free: 61.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/9.899, allocations: 0 / 1.865 GB, free: 61.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/9.915, allocations: 13.92 MB / 1.879 GB, free: 47.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/9.917, allocations: 1.336 MB / 1.88 GB, free: 46.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/9.917, allocations: 71.98 kB / 1.88 GB, free: 46.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/9.919, allocations: 75.98 kB / 1.88 GB, free: 46.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005971/9.919, allocations: 394.6 kB / 1.881 GB, free: 46.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004675/9.92, allocations: 344 kB / 1.881 GB, free: 45.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003524/9.92, allocations: 229.8 kB / 1.881 GB, free: 45.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/9.92, allocations: 0 / 1.881 GB, free: 45.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002728/9.923, allocations: 0.684 MB / 1.882 GB, free: 44.8 MB / 0.5294 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.001598/9.925, allocations: 0.6576 MB / 1.882 GB, free: 44.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007206/9.932, allocations: 5.185 MB / 1.888 GB, free: 39.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/9.932, allocations: 0 / 1.888 GB, free: 39.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.2184/10.15, allocations: 2.85 MB / 1.89 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/10.15, allocations: 159.7 kB / 1.89 GB, free: 204.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007577/10.16, allocations: 4.427 MB / 1.895 GB, free: 202.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008634/10.16, allocations: 1.335 MB / 1.896 GB, free: 202 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007409/10.17, allocations: 3.012 MB / 1.899 GB, free: 201.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/10.17, allocations: 0.6357 MB / 1.9 GB, free: 201 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/10.17, allocations: 3.031 kB / 1.9 GB, free: 201 MB / 0.5294 GB Notification: Performance of Templates: time 0.06577/10.24, allocations: 40.28 MB / 1.939 GB, free: 175.1 MB / 0.5294 GB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.makefile (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)