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: "" <> buildModelFMU(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_FilterAndConvolution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_FilterAndConvolution",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005589/0.005589, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001211/0.001211, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1413/0.1413, allocations: 3.889 MB / 294.4 MB, free: 3.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 406.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2528, allocations: 50.18 MB / 456.6 MB, free: 20.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002572/0.2554, allocations: 2.044 MB / 458.7 MB, free: 19.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004933/0.2604, allocations: 3.916 MB / 462.6 MB, free: 16.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.2605, allocations: 6.969 kB / 462.6 MB, free: 16.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.2609, allocations: 61.56 kB / 462.7 MB, free: 16.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.2611, allocations: 46.75 kB / 462.7 MB, free: 16.39 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.002133/0.2632, allocations: 0.7189 MB / 463.4 MB, free: 16.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005685/0.2689, allocations: 5.722 MB / 469.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.2691, allocations: 64.73 kB / 469.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003148/0.2723, allocations: 1.49 MB / 470.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003214/0.2755, allocations: 1.876 MB / 472.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.2767, allocations: 257.6 kB / 472.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.2/7.477, allocations: 1.215 GB / 1.677 GB, free: 36.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001952/7.479, allocations: 0.9799 MB / 1.678 GB, free: 36.37 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002227/7.481, allocations: 1.091 MB / 1.679 GB, free: 35.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00578/7.487, allocations: 3.865 MB / 1.683 GB, free: 32.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/7.487, allocations: 0 / 1.683 GB, free: 32.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/7.487, allocations: 0 / 1.683 GB, free: 32.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.082e-05/7.487, allocations: 0 / 1.683 GB, free: 32.11 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.007036/7.494, allocations: 2.032 MB / 1.685 GB, free: 30.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/7.494, allocations: 8.031 kB / 1.685 GB, free: 30.02 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005731/7.495, allocations: 253.1 kB / 1.685 GB, free: 29.76 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/7.497, allocations: 398.9 kB / 1.685 GB, free: 29.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004055/7.501, allocations: 1.619 MB / 1.687 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/7.501, allocations: 128.1 kB / 1.687 GB, free: 27.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006406/7.501, allocations: 171 kB / 1.687 GB, free: 27.47 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005417/7.507, allocations: 3.618 MB / 1.691 GB, free: 23.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.856e-05/7.507, allocations: 4 kB / 1.691 GB, free: 23.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/7.507, allocations: 68 kB / 1.691 GB, free: 23.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/7.507, allocations: 40.52 kB / 1.691 GB, free: 23.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2887/7.796, allocations: 62.5 MB / 1.752 GB, free: 178 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008668/7.805, allocations: 6.889 MB / 1.758 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2394/8.044, allocations: 48.99 MB / 1.806 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/8.047, allocations: 2.323 MB / 1.809 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008942/8.048, allocations: 0.5965 MB / 1.809 GB, free: 119 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/8.048, allocations: 81.88 kB / 1.809 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=422): time 5.982e-06/8.048, allocations: 0 / 1.809 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=422): time 0.01607/8.064, allocations: 12.59 MB / 1.821 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/8.064, allocations: 94.72 kB / 1.822 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/8.065, allocations: 306.9 kB / 1.822 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003579/8.065, allocations: 93.7 kB / 1.822 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/8.065, allocations: 154.8 kB / 1.822 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008895/8.066, allocations: 1.455 MB / 1.824 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/8.068, allocations: 0.9406 MB / 1.824 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.168e-05/8.068, allocations: 329.9 kB / 1.825 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003067/8.071, allocations: 2.021 MB / 1.827 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003507/8.074, allocations: 2.268 MB / 1.829 GB, free: 98.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007558/8.082, allocations: 4.725 MB / 1.834 GB, free: 94.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/8.082, allocations: 0 / 1.834 GB, free: 94.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01499/8.097, allocations: 13.41 MB / 1.847 GB, free: 80.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/8.097, allocations: 4 kB / 1.847 GB, free: 80.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/8.097, allocations: 2.719 kB / 1.847 GB, free: 80.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/8.097, allocations: 20 kB / 1.847 GB, free: 80.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004315/8.101, allocations: 1.096 MB / 1.848 GB, free: 79.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.518e-05/8.101, allocations: 16 kB / 1.848 GB, free: 79.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/8.103, allocations: 242.1 kB / 1.848 GB, free: 79.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006809/8.104, allocations: 343.4 kB / 1.848 GB, free: 78.9 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.001025/8.105, allocations: 0.5281 MB / 1.849 GB, free: 78.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001726/8.107, allocations: 351.8 kB / 1.849 GB, free: 78.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/8.124, allocations: 12.38 MB / 1.861 GB, free: 65.81 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/8.124, allocations: 40 kB / 1.861 GB, free: 65.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/8.124, allocations: 4.875 kB / 1.861 GB, free: 65.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-05/8.124, allocations: 19.92 kB / 1.861 GB, free: 65.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/8.127, allocations: 2.497 MB / 1.864 GB, free: 63.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/8.127, allocations: 0 / 1.864 GB, free: 63.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004137/8.131, allocations: 1.065 MB / 1.865 GB, free: 62.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.745e-05/8.131, allocations: 19.94 kB / 1.865 GB, free: 62.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004739/8.131, allocations: 298.2 kB / 1.865 GB, free: 61.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.28e-05/8.131, allocations: 12 kB / 1.865 GB, free: 61.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/8.131, allocations: 0 / 1.865 GB, free: 61.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/8.15, allocations: 13.92 MB / 1.879 GB, free: 47.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/8.152, allocations: 1.345 MB / 1.88 GB, free: 46.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004884/8.153, allocations: 71.98 kB / 1.88 GB, free: 46.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/8.154, allocations: 79.98 kB / 1.88 GB, free: 46.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007568/8.155, allocations: 386.6 kB / 1.881 GB, free: 46.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007272/8.156, allocations: 343.4 kB / 1.881 GB, free: 45.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003725/8.156, allocations: 234.4 kB / 1.881 GB, free: 45.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/8.156, allocations: 0 / 1.881 GB, free: 45.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002741/8.159, allocations: 0.6792 MB / 1.882 GB, free: 44.79 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.2262/8.385, allocations: 15.05 MB / 1.896 GB, free: 200.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009277/8.394, allocations: 5.171 MB / 1.902 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/8.394, allocations: 0 / 1.902 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004733/8.399, allocations: 2.863 MB / 1.904 GB, free: 198.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/8.4, allocations: 151.2 kB / 1.904 GB, free: 198.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03721/8.437, allocations: 32.23 MB / 1.936 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/8.438, allocations: 1.335 MB / 1.937 GB, free: 176 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007107/8.445, allocations: 3.003 MB / 1.94 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/8.447, allocations: 0.9944 MB / 1.941 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/8.447, allocations: 0 / 1.941 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07102/8.518, allocations: 51.75 MB / 1.992 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/20.42, allocations: 7.844 kB / 1.992 GB, free: 120.5 MB / 0.5294 GB (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 & python3 -m fmpy simulate --output-file AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 0.001 --interface-type ModelExchange --solver CVode --output-interval 0.01 AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_FilterAndConvolution.fmu > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1)