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.005544/0.005544, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001177/0.001177, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1399/0.1399, allocations: 3.882 MB / 294.4 MB, free: 3.191 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 67.91 kB / 406.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2767, allocations: 50.17 MB / 456.6 MB, free: 20.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002761/0.2795, allocations: 2.06 MB / 458.7 MB, free: 19.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005274/0.2848, allocations: 3.901 MB / 462.6 MB, free: 16.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.2851, allocations: 7 kB / 462.6 MB, free: 16.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.2855, allocations: 61.69 kB / 462.6 MB, free: 16.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.2856, allocations: 50.61 kB / 462.7 MB, free: 16.4 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.002041/0.2877, allocations: 0.7104 MB / 463.4 MB, free: 16.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005351/0.2931, allocations: 5.727 MB / 469.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.2933, allocations: 57.8 kB / 469.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003828/0.2972, allocations: 1.493 MB / 470.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004119/0.3013, allocations: 1.873 MB / 472.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00175/0.3031, allocations: 261.6 kB / 472.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837/9.14, allocations: 1.215 GB / 1.677 GB, free: 37.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002698/9.143, allocations: 0.9809 MB / 1.678 GB, free: 37.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002313/9.145, allocations: 1.097 MB / 1.679 GB, free: 36.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004427/9.149, allocations: 3.864 MB / 1.683 GB, free: 32.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/9.15, allocations: 0 / 1.683 GB, free: 32.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.375e-06/9.15, allocations: 0 / 1.683 GB, free: 32.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.834e-05/9.15, allocations: 0 / 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.007247/9.157, allocations: 1.984 MB / 1.684 GB, free: 30.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/9.157, allocations: 8.031 kB / 1.684 GB, free: 30.94 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006356/9.158, allocations: 259.8 kB / 1.685 GB, free: 30.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/9.16, allocations: 382.9 kB / 1.685 GB, free: 30.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/9.164, allocations: 1.62 MB / 1.687 GB, free: 28.69 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/9.164, allocations: 124.1 kB / 1.687 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005665/9.165, allocations: 168 kB / 1.687 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005745/9.171, allocations: 3.622 MB / 1.69 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/9.171, allocations: 8.797 kB / 1.691 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/9.171, allocations: 64 kB / 1.691 GB, free: 24.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/9.171, allocations: 40 kB / 1.691 GB, free: 24.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2846/9.456, allocations: 62.5 MB / 1.752 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008618/9.464, allocations: 6.879 MB / 1.758 GB, free: 172 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2803/9.745, allocations: 48.99 MB / 1.806 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/9.748, allocations: 2.322 MB / 1.808 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/9.749, allocations: 0.6009 MB / 1.809 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/9.749, allocations: 73.88 kB / 1.809 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=422): time 6.842e-06/9.749, allocations: 0 / 1.809 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=422): time 0.01629/9.765, allocations: 12.58 MB / 1.821 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/9.765, allocations: 94.72 kB / 1.822 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/9.766, allocations: 310.9 kB / 1.822 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004724/9.766, allocations: 93.7 kB / 1.822 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/9.766, allocations: 150.8 kB / 1.822 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009547/9.767, allocations: 1.379 MB / 1.823 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001559/9.769, allocations: 0.9445 MB / 1.824 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/9.769, allocations: 333.9 kB / 1.825 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/9.772, allocations: 2.021 MB / 1.827 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003342/9.775, allocations: 2.268 MB / 1.829 GB, free: 99.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00708/9.783, allocations: 4.729 MB / 1.833 GB, free: 94.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/9.783, allocations: 6.297 kB / 1.833 GB, free: 94.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01416/9.797, allocations: 13.4 MB / 1.847 GB, free: 81.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/9.797, allocations: 5.125 kB / 1.847 GB, free: 81.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/9.797, allocations: 4 kB / 1.847 GB, free: 81.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/9.797, allocations: 12 kB / 1.847 GB, free: 81.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/9.801, allocations: 1.088 MB / 1.848 GB, free: 80.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-05/9.801, allocations: 24.03 kB / 1.848 GB, free: 80.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/9.803, allocations: 237.4 kB / 1.848 GB, free: 80.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006499/9.803, allocations: 348.9 kB / 1.848 GB, free: 79.69 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.001114/9.804, allocations: 0.5203 MB / 1.849 GB, free: 79.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/9.806, allocations: 346.1 kB / 1.849 GB, free: 78.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01621/9.823, allocations: 12.38 MB / 1.861 GB, free: 66.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/9.823, allocations: 40 kB / 1.861 GB, free: 66.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/9.823, allocations: 0 / 1.861 GB, free: 66.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-05/9.823, allocations: 20.48 kB / 1.861 GB, free: 66.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/9.825, allocations: 2.495 MB / 1.864 GB, free: 64.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/9.825, allocations: 7.062 kB / 1.864 GB, free: 64.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003937/9.829, allocations: 1.068 MB / 1.865 GB, free: 63.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-05/9.829, allocations: 15.98 kB / 1.865 GB, free: 63 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005627/9.83, allocations: 294.5 kB / 1.865 GB, free: 62.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.318e-05/9.83, allocations: 19.94 kB / 1.865 GB, free: 62.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/9.83, allocations: 0 / 1.865 GB, free: 62.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/9.847, allocations: 13.92 MB / 1.879 GB, free: 48.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/9.849, allocations: 1.34 MB / 1.88 GB, free: 47.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005002/9.85, allocations: 68 kB / 1.88 GB, free: 47.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/9.851, allocations: 83.91 kB / 1.88 GB, free: 47.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006465/9.852, allocations: 390.6 kB / 1.88 GB, free: 46.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006054/9.853, allocations: 343.4 kB / 1.881 GB, free: 46.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003544/9.853, allocations: 225.9 kB / 1.881 GB, free: 46.28 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/9.853, allocations: 4 kB / 1.881 GB, free: 46.28 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002611/9.856, allocations: 0.6804 MB / 1.882 GB, free: 45.62 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.2094/10.07, allocations: 15.01 MB / 1.896 GB, free: 200.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009918/10.08, allocations: 5.183 MB / 1.901 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/10.08, allocations: 0 / 1.901 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005835/10.08, allocations: 2.849 MB / 1.904 GB, free: 198.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/10.08, allocations: 161.4 kB / 1.904 GB, free: 198.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04926/10.13, 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.0008196/10.13, allocations: 1.335 MB / 1.937 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008875/10.14, allocations: 3.008 MB / 1.94 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002981/10.15, allocations: 0.9944 MB / 1.941 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/10.15, allocations: 0 / 1.941 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07461/10.22, allocations: 52.52 MB / 1.992 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/21.94, allocations: 3.859 kB / 1.992 GB, free: 120.7 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)