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.001264/0.001264, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001236/0.001236, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.276/1.276, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02516/0.02516, allocations: 3.896 MB / 295.1 MB, free: 11.05 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 66.22 kB / 407.6 MB, free: 28.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06862/0.06986, allocations: 50.17 MB / 457.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002863/0.07275, allocations: 2.064 MB / 459.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.07837, allocations: 3.898 MB / 463.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.07849, allocations: 11.88 kB / 463.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.0788, allocations: 59.53 kB / 463.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.07896, allocations: 47.62 kB / 463.9 MB, free: 4.008 MB / 334.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.001547/0.08052, allocations: 0.7244 MB / 464.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004318/0.08485, allocations: 5.724 MB / 470.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.08498, allocations: 60.36 kB / 470.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.08642, allocations: 1.481 MB / 471.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.08835, allocations: 1.88 MB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004651/0.08883, allocations: 256 kB / 474 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.949/7.038, allocations: 1.215 GB / 1.678 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001147/7.039, allocations: 0.9802 MB / 1.679 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009914/7.04, allocations: 1.097 MB / 1.68 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002692/7.043, allocations: 3.858 MB / 1.684 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/7.043, allocations: 0 / 1.684 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/7.043, allocations: 0 / 1.684 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.791e-05/7.043, allocations: 1.156 kB / 1.684 GB, free: 154.2 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.005887/7.049, allocations: 1.99 MB / 1.686 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/7.049, allocations: 8.906 kB / 1.686 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/7.051, allocations: 384.8 kB / 1.686 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/7.055, allocations: 1.613 MB / 1.688 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/7.055, allocations: 123.1 kB / 1.688 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000384/7.056, allocations: 167.5 kB / 1.688 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004427/7.06, allocations: 3.633 MB / 1.691 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/7.06, allocations: 0 / 1.691 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/7.06, allocations: 67.84 kB / 1.691 GB, free: 149 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/7.06, allocations: 39.28 kB / 1.692 GB, free: 149 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08986/7.15, allocations: 62.5 MB / 1.753 GB, free: 86.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008652/7.159, allocations: 6.892 MB / 1.759 GB, free: 80.08 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2578/7.417, allocations: 48.98 MB / 1.807 GB, free: 30.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/7.42, allocations: 2.322 MB / 1.809 GB, free: 28.58 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000761/7.421, allocations: 0.6018 MB / 1.81 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/7.421, allocations: 80.69 kB / 1.81 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=422): time 6.081e-06/7.421, allocations: 4 kB / 1.81 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=422): time 0.1841/7.605, allocations: 12.57 MB / 1.822 GB, free: 212.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/7.605, allocations: 95.47 kB / 1.822 GB, free: 212.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/7.605, allocations: 311.7 kB / 1.823 GB, free: 212.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000261/7.605, allocations: 94.45 kB / 1.823 GB, free: 212.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/7.606, allocations: 157.3 kB / 1.823 GB, free: 212.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000766/7.606, allocations: 1.376 MB / 1.824 GB, free: 211 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/7.608, allocations: 0.9473 MB / 1.825 GB, free: 210.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/7.608, allocations: 328.6 kB / 1.826 GB, free: 210.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002761/7.61, allocations: 2.017 MB / 1.827 GB, free: 208.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/7.614, allocations: 2.275 MB / 1.83 GB, free: 206.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006817/7.62, allocations: 4.735 MB / 1.834 GB, free: 201.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/7.62, allocations: 0 / 1.834 GB, free: 201.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01352/7.634, allocations: 13.4 MB / 1.847 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/7.634, allocations: 8.75 kB / 1.847 GB, free: 188.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/7.634, allocations: 0 / 1.847 GB, free: 188.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/7.634, allocations: 16 kB / 1.847 GB, free: 188.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0041/7.638, allocations: 1.095 MB / 1.849 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.293e-05/7.638, allocations: 14.81 kB / 1.849 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/7.64, allocations: 244.2 kB / 1.849 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004858/7.64, allocations: 347.4 kB / 1.849 GB, free: 186.8 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.0008777/7.641, allocations: 0.5247 MB / 1.85 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/7.643, allocations: 349.9 kB / 1.85 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/7.658, allocations: 12.38 MB / 1.862 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.143e-05/7.658, allocations: 19.92 kB / 1.862 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/7.658, allocations: 0 / 1.862 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/7.659, allocations: 1.344 MB / 1.863 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003703/7.66, allocations: 64 kB / 1.863 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/7.661, allocations: 79.98 kB / 1.864 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005451/7.662, allocations: 398.6 kB / 1.864 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01264/7.674, allocations: 11.02 MB / 1.875 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01572/7.69, allocations: 14.12 MB / 1.888 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003106/7.693, allocations: 2.52 MB / 1.891 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003505/7.694, allocations: 225.9 kB / 1.891 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of Backend: time 9.62e-07/7.694, allocations: 0 / 1.891 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006826/7.7, allocations: 3.808 MB / 1.895 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of SimCode: time 0.00311/7.704, allocations: 2.939 MB / 1.898 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.0759/7.78, allocations: 70.87 MB / 1.967 GB, free: 66.22 MB / 0.5294 GB 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)