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: translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 108 kB / 15.61 MB, free: 148 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.001538/0.001538, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1528/0.1528, allocations: 3.884 MB / 294.3 MB, free: 3.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 355.5 MB, free: 3.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09688, allocations: 50.19 MB / 405.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.003414/0.1003, allocations: 2.052 MB / 407.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006872/0.1072, allocations: 3.906 MB / 411.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.1076, allocations: 7.938 kB / 411.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.108, allocations: 59.52 kB / 411.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.1083, allocations: 47.64 kB / 411.7 MB, free: 11.25 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.002107/0.1104, allocations: 0.7113 MB / 412.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004485/0.1149, allocations: 5.701 MB / 418.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1151, allocations: 56.38 kB / 418.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.1181, allocations: 1.481 MB / 419.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003727/0.1218, allocations: 1.876 MB / 421.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000984/0.1228, allocations: 256 kB / 421.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.27/7.393, allocations: 1.215 GB / 1.627 GB, free: 97.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/7.394, allocations: 0.9783 MB / 1.628 GB, free: 97.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003078/7.398, allocations: 1.098 MB / 1.629 GB, free: 97.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004978/7.403, allocations: 3.843 MB / 1.633 GB, free: 96.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/7.403, allocations: 0 / 1.633 GB, free: 96.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/7.403, allocations: 1.406 kB / 1.633 GB, free: 96.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.432e-05/7.403, allocations: 0 / 1.633 GB, free: 96.52 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.006137/7.409, allocations: 1.99 MB / 1.635 GB, free: 95.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/7.409, allocations: 12.89 kB / 1.635 GB, free: 95.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/7.411, allocations: 380.3 kB / 1.635 GB, free: 95.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004934/7.416, allocations: 1.613 MB / 1.637 GB, free: 94.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/7.416, allocations: 129.6 kB / 1.637 GB, free: 94.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005395/7.417, allocations: 175.4 kB / 1.637 GB, free: 94.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008043/7.425, allocations: 3.616 MB / 1.64 GB, free: 93.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.726e-05/7.425, allocations: 0 / 1.64 GB, free: 93.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000335/7.425, allocations: 72.47 kB / 1.64 GB, free: 93.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/7.425, allocations: 41.53 kB / 1.64 GB, free: 93.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3142/7.739, allocations: 62.5 MB / 1.702 GB, free: 194.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00987/7.749, allocations: 6.885 MB / 1.708 GB, free: 192.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2727/8.022, allocations: 48.99 MB / 1.756 GB, free: 166.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003525/8.025, allocations: 2.325 MB / 1.758 GB, free: 163.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007985/8.026, allocations: 0.6031 MB / 1.759 GB, free: 163.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/8.026, allocations: 77.88 kB / 1.759 GB, free: 163.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=422): time 5.22e-06/8.026, allocations: 0 / 1.759 GB, free: 163.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=422): time 0.01707/8.043, allocations: 12.57 MB / 1.771 GB, free: 150.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/8.044, allocations: 94.72 kB / 1.771 GB, free: 150.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/8.044, allocations: 321.9 kB / 1.772 GB, free: 150.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004312/8.045, allocations: 89.7 kB / 1.772 GB, free: 150.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/8.045, allocations: 152.8 kB / 1.772 GB, free: 149.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/8.046, allocations: 1.381 MB / 1.773 GB, free: 148.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/8.047, allocations: 0.9445 MB / 1.774 GB, free: 147.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.053e-05/8.047, allocations: 325.9 kB / 1.774 GB, free: 147.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/8.05, allocations: 2.027 MB / 1.776 GB, free: 145.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003569/8.054, allocations: 2.269 MB / 1.779 GB, free: 142.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007619/8.062, allocations: 4.726 MB / 1.783 GB, free: 138.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/8.062, allocations: 0 / 1.783 GB, free: 138.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01615/8.078, allocations: 13.41 MB / 1.796 GB, free: 124.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/8.078, allocations: 4 kB / 1.796 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/8.078, allocations: 0 / 1.796 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.389e-05/8.078, allocations: 16 kB / 1.796 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00421/8.082, allocations: 1.091 MB / 1.797 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.835e-05/8.082, allocations: 13.53 kB / 1.797 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/8.084, allocations: 233.5 kB / 1.798 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/8.085, allocations: 348.6 kB / 1.798 GB, free: 123.1 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.002115/8.088, allocations: 0.5304 MB / 1.799 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002779/8.09, allocations: 346.1 kB / 1.799 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0218/8.112, allocations: 12.38 MB / 1.811 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/8.112, allocations: 44 kB / 1.811 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/8.112, allocations: 0 / 1.811 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.35e-05/8.112, allocations: 23.92 kB / 1.811 GB, free: 110 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003516/8.116, allocations: 2.489 MB / 1.813 GB, free: 107.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/8.116, allocations: 0 / 1.813 GB, free: 107.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00445/8.12, allocations: 1.072 MB / 1.815 GB, free: 106.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.626e-05/8.12, allocations: 14.81 kB / 1.815 GB, free: 106.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009638/8.121, allocations: 291.5 kB / 1.815 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.14e-05/8.121, allocations: 16 kB / 1.815 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/8.121, allocations: 0 / 1.815 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/8.141, allocations: 13.93 MB / 1.828 GB, free: 92.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/8.143, allocations: 1.336 MB / 1.83 GB, free: 90.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006885/8.143, allocations: 68 kB / 1.83 GB, free: 90.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/8.145, allocations: 81.39 kB / 1.83 GB, free: 90.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008179/8.146, allocations: 394.7 kB / 1.83 GB, free: 90.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008835/8.147, allocations: 335.4 kB / 1.831 GB, free: 90 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000425/8.148, allocations: 237.8 kB / 1.831 GB, free: 89.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.62e-07/8.148, allocations: 0 / 1.831 GB, free: 89.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003441/8.151, allocations: 0.6759 MB / 1.831 GB, free: 89.11 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.003304/8.154, allocations: 0.6721 MB / 1.832 GB, free: 88.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02795/8.182, allocations: 16 MB / 1.848 GB, free: 72.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/8.182, allocations: 0 / 1.848 GB, free: 72.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004676/8.187, allocations: 2.849 MB / 1.851 GB, free: 69.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/8.189, allocations: 160.5 kB / 1.851 GB, free: 69.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005577/8.194, allocations: 4.458 MB / 1.855 GB, free: 65.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/8.195, allocations: 1.327 MB / 1.856 GB, free: 63.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.18/8.375, allocations: 3.009 MB / 1.859 GB, free: 188.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/8.377, allocations: 0.6351 MB / 1.86 GB, free: 188.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/8.377, allocations: 0 / 1.86 GB, free: 188.3 MB / 494.1 MB Notification: Performance of Templates: time 0.06067/8.437, allocations: 39.55 MB / 1.899 GB, free: 176.9 MB / 494.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.makefile (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 & ./AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1)