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.006002/0.006001, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001412/0.001412, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1313/0.1313, allocations: 3.888 MB / 294.4 MB, free: 3.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 63.89 kB / 406.9 MB, free: 108 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2564, allocations: 50.18 MB / 457.1 MB, free: 20.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002702/0.2592, allocations: 2.065 MB / 459.2 MB, free: 19.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005367/0.2646, allocations: 3.91 MB / 463.1 MB, free: 16.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.2648, allocations: 6.875 kB / 463.1 MB, free: 16.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.265, allocations: 36.08 kB / 463.1 MB, free: 16.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/0.2651, allocations: 22.34 kB / 463.2 MB, free: 16.74 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.002053/0.2671, allocations: 0.8018 MB / 464 MB, free: 16.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009836/0.277, allocations: 13.64 MB / 477.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.2772, allocations: 67.73 kB / 477.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006179/0.2834, allocations: 3.365 MB / 481 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007109/0.2906, allocations: 4.395 MB / 485.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002204/0.2928, allocations: 0.5932 MB / 486 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 70.93/71.22, allocations: 8.772 GB / 9.247 GB, free: 184.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.006425/71.23, allocations: 2.292 MB / 9.249 GB, free: 184.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009234/71.23, allocations: 2.551 MB / 9.252 GB, free: 184 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02128/71.26, allocations: 8.623 MB / 9.26 GB, free: 181.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/71.26, allocations: 0 / 9.26 GB, free: 181.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.575e-06/71.26, allocations: 1.406 kB / 9.26 GB, free: 181.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002441/71.26, allocations: 0.625 kB / 9.26 GB, free: 181.3 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.02701/71.28, allocations: 3.841 MB / 9.264 GB, free: 178.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/71.28, allocations: 13.08 kB / 9.264 GB, free: 178.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006954/71.29, allocations: 0.7973 MB / 9.265 GB, free: 178.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/71.3, allocations: 3.457 MB / 9.268 GB, free: 175.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/71.3, allocations: 297.9 kB / 9.268 GB, free: 175.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002976/71.31, allocations: 386.4 kB / 9.269 GB, free: 175.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02572/71.33, allocations: 8.685 MB / 9.277 GB, free: 170.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/71.33, allocations: 0.8438 kB / 9.277 GB, free: 170.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001896/71.33, allocations: 160.7 kB / 9.277 GB, free: 170 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/71.33, allocations: 100.2 kB / 9.277 GB, free: 170 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5758/71.91, allocations: 198.1 MB / 9.471 GB, free: 167.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03625/71.95, allocations: 15.92 MB / 9.486 GB, free: 151.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 1.229/73.17, allocations: 153.1 MB / 9.636 GB, free: 186.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008986/73.18, allocations: 5.636 MB / 9.641 GB, free: 181.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002097/73.19, allocations: 1.003 MB / 9.642 GB, free: 180.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/73.19, allocations: 137.4 kB / 9.643 GB, free: 180.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1017): time 1.44e-05/73.19, allocations: 0 / 9.643 GB, free: 180.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1017): time 0.06364/73.25, allocations: 34.37 MB / 9.676 GB, free: 146.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/73.25, allocations: 156.9 kB / 9.676 GB, free: 146.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/73.25, allocations: 225.7 kB / 9.676 GB, free: 145.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.003888/73.25, allocations: 185.7 kB / 9.677 GB, free: 145.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/73.25, allocations: 151.5 kB / 9.677 GB, free: 145.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.006496/73.26, allocations: 3.321 MB / 9.68 GB, free: 142.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01151/73.27, allocations: 2.259 MB / 9.682 GB, free: 140 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000131/73.27, allocations: 321.9 kB / 9.683 GB, free: 139.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01073/73.28, allocations: 4.872 MB / 9.687 GB, free: 134.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01124/73.29, allocations: 5.447 MB / 9.693 GB, free: 129.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02574/73.32, allocations: 11.38 MB / 9.704 GB, free: 117.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.86e-05/73.32, allocations: 3.984 kB / 9.704 GB, free: 117.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.05623/73.38, allocations: 38.3 MB / 9.741 GB, free: 79.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/73.38, allocations: 11.98 kB / 9.741 GB, free: 79.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/73.38, allocations: 96 / 9.741 GB, free: 79.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.692e-05/73.38, allocations: 36 kB / 9.741 GB, free: 79.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0129/73.39, allocations: 2.601 MB / 9.744 GB, free: 76.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001897/73.39, allocations: 34.81 kB / 9.744 GB, free: 76.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006695/73.4, allocations: 0.522 MB / 9.744 GB, free: 76.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003719/73.4, allocations: 0.7605 MB / 9.745 GB, free: 75.61 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.006497/73.41, allocations: 1.07 MB / 9.746 GB, free: 74.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007128/73.41, allocations: 0.789 MB / 9.747 GB, free: 73.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2972/73.71, allocations: 33.93 MB / 9.78 GB, free: 216 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.078e-05/73.71, allocations: 96.31 kB / 9.78 GB, free: 216 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/73.71, allocations: 0.5 kB / 9.78 GB, free: 216 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001998/73.71, allocations: 49.22 kB / 9.78 GB, free: 216 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/73.72, allocations: 5.694 MB / 9.786 GB, free: 214 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.397e-05/73.72, allocations: 2.562 kB / 9.786 GB, free: 214 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01578/73.74, allocations: 2.583 MB / 9.788 GB, free: 213.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/73.74, allocations: 31.41 kB / 9.788 GB, free: 213.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005146/73.74, allocations: 0.6975 MB / 9.789 GB, free: 213.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002227/73.74, allocations: 32.41 kB / 9.789 GB, free: 213.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/73.74, allocations: 2.344 kB / 9.789 GB, free: 213.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06231/73.81, allocations: 37.51 MB / 9.826 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006526/73.81, allocations: 3.108 MB / 9.829 GB, free: 184.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002731/73.82, allocations: 160 kB / 9.829 GB, free: 184.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004564/73.82, allocations: 160 kB / 9.829 GB, free: 184.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002239/73.82, allocations: 0.9202 MB / 9.83 GB, free: 183.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002203/73.82, allocations: 0.7683 MB / 9.831 GB, free: 182.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001673/73.82, allocations: 156.5 kB / 9.831 GB, free: 182.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/73.82, allocations: 0 / 9.831 GB, free: 182.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008866/73.83, allocations: 1.423 MB / 9.832 GB, free: 181.3 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.004476/73.84, allocations: 1.03 MB / 9.833 GB, free: 180.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02194/73.86, allocations: 12.52 MB / 9.845 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/73.86, allocations: 0 / 9.845 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01591/73.88, allocations: 6.922 MB / 9.852 GB, free: 161 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/73.88, allocations: 337.1 kB / 9.852 GB, free: 160.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/73.89, allocations: 10.27 MB / 9.862 GB, free: 150.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/73.89, allocations: 2.168 MB / 9.865 GB, free: 148.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01958/73.91, allocations: 7.353 MB / 9.872 GB, free: 141.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004315/73.92, allocations: 1.528 MB / 9.873 GB, free: 139.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/73.92, allocations: 0 / 9.873 GB, free: 139.5 MB / 0.545 GB Notification: Performance of Templates: time 0.1114/74.03, allocations: 88.57 MB / 9.96 GB, free: 50.8 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)