Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.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.SpaceAndTimeDomain,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain,tolerance=0.001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005908/0.005908, allocations: 103.4 kB / 15.73 MB, free: 6.043 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.001378/0.001378, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1629/0.1629, allocations: 3.882 MB / 294.4 MB, free: 3.211 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.91 kB / 406.9 MB, free: 120 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3211, allocations: 50.18 MB / 457.1 MB, free: 20.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.002794/0.3239, allocations: 2.068 MB / 459.2 MB, free: 19.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005569/0.3295, allocations: 3.911 MB / 463.1 MB, free: 16.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.3298, allocations: 10.66 kB / 463.1 MB, free: 16.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.3302, allocations: 48.34 kB / 463.2 MB, free: 16.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.3304, allocations: 54.95 kB / 463.2 MB, free: 16.72 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.SpaceAndTimeDomain.spaceDomainNoiseMinimum.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.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.SpaceAndTimeDomain.spaceDomainNoiseMinimum.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.spaceDomainNoiseMinimum.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.3324, allocations: 0.6569 MB / 463.9 MB, free: 16.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004876/0.3373, allocations: 5.676 MB / 469.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.3375, allocations: 48.64 kB / 469.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003146/0.3406, allocations: 1.482 MB / 471.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/0.3449, allocations: 1.872 MB / 472.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001637/0.3466, allocations: 256.8 kB / 473.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.132/9.479, allocations: 1.215 GB / 1.677 GB, free: 37.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002119/9.481, allocations: 0.9784 MB / 1.678 GB, free: 36.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002138/9.483, allocations: 1.088 MB / 1.679 GB, free: 35.67 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004346/9.487, allocations: 3.797 MB / 1.683 GB, free: 32.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/9.487, allocations: 0 / 1.683 GB, free: 32.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/9.487, allocations: 0 / 1.683 GB, free: 32.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.488e-05/9.487, allocations: 4 kB / 1.683 GB, free: 32.33 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: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.005444/9.493, allocations: 1.963 MB / 1.685 GB, free: 30.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/9.493, allocations: 8.031 kB / 1.685 GB, free: 30.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/9.495, allocations: 359 kB / 1.685 GB, free: 29.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/9.498, allocations: 1.609 MB / 1.687 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/9.498, allocations: 127.7 kB / 1.687 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004171/9.499, allocations: 160.6 kB / 1.687 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004792/9.504, allocations: 3.607 MB / 1.69 GB, free: 24.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/9.504, allocations: 3.375 kB / 1.69 GB, free: 24.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/9.504, allocations: 68 kB / 1.69 GB, free: 24.37 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/9.504, allocations: 40 kB / 1.691 GB, free: 24.33 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3558/9.86, allocations: 62.47 MB / 1.752 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008137/9.868, allocations: 6.935 MB / 1.758 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2442/10.11, allocations: 48.15 MB / 1.805 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/10.12, allocations: 2.314 MB / 1.808 GB, free: 121 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006498/10.12, allocations: 447.7 kB / 1.808 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003687/10.12, allocations: 3.06 MB / 1.811 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=423): time 5.49e-06/10.12, allocations: 3.375 kB / 1.811 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=423): time 0.01479/10.13, allocations: 12.56 MB / 1.823 GB, free: 105 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/10.13, allocations: 125.5 kB / 1.823 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/10.14, allocations: 322.8 kB / 1.824 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004812/10.14, allocations: 105.7 kB / 1.824 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/10.14, allocations: 140.5 kB / 1.824 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001127/10.14, allocations: 1.391 MB / 1.825 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/10.14, allocations: 0.9447 MB / 1.826 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.415e-05/10.14, allocations: 329.9 kB / 1.827 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/10.14, allocations: 2.043 MB / 1.829 GB, free: 99.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003315/10.14, allocations: 2.293 MB / 1.831 GB, free: 97.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007237/10.15, allocations: 4.756 MB / 1.835 GB, free: 92.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/10.15, allocations: 0 / 1.835 GB, free: 92.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=439) (initialization): time 0.01408/10.17, allocations: 13.4 MB / 1.848 GB, free: 79.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/10.17, allocations: 8 kB / 1.848 GB, free: 79.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/10.17, allocations: 0 / 1.848 GB, free: 79.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/10.17, allocations: 16 kB / 1.849 GB, free: 79.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/10.17, allocations: 1.09 MB / 1.85 GB, free: 77.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.351e-05/10.17, allocations: 16 kB / 1.85 GB, free: 77.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/10.17, allocations: 241.4 kB / 1.85 GB, free: 77.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000467/10.17, allocations: 323.5 kB / 1.85 GB, free: 77.36 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,globalSeed.seed,bandLimitedWhiteNoise.actualGlobalSeed,bandLimitedWhiteNoise.localSeed,spaceDomainNoiseMinimum.actualGlobalSeed,globalSeed.id_impure,spaceDomainNoiseMinimum.localSeed,bandLimitedWhiteNoise.r_raw,$PRE.bandLimitedWhiteNoise.r_raw,bandLimitedWhiteNoise.r,$PRE.bandLimitedWhiteNoise.r,bandLimitedWhiteNoise.state[4],$PRE.bandLimitedWhiteNoise.state[4],bandLimitedWhiteNoise.state[3],$PRE.bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[2],$PRE.bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[1],$PRE.bandLimitedWhiteNoise.state[1],position.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 435 * Array equations: 1 * 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.0009813/10.17, allocations: 0.5385 MB / 1.851 GB, free: 76.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/10.17, allocations: 342.2 kB / 1.851 GB, free: 76.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/10.19, allocations: 12.31 MB / 1.863 GB, free: 64.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/10.19, allocations: 40 kB / 1.863 GB, free: 64.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/10.19, allocations: 4 kB / 1.863 GB, free: 64.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-05/10.19, allocations: 23.92 kB / 1.863 GB, free: 64.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/10.19, allocations: 2.468 MB / 1.865 GB, free: 61.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/10.19, allocations: 0 / 1.865 GB, free: 61.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00398/10.2, allocations: 1.06 MB / 1.866 GB, free: 60.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.283e-05/10.2, allocations: 12 kB / 1.867 GB, free: 60.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004005/10.2, allocations: 295.5 kB / 1.867 GB, free: 60.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/10.2, allocations: 15.94 kB / 1.867 GB, free: 60.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/10.2, allocations: 0 / 1.867 GB, free: 60.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/10.21, allocations: 13.84 MB / 1.88 GB, free: 46.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/10.22, allocations: 1.329 MB / 1.882 GB, free: 45.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/10.22, allocations: 71.94 kB / 1.882 GB, free: 45.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/10.22, allocations: 83.97 kB / 1.882 GB, free: 45.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005654/10.22, allocations: 386.5 kB / 1.882 GB, free: 44.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004106/10.22, allocations: 315.5 kB / 1.882 GB, free: 44.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00032/10.22, allocations: 233.9 kB / 1.883 GB, free: 44.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.42e-07/10.22, allocations: 2.516 kB / 1.883 GB, free: 44.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002235/10.22, allocations: 0.6613 MB / 1.883 GB, free: 43.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (position.y,timeDomainFilter.x_scaled[1],timeDomainFilter.x_scaled[2]) * Number of discrete variables: 8 (spaceDomainNoiseMinimum.localSeed,$whenCondition1,bandLimitedWhiteNoise.state[1],bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[4],bandLimitedWhiteNoise.r,bandLimitedWhiteNoise.r_raw) * Number of discrete states: 4 (bandLimitedWhiteNoise.state[1],bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (419): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001481/10.22, allocations: 0.6427 MB / 1.884 GB, free: 42.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2031/10.42, allocations: 5.185 MB / 1.889 GB, free: 204 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/10.42, allocations: 0 / 1.889 GB, free: 204 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006526/10.43, allocations: 2.844 MB / 1.892 GB, free: 203.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/10.43, allocations: 154 kB / 1.892 GB, free: 203.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/10.44, allocations: 4.411 MB / 1.896 GB, free: 201.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/10.44, allocations: 1.336 MB / 1.898 GB, free: 200.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00759/10.45, allocations: 2.989 MB / 1.9 GB, free: 199.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/10.45, allocations: 0.6263 MB / 1.901 GB, free: 199.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.423e-06/10.45, allocations: 0 / 1.901 GB, free: 199.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.06124/10.51, allocations: 39.86 MB / 1.94 GB, free: 174.2 MB / 0.5294 GB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.sim & ./AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.pipe 2>&1)