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.001374/0.001374, allocations: 111.4 kB / 16.37 MB, free: 5.984 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.001302/0.001302, allocations: 194.6 kB / 17.31 MB, free: 5.602 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02428/0.02428, allocations: 3.906 MB / 295.1 MB, free: 11.03 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 356.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2483, allocations: 50.18 MB / 407.1 MB, free: 31.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002711/0.2511, allocations: 2.066 MB / 409.2 MB, free: 29.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00478/0.2559, allocations: 3.905 MB / 413.1 MB, free: 25.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.2561, allocations: 7.938 kB / 413.1 MB, free: 25.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.2563, allocations: 35.61 kB / 413.1 MB, free: 25.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.44e-05/0.2563, allocations: 27.73 kB / 413.2 MB, free: 25.87 MB / 302.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.001874/0.2582, allocations: 0.7932 MB / 414 MB, free: 25.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006689/0.2649, allocations: 13.64 MB / 427.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.2651, allocations: 76.28 kB / 427.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.2694, allocations: 3.355 MB / 431 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0041/0.2735, allocations: 4.403 MB / 435.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.2745, allocations: 0.5938 MB / 436 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 53.47/53.75, allocations: 8.772 GB / 9.198 GB, free: 144.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004598/53.75, allocations: 2.295 MB / 9.2 GB, free: 144.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007103/53.76, allocations: 2.54 MB / 9.203 GB, free: 144.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01726/53.78, allocations: 8.626 MB / 9.211 GB, free: 140.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/53.78, allocations: 0 / 9.211 GB, free: 140.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.958e-06/53.78, allocations: 4 kB / 9.211 GB, free: 140.4 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003401/53.78, allocations: 0 / 9.211 GB, free: 140.4 MB / 494.1 MB 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.02306/53.8, allocations: 3.849 MB / 9.215 GB, free: 137.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.869e-05/53.8, allocations: 13.64 kB / 9.215 GB, free: 137.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008145/53.81, allocations: 0.7865 MB / 9.216 GB, free: 137.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/53.82, allocations: 3.454 MB / 9.219 GB, free: 134.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005656/53.82, allocations: 297.5 kB / 9.219 GB, free: 134 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003851/53.83, allocations: 384.6 kB / 9.22 GB, free: 133.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02793/53.85, allocations: 8.694 MB / 9.228 GB, free: 124.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002234/53.85, allocations: 0 / 9.228 GB, free: 124.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002874/53.86, allocations: 160 kB / 9.228 GB, free: 124.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-05/53.86, allocations: 96 kB / 9.228 GB, free: 124.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5853/54.44, allocations: 198.1 MB / 9.422 GB, free: 97.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04081/54.48, allocations: 15.92 MB / 9.438 GB, free: 81.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 1.234/55.72, allocations: 153.2 MB / 9.587 GB, free: 89.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01143/55.73, allocations: 5.63 MB / 9.593 GB, free: 84.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002461/55.73, allocations: 1.002 MB / 9.594 GB, free: 83.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/55.73, allocations: 140 kB / 9.594 GB, free: 83.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1017): time 2.722e-05/55.73, allocations: 0.5625 kB / 9.594 GB, free: 83.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1017): time 0.3951/56.13, allocations: 34.36 MB / 9.627 GB, free: 210.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002297/56.13, allocations: 158.4 kB / 9.627 GB, free: 210.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/56.13, allocations: 226.8 kB / 9.628 GB, free: 210.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.003736/56.13, allocations: 186.8 kB / 9.628 GB, free: 210.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/56.13, allocations: 148.1 kB / 9.628 GB, free: 210.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.006575/56.14, allocations: 3.32 MB / 9.631 GB, free: 207.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01414/56.15, allocations: 2.269 MB / 9.633 GB, free: 206.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/56.15, allocations: 318.5 kB / 9.634 GB, free: 206.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01239/56.16, allocations: 4.87 MB / 9.638 GB, free: 204.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01652/56.18, allocations: 5.437 MB / 9.644 GB, free: 198.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02683/56.21, allocations: 11.38 MB / 9.655 GB, free: 187.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.47e-05/56.21, allocations: 0 / 9.655 GB, free: 187.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.06746/56.28, allocations: 38.31 MB / 9.692 GB, free: 149.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/56.28, allocations: 10.72 kB / 9.692 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.759e-05/56.28, allocations: 7.938 kB / 9.692 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.26e-05/56.28, allocations: 32 kB / 9.692 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01454/56.29, allocations: 2.597 MB / 9.695 GB, free: 146.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002498/56.29, allocations: 32 kB / 9.695 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009478/56.3, allocations: 0.5174 MB / 9.695 GB, free: 146.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006004/56.31, allocations: 0.7643 MB / 9.696 GB, free: 145.3 MB / 494.1 MB 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.01104/56.32, allocations: 1.071 MB / 9.697 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009681/56.33, allocations: 0.7812 MB / 9.698 GB, free: 143.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06855/56.4, allocations: 33.94 MB / 9.731 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/56.4, allocations: 99.98 kB / 9.731 GB, free: 109.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.802e-05/56.4, allocations: 6.109 kB / 9.731 GB, free: 109.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002588/56.4, allocations: 47.81 kB / 9.731 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/56.41, allocations: 5.684 MB / 9.737 GB, free: 104 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.976e-05/56.41, allocations: 3.938 kB / 9.737 GB, free: 104 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01258/56.42, allocations: 2.585 MB / 9.739 GB, free: 101.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/56.42, allocations: 32 kB / 9.739 GB, free: 101.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003439/56.43, allocations: 0.7018 MB / 9.74 GB, free: 100.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001346/56.43, allocations: 39.98 kB / 9.74 GB, free: 100.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/56.43, allocations: 0 / 9.74 GB, free: 100.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08327/56.51, allocations: 37.5 MB / 9.777 GB, free: 63.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008567/56.52, allocations: 3.104 MB / 9.78 GB, free: 59.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003956/56.52, allocations: 163.9 kB / 9.78 GB, free: 59.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007749/56.53, allocations: 160 kB / 9.78 GB, free: 59.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00477/56.53, allocations: 0.9286 MB / 9.781 GB, free: 58.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005495/56.54, allocations: 0.7526 MB / 9.782 GB, free: 57.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002829/56.54, allocations: 168.5 kB / 9.782 GB, free: 57.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/56.54, allocations: 4 kB / 9.782 GB, free: 57.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01399/56.55, allocations: 1.422 MB / 9.783 GB, free: 56.4 MB / 494.1 MB 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.009465/56.56, allocations: 1.042 MB / 9.784 GB, free: 55.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.3069/56.87, allocations: 12.52 MB / 9.797 GB, free: 203.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/56.87, allocations: 0 / 9.797 GB, free: 203.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01633/56.89, allocations: 6.919 MB / 9.803 GB, free: 197.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006146/56.89, allocations: 328.4 kB / 9.804 GB, free: 197 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/56.91, allocations: 10.26 MB / 9.814 GB, free: 186.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/56.92, allocations: 2.171 MB / 9.816 GB, free: 184.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.02798/56.94, allocations: 7.344 MB / 9.823 GB, free: 177.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006853/56.95, allocations: 1.524 MB / 9.824 GB, free: 176.1 MB / 494.1 MB Notification: Performance of SimCode: time 9.11e-07/56.95, allocations: 0 / 9.824 GB, free: 176.1 MB / 494.1 MB Notification: Performance of Templates: time 0.139/57.09, allocations: 86.74 MB / 9.909 GB, free: 89.3 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe 2>&1)