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.001076/0.001076, allocations: 111.8 kB / 16.42 MB, free: 6.512 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.001031/0.001031, allocations: 189.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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02484/0.02484, allocations: 3.913 MB / 295.1 MB, free: 11.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.84 kB / 407.6 MB, free: 28.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06844/0.06964, allocations: 50.18 MB / 457.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002722/0.07239, allocations: 2.065 MB / 459.9 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.07799, allocations: 3.898 MB / 463.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.07813, allocations: 7.938 kB / 463.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.07829, allocations: 39.55 kB / 463.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.457e-05/0.07839, allocations: 23.73 kB / 463.9 MB, free: 3.895 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.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.001892/0.08029, allocations: 0.7968 MB / 464.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009736/0.09003, allocations: 13.64 MB / 478.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.09021, allocations: 76.22 kB / 478.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/0.09424, allocations: 3.358 MB / 481.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004602/0.09885, allocations: 4.396 MB / 486.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.09999, allocations: 0.5938 MB / 486.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 51.05/51.15, allocations: 8.772 GB / 9.248 GB, free: 72.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002728/51.15, allocations: 2.296 MB / 9.25 GB, free: 72.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004448/51.16, allocations: 2.539 MB / 9.252 GB, free: 71.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009992/51.17, allocations: 8.631 MB / 9.261 GB, free: 66.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/51.17, allocations: 0 / 9.261 GB, free: 66.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/51.17, allocations: 0 / 9.261 GB, free: 66.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.847e-05/51.17, allocations: 3.969 kB / 9.261 GB, free: 66.02 MB / 0.5606 GB 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.01226/51.18, allocations: 3.839 MB / 9.264 GB, free: 63.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/51.18, allocations: 13.92 kB / 9.264 GB, free: 63.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/51.18, allocations: 0.7891 MB / 9.265 GB, free: 62.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009214/51.19, allocations: 3.459 MB / 9.269 GB, free: 59.24 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/51.19, allocations: 300.4 kB / 9.269 GB, free: 58.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/51.19, allocations: 392.6 kB / 9.269 GB, free: 58.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/51.21, allocations: 8.682 MB / 9.278 GB, free: 49.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.831e-05/51.21, allocations: 0 / 9.278 GB, free: 49.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006691/51.21, allocations: 160 kB / 9.278 GB, free: 49.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/51.21, allocations: 100.5 kB / 9.278 GB, free: 49.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4965/51.7, allocations: 198.1 MB / 9.471 GB, free: 70.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2036/51.91, allocations: 15.92 MB / 9.487 GB, free: 236.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.8924/52.8, allocations: 153.2 MB / 9.637 GB, free: 92.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007835/52.81, allocations: 5.634 MB / 9.642 GB, free: 87.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/52.81, allocations: 0.9952 MB / 9.643 GB, free: 86.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.487e-05/52.81, allocations: 139.1 kB / 9.643 GB, free: 86.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1017): time 1.226e-05/52.81, allocations: 8 kB / 9.643 GB, free: 86.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1017): time 0.2359/53.04, allocations: 34.36 MB / 9.677 GB, free: 238.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/53.04, allocations: 159.8 kB / 9.677 GB, free: 238.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/53.04, allocations: 227 kB / 9.677 GB, free: 238.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00175/53.05, allocations: 185.3 kB / 9.677 GB, free: 238.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/53.05, allocations: 149.5 kB / 9.677 GB, free: 238.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0033/53.05, allocations: 3.318 MB / 9.681 GB, free: 235.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004037/53.05, allocations: 2.261 MB / 9.683 GB, free: 235.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.611e-05/53.05, allocations: 318.3 kB / 9.683 GB, free: 234.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007364/53.06, allocations: 4.869 MB / 9.688 GB, free: 233.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009367/53.07, allocations: 5.447 MB / 9.693 GB, free: 227.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02017/53.09, allocations: 11.38 MB / 9.704 GB, free: 216.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.977e-05/53.09, allocations: 0 / 9.704 GB, free: 216.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.04357/53.13, allocations: 38.31 MB / 9.742 GB, free: 178 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/53.13, allocations: 7.938 kB / 9.742 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/53.13, allocations: 0 / 9.742 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.58e-05/53.13, allocations: 36 kB / 9.742 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01136/53.15, allocations: 2.595 MB / 9.744 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001282/53.15, allocations: 40.5 kB / 9.744 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004937/53.15, allocations: 0.5174 MB / 9.745 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002348/53.15, allocations: 0.7643 MB / 9.746 GB, free: 174.1 MB / 0.5606 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,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.003276/53.16, allocations: 1.067 MB / 9.747 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004481/53.16, allocations: 0.7969 MB / 9.748 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0443/53.21, allocations: 33.94 MB / 9.781 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001255/53.21, allocations: 50.06 kB / 9.781 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/53.21, allocations: 0 / 9.781 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003797/53.21, allocations: 3.104 MB / 9.784 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/53.21, allocations: 164 kB / 9.784 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003417/53.21, allocations: 156 kB / 9.784 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001556/53.22, allocations: 0.9232 MB / 9.785 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03514/53.25, allocations: 30.46 MB / 9.815 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04251/53.29, allocations: 37.87 MB / 9.852 GB, free: 65.85 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.1978/53.49, allocations: 6.111 MB / 9.858 GB, free: 235.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000149/53.49, allocations: 157.8 kB / 9.858 GB, free: 235.2 MB / 0.5606 GB Notification: Performance of Backend: time 7.71e-07/53.49, allocations: 0 / 9.858 GB, free: 235.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0188/53.51, allocations: 8.644 MB / 9.866 GB, free: 232.5 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00713/53.52, allocations: 5.959 MB / 9.872 GB, free: 230 MB / 0.5606 GB Notification: Performance of Templates: time 0.1726/53.69, allocations: 159.2 MB / 10.03 GB, free: 74.71 MB / 0.5606 GB 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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe 2>&1)