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.008764/0.008764, allocations: 104.6 kB / 15.74 MB, free: 6.496 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.001857/0.001857, allocations: 191.6 kB / 16.67 MB, free: 6.379 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.547/1.547, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.154/0.154, allocations: 3.893 MB / 294.4 MB, free: 3.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 63.91 kB / 406.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3085, allocations: 50.17 MB / 456.6 MB, free: 20.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.003119/0.3117, allocations: 2.049 MB / 458.7 MB, free: 18.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005447/0.3172, allocations: 3.907 MB / 462.6 MB, free: 16.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.3175, allocations: 6.938 kB / 462.6 MB, free: 16.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.3179, allocations: 57.58 kB / 462.6 MB, free: 16.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.3181, allocations: 50.83 kB / 462.7 MB, free: 16.35 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.002047/0.3202, allocations: 0.7189 MB / 463.4 MB, free: 16.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006508/0.3267, allocations: 5.728 MB / 469.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.327, allocations: 51.34 kB / 469.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003544/0.3306, allocations: 1.49 MB / 470.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004313/0.3349, allocations: 1.875 MB / 472.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001889/0.3368, allocations: 257 kB / 472.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.021/7.357, allocations: 1.215 GB / 1.677 GB, free: 37.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002533/7.36, allocations: 0.9825 MB / 1.678 GB, free: 37.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002969/7.363, allocations: 1.095 MB / 1.679 GB, free: 36.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005695/7.369, allocations: 3.861 MB / 1.683 GB, free: 32.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/7.369, allocations: 0 / 1.683 GB, free: 32.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/7.369, allocations: 2.344 kB / 1.683 GB, free: 32.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.747e-05/7.369, allocations: 3.984 kB / 1.683 GB, free: 32.98 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.007112/7.376, allocations: 1.988 MB / 1.684 GB, free: 30.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/7.376, allocations: 8.031 kB / 1.684 GB, free: 30.94 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005838/7.377, allocations: 253.1 kB / 1.685 GB, free: 30.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/7.379, allocations: 387.7 kB / 1.685 GB, free: 30.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004329/7.383, allocations: 1.614 MB / 1.687 GB, free: 28.69 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.716e-05/7.383, allocations: 124.1 kB / 1.687 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004798/7.384, allocations: 172 kB / 1.687 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005349/7.389, allocations: 3.618 MB / 1.69 GB, free: 24.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/7.389, allocations: 3.906 kB / 1.69 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002942/7.389, allocations: 68 kB / 1.691 GB, free: 24.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/7.389, allocations: 40 kB / 1.691 GB, free: 24.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3393/7.729, allocations: 62.5 MB / 1.752 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009758/7.739, allocations: 6.89 MB / 1.758 GB, free: 172 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2644/8.003, allocations: 48.99 MB / 1.806 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003146/8.006, allocations: 2.322 MB / 1.808 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008721/8.007, allocations: 0.6019 MB / 1.809 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.346e-05/8.007, allocations: 77.86 kB / 1.809 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=422): time 5.6e-06/8.007, allocations: 4 kB / 1.809 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=422): time 0.01634/8.024, allocations: 12.57 MB / 1.821 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/8.024, allocations: 94.72 kB / 1.822 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/8.024, allocations: 307 kB / 1.822 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000454/8.025, allocations: 93.7 kB / 1.822 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.465e-05/8.025, allocations: 154.7 kB / 1.822 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/8.026, allocations: 1.384 MB / 1.823 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/8.027, allocations: 0.9445 MB / 1.824 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.082e-05/8.027, allocations: 329.9 kB / 1.825 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002909/8.03, allocations: 2.017 MB / 1.827 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/8.033, allocations: 2.268 MB / 1.829 GB, free: 99.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007432/8.041, allocations: 4.725 MB / 1.833 GB, free: 94.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/8.041, allocations: 3.812 kB / 1.833 GB, free: 94.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.0155/8.056, allocations: 13.41 MB / 1.847 GB, free: 81.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/8.056, allocations: 4 kB / 1.847 GB, free: 81.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/8.056, allocations: 2.625 kB / 1.847 GB, free: 81.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.774e-05/8.056, allocations: 16 kB / 1.847 GB, free: 81.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004494/8.061, allocations: 1.1 MB / 1.848 GB, free: 80.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.053e-05/8.061, allocations: 12 kB / 1.848 GB, free: 80.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/8.063, allocations: 237.4 kB / 1.848 GB, free: 80.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007855/8.064, allocations: 343.4 kB / 1.848 GB, free: 79.7 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.001222/8.065, allocations: 0.5282 MB / 1.849 GB, free: 79.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00188/8.067, allocations: 346.1 kB / 1.849 GB, free: 78.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0176/8.084, allocations: 12.38 MB / 1.861 GB, free: 66.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-05/8.085, allocations: 40 kB / 1.861 GB, free: 66.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/8.085, allocations: 0 / 1.861 GB, free: 66.58 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-05/8.085, allocations: 19.92 kB / 1.861 GB, free: 66.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/8.087, allocations: 2.489 MB / 1.864 GB, free: 64.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/8.087, allocations: 0 / 1.864 GB, free: 64.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003897/8.091, allocations: 1.072 MB / 1.865 GB, free: 63.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.274e-05/8.091, allocations: 12 kB / 1.865 GB, free: 63.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004988/8.092, allocations: 295.5 kB / 1.865 GB, free: 62.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-05/8.092, allocations: 12 kB / 1.865 GB, free: 62.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/8.092, allocations: 0 / 1.865 GB, free: 62.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/8.11, allocations: 13.92 MB / 1.879 GB, free: 48.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/8.113, allocations: 1.336 MB / 1.88 GB, free: 47.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007167/8.113, allocations: 75.98 kB / 1.88 GB, free: 47.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/8.115, allocations: 75.98 kB / 1.88 GB, free: 47.24 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007477/8.116, allocations: 394.6 kB / 1.88 GB, free: 46.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00082/8.117, allocations: 339.4 kB / 1.881 GB, free: 46.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004008/8.118, allocations: 226.7 kB / 1.881 GB, free: 46.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/8.118, allocations: 4 kB / 1.881 GB, free: 46.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003105/8.121, allocations: 0.6756 MB / 1.882 GB, free: 45.65 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.2497/8.37, allocations: 15.03 MB / 1.896 GB, free: 200.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009546/8.38, allocations: 5.18 MB / 1.901 GB, free: 199 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/8.38, allocations: 0 / 1.901 GB, free: 199 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00529/8.385, allocations: 2.849 MB / 1.904 GB, free: 198.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/8.386, allocations: 162.2 kB / 1.904 GB, free: 198.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05225/8.439, allocations: 32.19 MB / 1.936 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008802/8.44, allocations: 1.331 MB / 1.937 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008531/8.448, allocations: 3.009 MB / 1.94 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002609/8.451, allocations: 0.9983 MB / 1.941 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/8.451, allocations: 0 / 1.941 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1396/8.591, allocations: 51.28 MB / 1.991 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/21.46, allocations: 11.78 kB / 1.991 GB, free: 121.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_FilterAndConvolution_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=0.001 AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_FilterAndConvolution.fmu > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1)