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.001547/0.001547, allocations: 108 kB / 15.63 MB, free: 112 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.00141, allocations: 192.6 kB / 16.55 MB, free: 6.656 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1419/0.1419, allocations: 3.896 MB / 294.3 MB, free: 3.234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 355.6 MB, free: 3.406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09599, allocations: 50.2 MB / 405.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.0031/0.09913, allocations: 2.04 MB / 407.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00596/0.1051, allocations: 3.91 MB / 411.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.1053, allocations: 7.938 kB / 411.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.1057, allocations: 55.52 kB / 411.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1059, allocations: 55.66 kB / 411.9 MB, free: 11.06 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.001824/0.1077, allocations: 0.7034 MB / 412.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004407/0.1121, allocations: 5.732 MB / 418.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1123, allocations: 60.36 kB / 418.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.1143, allocations: 1.489 MB / 419.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/0.1166, allocations: 1.876 MB / 421.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000581/0.1172, allocations: 256 kB / 422 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.124/9.241, allocations: 1.215 GB / 1.627 GB, free: 96.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/9.242, allocations: 0.9801 MB / 1.628 GB, free: 96.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0016/9.244, allocations: 1.098 MB / 1.629 GB, free: 96.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003535/9.247, allocations: 3.855 MB / 1.633 GB, free: 95.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/9.247, allocations: 0 / 1.633 GB, free: 95.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/9.247, allocations: 0 / 1.633 GB, free: 95.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.444e-05/9.247, allocations: 3.25 kB / 1.633 GB, free: 95.66 MB / 494.1 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.006214/9.254, allocations: 1.995 MB / 1.635 GB, free: 94.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/9.254, allocations: 13.06 kB / 1.635 GB, free: 94.65 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003865/9.254, allocations: 250.4 kB / 1.635 GB, free: 94.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/9.256, allocations: 382.2 kB / 1.635 GB, free: 94.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004361/9.26, allocations: 1.615 MB / 1.637 GB, free: 93.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/9.26, allocations: 122 kB / 1.637 GB, free: 93.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/9.261, allocations: 170.5 kB / 1.637 GB, free: 93.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006434/9.267, allocations: 3.627 MB / 1.641 GB, free: 92.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/9.267, allocations: 0.7031 kB / 1.641 GB, free: 92.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002864/9.268, allocations: 71.56 kB / 1.641 GB, free: 92.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/9.268, allocations: 41.47 kB / 1.641 GB, free: 92.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2407/9.508, allocations: 62.5 MB / 1.702 GB, free: 194.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008743/9.517, allocations: 6.883 MB / 1.709 GB, free: 192 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2485/9.766, allocations: 48.98 MB / 1.757 GB, free: 165 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00358/9.769, allocations: 2.318 MB / 1.759 GB, free: 162.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/9.77, allocations: 0.6083 MB / 1.759 GB, free: 162 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/9.771, allocations: 73.88 kB / 1.759 GB, free: 162 MB / 494.1 MB Notification: Performance of pre-optimization done (n=422): time 5.771e-06/9.771, allocations: 1.844 kB / 1.759 GB, free: 162 MB / 494.1 MB Notification: Performance of matching and sorting (n=422): time 0.01828/9.789, allocations: 12.58 MB / 1.772 GB, free: 149.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/9.789, allocations: 94.72 kB / 1.772 GB, free: 149.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/9.789, allocations: 311 kB / 1.772 GB, free: 149 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005079/9.79, allocations: 93.7 kB / 1.772 GB, free: 148.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/9.79, allocations: 159.8 kB / 1.772 GB, free: 148.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001029/9.791, allocations: 1.375 MB / 1.774 GB, free: 147.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/9.793, allocations: 0.9522 MB / 1.775 GB, free: 146.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.457e-05/9.793, allocations: 325.9 kB / 1.775 GB, free: 146 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00308/9.796, allocations: 2.019 MB / 1.777 GB, free: 144 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003499/9.799, allocations: 2.275 MB / 1.779 GB, free: 141.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007558/9.807, allocations: 4.717 MB / 1.784 GB, free: 137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/9.807, allocations: 4 kB / 1.784 GB, free: 137 MB / 494.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01547/9.822, allocations: 13.4 MB / 1.797 GB, free: 123.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/9.822, allocations: 4 kB / 1.797 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/9.823, allocations: 4 kB / 1.797 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/9.823, allocations: 12 kB / 1.797 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00424/9.827, allocations: 1.099 MB / 1.798 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-05/9.827, allocations: 18.53 kB / 1.798 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/9.829, allocations: 236.4 kB / 1.798 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007792/9.83, allocations: 344.6 kB / 1.799 GB, free: 121.9 MB / 494.1 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.001595/9.831, allocations: 0.5293 MB / 1.799 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002197/9.833, allocations: 349.3 kB / 1.799 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01904/9.852, allocations: 12.38 MB / 1.811 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/9.852, allocations: 40 kB / 1.811 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/9.853, allocations: 0 / 1.811 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.26e-05/9.853, allocations: 19.92 kB / 1.812 GB, free: 108.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/9.856, allocations: 2.493 MB / 1.814 GB, free: 106.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/9.856, allocations: 0 / 1.814 GB, free: 106.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004299/9.86, allocations: 1.065 MB / 1.815 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.68e-05/9.86, allocations: 20 kB / 1.815 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008036/9.861, allocations: 295.4 kB / 1.815 GB, free: 105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-05/9.861, allocations: 12 kB / 1.815 GB, free: 105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/9.861, allocations: 0 / 1.815 GB, free: 105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/9.879, allocations: 13.91 MB / 1.829 GB, free: 91.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/9.881, allocations: 1.34 MB / 1.83 GB, free: 89.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004689/9.881, allocations: 68 kB / 1.83 GB, free: 89.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/9.883, allocations: 75.98 kB / 1.83 GB, free: 89.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005875/9.883, allocations: 394.6 kB / 1.831 GB, free: 89.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005891/9.884, allocations: 346 kB / 1.831 GB, free: 88.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003222/9.884, allocations: 229.9 kB / 1.831 GB, free: 88.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.21e-07/9.884, allocations: 0 / 1.831 GB, free: 88.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002564/9.887, allocations: 0.6803 MB / 1.832 GB, free: 87.93 MB / 494.1 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.01848/9.905, allocations: 15.04 MB / 1.847 GB, free: 72.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00775/9.913, allocations: 5.174 MB / 1.852 GB, free: 67.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/9.913, allocations: 4.188 kB / 1.852 GB, free: 67.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00396/9.917, allocations: 2.848 MB / 1.854 GB, free: 64.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/9.918, allocations: 164.5 kB / 1.855 GB, free: 64.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1801/10.1, allocations: 33.15 MB / 1.887 GB, free: 182.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/10.1, allocations: 1.327 MB / 1.888 GB, free: 181.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007272/10.11, allocations: 3.013 MB / 1.891 GB, free: 180.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/10.11, allocations: 0.9994 MB / 1.892 GB, free: 180.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/10.11, allocations: 0 / 1.892 GB, free: 180.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/10.22, allocations: 51.25 MB / 1.942 GB, free: 135.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.928/19.14, allocations: 3.859 kB / 1.942 GB, free: 135.2 MB / 494.1 MB (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)