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.001389/0.001389, allocations: 108 kB / 15.61 MB, free: 152 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.001521/0.001521, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1636/0.1636, allocations: 3.89 MB / 294.3 MB, free: 3.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 59.91 kB / 355.6 MB, free: 3.488 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 50.18 MB / 405.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.00357/0.111, allocations: 2.048 MB / 407.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006638/0.1176, allocations: 3.91 MB / 411.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.1179, allocations: 7.938 kB / 411.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.1184, allocations: 55.53 kB / 411.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.1187, allocations: 55.64 kB / 411.8 MB, free: 11.15 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.1207, allocations: 0.715 MB / 412.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004398/0.1252, allocations: 5.693 MB / 418.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1254, allocations: 64.36 kB / 418.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.1278, allocations: 1.477 MB / 419.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002935/0.1307, allocations: 1.88 MB / 421.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.1318, allocations: 256 kB / 421.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.449/7.581, allocations: 1.215 GB / 1.627 GB, free: 97.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/7.582, allocations: 0.9749 MB / 1.628 GB, free: 97.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/7.583, allocations: 1.096 MB / 1.629 GB, free: 97.06 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003502/7.587, allocations: 3.839 MB / 1.633 GB, free: 96.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/7.587, allocations: 0 / 1.633 GB, free: 96.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.744e-06/7.587, allocations: 3.062 kB / 1.633 GB, free: 96.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.838e-05/7.587, allocations: 1.844 kB / 1.633 GB, free: 96.23 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.005869/7.593, allocations: 1.993 MB / 1.635 GB, free: 95.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/7.593, allocations: 13.53 kB / 1.635 GB, free: 95.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004382/7.593, allocations: 248.8 kB / 1.635 GB, free: 95.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/7.595, allocations: 387 kB / 1.635 GB, free: 94.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004744/7.6, allocations: 1.61 MB / 1.637 GB, free: 94.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/7.6, allocations: 127.1 kB / 1.637 GB, free: 94.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005238/7.601, allocations: 170.5 kB / 1.637 GB, free: 94.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007764/7.609, allocations: 3.621 MB / 1.641 GB, free: 93.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/7.609, allocations: 0 / 1.641 GB, free: 93.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/7.609, allocations: 68.09 kB / 1.641 GB, free: 93.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/7.609, allocations: 40.72 kB / 1.641 GB, free: 93.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3317/7.941, allocations: 62.5 MB / 1.702 GB, free: 194.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01167/7.952, allocations: 6.885 MB / 1.709 GB, free: 192.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2861/8.239, allocations: 48.99 MB / 1.756 GB, free: 165.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003437/8.242, allocations: 2.32 MB / 1.759 GB, free: 163.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/8.243, allocations: 0.5975 MB / 1.759 GB, free: 162.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/8.243, allocations: 81.88 kB / 1.759 GB, free: 162.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=422): time 7.053e-06/8.243, allocations: 0 / 1.759 GB, free: 162.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=422): time 0.018/8.261, allocations: 12.58 MB / 1.772 GB, free: 150 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/8.261, allocations: 94.72 kB / 1.772 GB, free: 149.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/8.262, allocations: 307 kB / 1.772 GB, free: 149.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005423/8.262, allocations: 93.7 kB / 1.772 GB, free: 149.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/8.263, allocations: 156.3 kB / 1.772 GB, free: 149.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/8.264, allocations: 1.376 MB / 1.774 GB, free: 147.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001963/8.266, allocations: 0.9561 MB / 1.775 GB, free: 147 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/8.266, allocations: 326.5 kB / 1.775 GB, free: 146.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/8.269, allocations: 2.019 MB / 1.777 GB, free: 144.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003831/8.273, allocations: 2.272 MB / 1.779 GB, free: 142.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007807/8.281, allocations: 4.725 MB / 1.784 GB, free: 137.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/8.281, allocations: 0 / 1.784 GB, free: 137.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01602/8.297, allocations: 13.4 MB / 1.797 GB, free: 124.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/8.297, allocations: 10.98 kB / 1.797 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/8.297, allocations: 0 / 1.797 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.433e-05/8.297, allocations: 16 kB / 1.797 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004291/8.301, allocations: 1.094 MB / 1.798 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.847e-05/8.301, allocations: 13.64 kB / 1.798 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/8.303, allocations: 241.5 kB / 1.798 GB, free: 122.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007542/8.304, allocations: 349.2 kB / 1.798 GB, free: 122.5 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.002057/8.306, allocations: 0.5218 MB / 1.799 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002593/8.309, allocations: 346.2 kB / 1.799 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02042/8.329, allocations: 12.39 MB / 1.811 GB, free: 109.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/8.329, allocations: 40 kB / 1.811 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/8.329, allocations: 1.812 kB / 1.811 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-05/8.329, allocations: 23.91 kB / 1.811 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/8.332, allocations: 2.482 MB / 1.814 GB, free: 107 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/8.332, allocations: 2.297 kB / 1.814 GB, free: 107 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004197/8.337, allocations: 1.072 MB / 1.815 GB, free: 105.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.996e-05/8.337, allocations: 12 kB / 1.815 GB, free: 105.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007687/8.338, allocations: 299.5 kB / 1.815 GB, free: 105.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-05/8.338, allocations: 15.94 kB / 1.815 GB, free: 105.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/8.338, allocations: 0 / 1.815 GB, free: 105.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/8.355, allocations: 13.92 MB / 1.829 GB, free: 91.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/8.357, allocations: 1.34 MB / 1.83 GB, free: 90.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006886/8.357, allocations: 71.98 kB / 1.83 GB, free: 90.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/8.359, allocations: 79.98 kB / 1.83 GB, free: 90.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007226/8.36, allocations: 386.6 kB / 1.831 GB, free: 89.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007103/8.361, allocations: 348.1 kB / 1.831 GB, free: 89.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004041/8.361, allocations: 225.8 kB / 1.831 GB, free: 89.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/8.361, allocations: 0 / 1.831 GB, free: 89.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003071/8.364, allocations: 0.6804 MB / 1.832 GB, free: 88.52 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.02007/8.384, allocations: 15.03 MB / 1.847 GB, free: 73.53 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.193/8.577, allocations: 16 MB / 1.862 GB, free: 190.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/8.577, allocations: 4.594 kB / 1.862 GB, free: 190.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004021/8.581, allocations: 2.844 MB / 1.865 GB, free: 189.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/8.582, allocations: 155.9 kB / 1.865 GB, free: 189.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04426/8.627, allocations: 32.9 MB / 1.897 GB, free: 176.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/8.627, allocations: 1.328 MB / 1.898 GB, free: 175.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00848/8.636, allocations: 3.013 MB / 1.901 GB, free: 173.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/8.638, allocations: 0.9953 MB / 1.902 GB, free: 172.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.202e-06/8.638, allocations: 0 / 1.902 GB, free: 172.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07915/8.717, allocations: 51.29 MB / 1.952 GB, free: 125.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.575/18.29, allocations: 7.234 kB / 1.952 GB, free: 125.6 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)