Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.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.MinimumAndZeroPhase,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001097/0.001097, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02483/0.02483, allocations: 3.908 MB / 295.1 MB, free: 11.06 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 356.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.19, allocations: 50.18 MB / 407.1 MB, free: 31.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002601/0.1927, allocations: 2.061 MB / 409.2 MB, free: 29.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0045/0.1972, allocations: 3.914 MB / 413.1 MB, free: 25.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.1974, allocations: 7.938 kB / 413.1 MB, free: 25.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.1975, allocations: 35.59 kB / 413.1 MB, free: 25.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.021e-05/0.1976, allocations: 23.73 kB / 413.2 MB, free: 25.89 MB / 302.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.MinimumAndZeroPhase.spaceDomainNoiseMinimum.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.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.MinimumAndZeroPhase.spaceDomainNoiseMinimum.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.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.MinimumAndZeroPhase.spaceDomainNoiseZero.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.spaceDomainNoiseZero.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.MinimumAndZeroPhase.spaceDomainNoiseZero.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.spaceDomainNoiseZero.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.1993, allocations: 0.7868 MB / 413.9 MB, free: 25.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006647/0.2059, allocations: 13.65 MB / 427.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.2061, allocations: 64.3 kB / 427.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003752/0.2098, allocations: 3.355 MB / 431 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004042/0.2139, allocations: 4.407 MB / 435.4 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.2149, allocations: 0.5938 MB / 436 MB, free: 3.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 53.44/53.66, allocations: 8.772 GB / 9.198 GB, free: 143.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002723/53.66, allocations: 2.291 MB / 9.2 GB, free: 143.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002594/53.66, allocations: 2.54 MB / 9.203 GB, free: 142.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/53.67, allocations: 8.628 MB / 9.211 GB, free: 138.9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/53.67, allocations: 4 kB / 9.211 GB, free: 138.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.913e-06/53.67, allocations: 0 / 9.211 GB, free: 138.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002259/53.67, allocations: 0 / 9.211 GB, free: 138.9 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: 1025 * Number of variables: 1025 Notification: Performance of Generate backend data structure: time 0.01628/53.69, allocations: 3.847 MB / 9.215 GB, free: 136.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/53.69, allocations: 12.86 kB / 9.215 GB, free: 136.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004881/53.7, allocations: 0.7875 MB / 9.216 GB, free: 135.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009847/53.71, allocations: 3.458 MB / 9.219 GB, free: 132.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/53.71, allocations: 303.4 kB / 9.219 GB, free: 132.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/53.71, allocations: 388.6 kB / 9.22 GB, free: 132 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/53.73, allocations: 8.686 MB / 9.228 GB, free: 123.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/53.73, allocations: 0 / 9.228 GB, free: 123.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002157/53.73, allocations: 160 kB / 9.228 GB, free: 123.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/53.73, allocations: 100 kB / 9.229 GB, free: 123 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5635/54.29, allocations: 198.1 MB / 9.422 GB, free: 96.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03382/54.33, allocations: 15.92 MB / 9.438 GB, free: 80.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 1.107/55.44, allocations: 153.2 MB / 9.587 GB, free: 88.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01124/55.45, allocations: 5.632 MB / 9.593 GB, free: 82.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003012/55.45, allocations: 0.9978 MB / 9.594 GB, free: 81.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/55.45, allocations: 138.5 kB / 9.594 GB, free: 81.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1017): time 2.13e-05/55.45, allocations: 0 / 9.594 GB, free: 81.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=1017): time 0.3321/55.78, allocations: 34.37 MB / 9.627 GB, free: 211.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/55.78, allocations: 157.2 kB / 9.627 GB, free: 211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/55.78, allocations: 221.7 kB / 9.628 GB, free: 210.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.003134/55.79, allocations: 186.5 kB / 9.628 GB, free: 210.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/55.79, allocations: 147.8 kB / 9.628 GB, free: 210.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.005447/55.79, allocations: 3.321 MB / 9.631 GB, free: 208 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004079/55.8, allocations: 2.268 MB / 9.633 GB, free: 207.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.633e-05/55.8, allocations: 321.5 kB / 9.634 GB, free: 207.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008636/55.8, allocations: 4.869 MB / 9.638 GB, free: 203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01197/55.82, allocations: 5.44 MB / 9.644 GB, free: 197.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.025/55.84, allocations: 11.38 MB / 9.655 GB, free: 186.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.792e-05/55.84, allocations: 0.5 kB / 9.655 GB, free: 186.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.05953/55.9, allocations: 38.31 MB / 9.692 GB, free: 147.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/55.9, allocations: 8 kB / 9.692 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/55.9, allocations: 3.938 kB / 9.692 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.312e-05/55.9, allocations: 36.09 kB / 9.692 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01355/55.91, allocations: 2.603 MB / 9.695 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000199/55.91, allocations: 38.81 kB / 9.695 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007679/55.92, allocations: 0.5174 MB / 9.695 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004946/55.93, allocations: 0.7658 MB / 9.696 GB, free: 144 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,spaceDomainNoiseZero.actualGlobalSeed,spaceDomainNoiseMinimum.actualGlobalSeed,globalSeed.id_impure,spaceDomainNoiseZero.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 (1024): * Single equations (assignments): 1024 * 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.008837/55.94, allocations: 1.067 MB / 9.697 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007519/55.94, allocations: 0.789 MB / 9.698 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06911/56.01, allocations: 33.94 MB / 9.731 GB, free: 108.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/56.01, allocations: 99.98 kB / 9.731 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.466e-05/56.01, allocations: 0 / 9.731 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002666/56.01, allocations: 47.81 kB / 9.731 GB, free: 108.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/56.03, allocations: 5.69 MB / 9.737 GB, free: 102.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.835e-05/56.03, allocations: 0 / 9.737 GB, free: 102.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01308/56.04, allocations: 2.589 MB / 9.739 GB, free: 100 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/56.04, allocations: 32 kB / 9.739 GB, free: 100 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004044/56.04, allocations: 0.7018 MB / 9.74 GB, free: 99.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001534/56.04, allocations: 35.98 kB / 9.74 GB, free: 99.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/56.04, allocations: 0 / 9.74 GB, free: 99.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07244/56.12, allocations: 37.5 MB / 9.777 GB, free: 61.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007932/56.13, allocations: 3.108 MB / 9.78 GB, free: 58.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003698/56.13, allocations: 167.9 kB / 9.78 GB, free: 58.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00709/56.14, allocations: 161.1 kB / 9.78 GB, free: 58.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003884/56.14, allocations: 0.9241 MB / 9.781 GB, free: 57.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004158/56.14, allocations: 0.7565 MB / 9.782 GB, free: 56.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001896/56.14, allocations: 168.4 kB / 9.782 GB, free: 56.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/56.14, allocations: 0 / 9.782 GB, free: 56.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.2742/56.42, allocations: 1.425 MB / 9.783 GB, free: 208.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (position.y) * Number of discrete variables: 2 (spaceDomainNoiseMinimum.localSeed,spaceDomainNoiseZero.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1017): * Single equations (assignments): 1015 * 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.01061/56.43, allocations: 1.015 MB / 9.784 GB, free: 208.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0392/56.47, allocations: 12.53 MB / 9.796 GB, free: 201.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/56.47, allocations: 3.25 kB / 9.797 GB, free: 201.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02194/56.49, allocations: 6.924 MB / 9.803 GB, free: 195.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009486/56.5, allocations: 332.4 kB / 9.804 GB, free: 195.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/56.52, allocations: 10.25 MB / 9.814 GB, free: 184.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002126/56.53, allocations: 2.172 MB / 9.816 GB, free: 182.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.03828/56.56, allocations: 7.346 MB / 9.823 GB, free: 175.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01078/56.58, allocations: 1.528 MB / 9.824 GB, free: 174.1 MB / 494.1 MB Notification: Performance of SimCode: time 2.605e-06/56.58, allocations: 0 / 9.824 GB, free: 174.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1663/56.74, allocations: 86.73 MB / 9.909 GB, free: 87.31 MB / 494.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.sim & ./AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe 2>&1)