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.00129/0.00129, allocations: 113.3 kB / 15.7 MB, free: 124 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.001529/0.001529, allocations: 197.8 kB / 16.64 MB, free: 6.609 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.475/1.475, allocations: 222.9 MB / 240.3 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1596/0.1596, allocations: 3.875 MB / 294.4 MB, free: 3.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 406.9 MB, free: 200 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2711, allocations: 50.18 MB / 457.1 MB, free: 20.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.003219/0.2744, allocations: 2.07 MB / 459.1 MB, free: 19.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.28, allocations: 3.911 MB / 463 MB, free: 16.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.2803, allocations: 7.031 kB / 463 MB, free: 16.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.2805, allocations: 40.42 kB / 463.1 MB, free: 16.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/0.2806, allocations: 30.56 kB / 463.1 MB, free: 16.66 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.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.002216/0.2828, allocations: 0.7862 MB / 463.9 MB, free: 16.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01161/0.2944, allocations: 13.64 MB / 477.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.2948, allocations: 70.62 kB / 477.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/0.3015, allocations: 3.358 MB / 481 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007451/0.309, allocations: 4.399 MB / 485.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003438/0.3124, allocations: 0.5936 MB / 486 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 57.03/57.34, allocations: 8.772 GB / 9.247 GB, free: 164.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005278/57.35, allocations: 2.292 MB / 9.249 GB, free: 164.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01052/57.36, allocations: 2.545 MB / 9.252 GB, free: 164.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01844/57.38, allocations: 8.626 MB / 9.26 GB, free: 160.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/57.38, allocations: 0 / 9.26 GB, free: 160.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/57.38, allocations: 0 / 9.26 GB, free: 160.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002653/57.38, allocations: 1.156 kB / 9.26 GB, free: 160.8 MB / 0.545 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.02287/57.4, allocations: 3.846 MB / 9.264 GB, free: 158.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/57.4, allocations: 14.3 kB / 9.264 GB, free: 158.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008484/57.41, allocations: 0.7895 MB / 9.265 GB, free: 157.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/57.42, allocations: 3.457 MB / 9.268 GB, free: 155 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005621/57.42, allocations: 297.6 kB / 9.268 GB, free: 154.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004724/57.43, allocations: 386.2 kB / 9.269 GB, free: 154.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03261/57.46, allocations: 8.682 MB / 9.277 GB, free: 149.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002197/57.46, allocations: 4 kB / 9.277 GB, free: 149.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004002/57.46, allocations: 160 kB / 9.277 GB, free: 149.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/57.46, allocations: 100 kB / 9.277 GB, free: 149.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6602/58.12, allocations: 198.1 MB / 9.471 GB, free: 149.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04264/58.17, allocations: 15.93 MB / 9.486 GB, free: 134 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 1.232/59.4, allocations: 153.2 MB / 9.636 GB, free: 168.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01128/59.41, allocations: 5.636 MB / 9.641 GB, free: 163.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002672/59.41, allocations: 0.9987 MB / 9.642 GB, free: 162.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/59.41, allocations: 138.3 kB / 9.642 GB, free: 162.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1017): time 1.733e-05/59.41, allocations: 0 / 9.642 GB, free: 162.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1017): time 0.09316/59.5, allocations: 34.37 MB / 9.676 GB, free: 127.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/59.51, allocations: 159.9 kB / 9.676 GB, free: 127.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/59.51, allocations: 225 kB / 9.676 GB, free: 127.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.005951/59.51, allocations: 181.7 kB / 9.677 GB, free: 127.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/59.51, allocations: 149.2 kB / 9.677 GB, free: 127.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.01052/59.52, allocations: 3.316 MB / 9.68 GB, free: 123.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01867/59.54, allocations: 2.266 MB / 9.682 GB, free: 121.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001531/59.54, allocations: 325.9 kB / 9.682 GB, free: 121.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01312/59.55, allocations: 4.868 MB / 9.687 GB, free: 116.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01462/59.57, allocations: 5.44 MB / 9.693 GB, free: 110.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03013/59.6, allocations: 11.38 MB / 9.704 GB, free: 99.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.938e-05/59.6, allocations: 0 / 9.704 GB, free: 99.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.06819/59.67, allocations: 38.31 MB / 9.741 GB, free: 61.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/59.67, allocations: 5.406 kB / 9.741 GB, free: 61.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/59.67, allocations: 0 / 9.741 GB, free: 61.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.99e-05/59.67, allocations: 36 kB / 9.741 GB, free: 61.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01481/59.68, allocations: 2.601 MB / 9.744 GB, free: 58.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002768/59.68, allocations: 32 kB / 9.744 GB, free: 58.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008273/59.69, allocations: 0.5181 MB / 9.744 GB, free: 58.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005416/59.7, allocations: 0.7643 MB / 9.745 GB, free: 57.25 MB / 0.545 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.01092/59.71, allocations: 1.082 MB / 9.746 GB, free: 56.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01034/59.72, allocations: 0.7851 MB / 9.747 GB, free: 55.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4365/60.15, allocations: 33.93 MB / 9.78 GB, free: 213.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.335e-05/60.15, allocations: 96.8 kB / 9.78 GB, free: 213.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-05/60.15, allocations: 0.5 kB / 9.78 GB, free: 213.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003674/60.16, allocations: 47.86 kB / 9.78 GB, free: 213.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/60.17, allocations: 5.693 MB / 9.786 GB, free: 209.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.678e-05/60.17, allocations: 2.422 kB / 9.786 GB, free: 209.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01533/60.19, allocations: 2.588 MB / 9.788 GB, free: 207.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/60.19, allocations: 33.09 kB / 9.788 GB, free: 207.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005602/60.19, allocations: 0.7004 MB / 9.789 GB, free: 207.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000215/60.19, allocations: 32 kB / 9.789 GB, free: 207.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/60.19, allocations: 5.562 kB / 9.789 GB, free: 207.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07844/60.27, allocations: 37.51 MB / 9.826 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007338/60.28, allocations: 3.1 MB / 9.829 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005165/60.28, allocations: 164 kB / 9.829 GB, free: 167.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009772/60.29, allocations: 164.1 kB / 9.829 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005325/60.3, allocations: 0.9267 MB / 9.83 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006547/60.31, allocations: 0.7565 MB / 9.831 GB, free: 165.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003659/60.31, allocations: 160.5 kB / 9.831 GB, free: 165.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.212e-06/60.31, allocations: 0 / 9.831 GB, free: 165.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01653/60.32, allocations: 1.427 MB / 9.832 GB, free: 164.4 MB / 0.545 GB 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.01024/60.33, allocations: 1.025 MB / 9.833 GB, free: 163.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.03224/60.37, allocations: 12.52 MB / 9.845 GB, free: 150.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/60.37, allocations: 0 / 9.845 GB, free: 150.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.02109/60.39, allocations: 6.918 MB / 9.852 GB, free: 144 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01034/60.4, allocations: 345.9 kB / 9.852 GB, free: 143.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02811/60.43, allocations: 10.26 MB / 9.862 GB, free: 133.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002725/60.43, allocations: 2.16 MB / 9.864 GB, free: 131.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.03287/60.46, allocations: 7.361 MB / 9.872 GB, free: 124.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01028/60.47, allocations: 1.528 MB / 9.873 GB, free: 122.6 MB / 0.545 GB Notification: Performance of SimCode: time 2.004e-06/60.47, allocations: 4 kB / 9.873 GB, free: 122.6 MB / 0.545 GB Notification: Performance of Templates: time 0.7359/61.21, allocations: 86.72 MB / 9.958 GB, free: 169.5 MB / 0.545 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)