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.001498/0.001498, allocations: 112.6 kB / 16.42 MB, free: 6.492 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.0016/0.0016, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.319/1.319, allocations: 222.9 MB / 241.1 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.02527/0.02527, allocations: 3.911 MB / 295.1 MB, free: 11.03 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.84 kB / 407.6 MB, free: 28.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06822/0.06942, allocations: 50.18 MB / 457.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002839/0.07229, allocations: 2.061 MB / 459.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005593/0.0779, allocations: 3.902 MB / 463.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.07803, allocations: 7.938 kB / 463.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.07819, allocations: 35.61 kB / 463.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.07829, allocations: 31.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.001799/0.08009, allocations: 0.8052 MB / 464.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009655/0.08976, allocations: 13.64 MB / 478.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.08994, allocations: 76.23 kB / 478.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/0.09465, allocations: 3.351 MB / 481.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005752/0.1004, allocations: 4.4 MB / 486.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001894/0.1023, allocations: 0.5898 MB / 486.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 51.02/51.12, allocations: 8.772 GB / 9.248 GB, free: 69.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002531/51.12, allocations: 2.291 MB / 9.25 GB, free: 69.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004467/51.13, allocations: 2.546 MB / 9.252 GB, free: 68.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01041/51.14, allocations: 8.627 MB / 9.261 GB, free: 63.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/51.14, allocations: 0 / 9.261 GB, free: 63.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/51.14, allocations: 0 / 9.261 GB, free: 63.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001359/51.14, allocations: 0 / 9.261 GB, free: 63.19 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.0129/51.15, allocations: 3.842 MB / 9.264 GB, free: 60.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/51.15, allocations: 12.7 kB / 9.264 GB, free: 60.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004315/51.15, allocations: 0.7909 MB / 9.265 GB, free: 59.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009037/51.16, allocations: 3.463 MB / 9.269 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/51.16, allocations: 296.4 kB / 9.269 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/51.16, allocations: 388.6 kB / 9.269 GB, free: 55.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/51.18, allocations: 8.686 MB / 9.278 GB, free: 46.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.45e-05/51.18, allocations: 0 / 9.278 GB, free: 46.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006865/51.18, allocations: 160 kB / 9.278 GB, free: 46.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/51.18, allocations: 100 kB / 9.278 GB, free: 46.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4964/51.67, allocations: 198.1 MB / 9.471 GB, free: 68.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2127/51.89, allocations: 15.92 MB / 9.487 GB, free: 235.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9463/52.83, allocations: 153.2 MB / 9.637 GB, free: 90.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00824/52.84, allocations: 5.626 MB / 9.642 GB, free: 85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001807/52.84, allocations: 1.007 MB / 9.643 GB, free: 84.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/52.84, allocations: 138.5 kB / 9.643 GB, free: 83.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1017): time 1.729e-05/52.84, allocations: 0 / 9.643 GB, free: 83.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1017): time 0.2466/53.09, allocations: 34.36 MB / 9.677 GB, free: 239.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/53.09, allocations: 155.2 kB / 9.677 GB, free: 239.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/53.09, allocations: 224.8 kB / 9.677 GB, free: 238.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001497/53.09, allocations: 189.5 kB / 9.677 GB, free: 238.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/53.09, allocations: 147.2 kB / 9.677 GB, free: 238.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002783/53.09, allocations: 3.317 MB / 9.681 GB, free: 236 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003203/53.1, allocations: 2.26 MB / 9.683 GB, free: 235.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.774e-05/53.1, allocations: 326.4 kB / 9.683 GB, free: 234.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007578/53.11, allocations: 4.874 MB / 9.688 GB, free: 230.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009744/53.11, allocations: 5.444 MB / 9.693 GB, free: 225.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02095/53.14, allocations: 11.38 MB / 9.704 GB, free: 214 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.53e-05/53.14, allocations: 0 / 9.704 GB, free: 214 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.04603/53.18, allocations: 38.31 MB / 9.742 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/53.18, allocations: 11.94 kB / 9.742 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/53.18, allocations: 0 / 9.742 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.137e-05/53.18, allocations: 33.08 kB / 9.742 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/53.19, allocations: 2.607 MB / 9.744 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001472/53.19, allocations: 32 kB / 9.744 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005654/53.2, allocations: 0.5213 MB / 9.745 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002664/53.2, allocations: 0.7565 MB / 9.746 GB, free: 171.7 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.003649/53.21, allocations: 1.074 MB / 9.747 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004946/53.21, allocations: 0.7929 MB / 9.748 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0482/53.26, allocations: 33.93 MB / 9.781 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001575/53.26, allocations: 47.81 kB / 9.781 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/53.26, allocations: 0 / 9.781 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004257/53.26, allocations: 3.115 MB / 9.784 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001611/53.26, allocations: 160 kB / 9.784 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004445/53.27, allocations: 163.3 kB / 9.784 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002042/53.27, allocations: 0.9202 MB / 9.785 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04082/53.31, allocations: 30.47 MB / 9.815 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04699/53.36, allocations: 37.87 MB / 9.852 GB, free: 63.48 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2139/53.57, allocations: 6.116 MB / 9.858 GB, free: 235.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001554/53.57, allocations: 157.6 kB / 9.858 GB, free: 235.5 MB / 0.5606 GB Notification: Performance of Backend: time 6.91e-07/53.57, allocations: 0 / 9.858 GB, free: 235.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02444/53.6, allocations: 8.645 MB / 9.866 GB, free: 232.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.007883/53.61, allocations: 5.954 MB / 9.872 GB, free: 230.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1765/53.78, allocations: 159.2 MB / 10.03 GB, free: 72.48 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)