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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9925/0.9925, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.01645/0.01645, allocations: 3.156 MB / 264.2 MB, free: 9.902 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 334.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.216e-05, allocations: 2.312 kB / 334.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002168/0.00219, allocations: 2.041 MB / 336.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.005986, allocations: 3.53 MB / 340.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.006158, allocations: 11.88 kB / 340.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.006322, allocations: 35.55 kB / 340.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.006398, allocations: 27.8 kB / 340.4 MB, free: 10.02 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 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 master/Sources/SignalBasedNoise.mo:248:3-259: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 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 master/Sources/SignalBasedNoise.mo:248:3-259: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.001643/0.008041, allocations: 0.8875 MB / 341.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005827/0.01387, allocations: 13.6 MB / 354.9 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.01405, allocations: 52.59 kB / 354.9 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01175/0.02579, allocations: 4.787 MB / 359.7 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005349/0.03114, allocations: 4.181 MB / 363.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001995/0.03314, allocations: 0.5312 MB / 364.4 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 26.72/26.75, allocations: 8.831 GB / 9.187 GB, free: 48.64 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002495/26.75, allocations: 2.224 MB / 9.189 GB, free: 47.99 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003789/26.76, allocations: 1.993 MB / 9.191 GB, free: 47.18 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/26.77, allocations: 9.296 MB / 9.2 GB, free: 38.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/26.77, allocations: 0 / 9.2 GB, free: 38.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/26.77, allocations: 0 / 9.2 GB, free: 38.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001295/26.77, allocations: 0 / 9.2 GB, free: 38.36 MB / 426.7 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.008735/26.78, allocations: 4 MB / 9.204 GB, free: 34.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/26.78, allocations: 12.03 kB / 9.204 GB, free: 34.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005251/26.78, allocations: 1.342 MB / 9.205 GB, free: 32.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/26.79, allocations: 2.974 MB / 9.208 GB, free: 29.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/26.79, allocations: 300.4 kB / 9.209 GB, free: 29.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008793/26.79, allocations: 384.4 kB / 9.209 GB, free: 29.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1358/26.92, allocations: 5.911 MB / 9.215 GB, free: 174.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.118e-05/26.92, allocations: 3.5 kB / 9.215 GB, free: 174.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006078/26.92, allocations: 160.1 kB / 9.215 GB, free: 174.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-05/26.92, allocations: 94.94 kB / 9.215 GB, free: 174.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1353/27.06, allocations: 132.3 MB / 9.344 GB, free: 48.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1331/27.19, allocations: 11.18 MB / 9.355 GB, free: 173.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7198/27.91, allocations: 225.3 MB / 9.575 GB, free: 90.2 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003904/27.92, allocations: 2.177 MB / 9.577 GB, free: 88.2 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009616/27.92, allocations: 0.6082 MB / 9.578 GB, free: 87.66 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.052e-05/27.92, allocations: 145.5 kB / 9.578 GB, free: 87.57 MB / 426.8 MB Notification: Performance of pre-optimization done (n=1017): time 1.104e-05/27.92, allocations: 0 / 9.578 GB, free: 87.57 MB / 426.8 MB Notification: Performance of matching and sorting (n=1017): time 0.01972/27.94, allocations: 24.71 MB / 9.602 GB, free: 61.31 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/27.94, allocations: 158.6 kB / 9.602 GB, free: 61.15 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/27.94, allocations: 273.6 kB / 9.603 GB, free: 60.89 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004412/27.94, allocations: 186.8 kB / 9.603 GB, free: 60.83 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/27.94, allocations: 191.5 kB / 9.603 GB, free: 60.67 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001474/27.94, allocations: 3.568 MB / 9.606 GB, free: 57.95 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/27.94, allocations: 2.352 MB / 9.609 GB, free: 55.74 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 5.324e-05/27.94, allocations: 499.8 kB / 9.609 GB, free: 55.25 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/27.94, allocations: 1.924 MB / 9.611 GB, free: 53.32 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002901/27.95, allocations: 2.644 MB / 9.614 GB, free: 50.8 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0065/27.95, allocations: 5.182 MB / 9.619 GB, free: 45.68 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/27.95, allocations: 0 / 9.619 GB, free: 45.68 MB / 426.8 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.1502/28.1, allocations: 21.24 MB / 9.639 GB, free: 169.6 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/28.1, allocations: 8.25 kB / 9.639 GB, free: 169.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/28.1, allocations: 0 / 9.639 GB, free: 169.6 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.843e-05/28.1, allocations: 33.75 kB / 9.64 GB, free: 169.6 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00531/28.11, allocations: 2.605 MB / 9.642 GB, free: 169.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001027/28.11, allocations: 36.09 kB / 9.642 GB, free: 169.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/28.11, allocations: 0.5354 MB / 9.643 GB, free: 169.1 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006739/28.11, allocations: 0.6973 MB / 9.643 GB, free: 168.8 MB / 426.8 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 (position.local_reset,globalSeed.seed,globalSeed.id_impure,spaceDomainNoiseMinimum.actualGlobalSeed,spaceDomainNoiseZero.actualGlobalSeed,spaceDomainNoiseZero.localSeed,spaceDomainNoiseMinimum.localSeed) * 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.001577/28.11, allocations: 0.5643 MB / 9.644 GB, free: 168.4 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00307/28.11, allocations: 1.342 MB / 9.645 GB, free: 167.3 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02056/28.14, allocations: 26.51 MB / 9.671 GB, free: 139.9 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/28.14, allocations: 96 kB / 9.671 GB, free: 139.8 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/28.14, allocations: 0 / 9.671 GB, free: 139.8 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-05/28.14, allocations: 47.81 kB / 9.671 GB, free: 139.8 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/28.14, allocations: 2.798 MB / 9.674 GB, free: 137.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/28.14, allocations: 0 / 9.674 GB, free: 137.3 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004769/28.14, allocations: 2.581 MB / 9.676 GB, free: 134.7 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-05/28.14, allocations: 35.98 kB / 9.676 GB, free: 134.7 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006382/28.14, allocations: 0.7034 MB / 9.677 GB, free: 134 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.196e-05/28.14, allocations: 32 kB / 9.677 GB, free: 134 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/28.14, allocations: 3.938 kB / 9.677 GB, free: 133.9 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02113/28.16, allocations: 25.61 MB / 9.702 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00238/28.17, allocations: 2.911 MB / 9.705 GB, free: 103.2 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005989/28.17, allocations: 160 kB / 9.705 GB, free: 103.1 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/28.17, allocations: 156 kB / 9.705 GB, free: 102.9 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000827/28.17, allocations: 0.9589 MB / 9.706 GB, free: 102 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006954/28.17, allocations: 0.698 MB / 9.707 GB, free: 101.3 MB / 426.8 MB Notification: Performance of sorting global known variables: time 7.357e-05/28.17, allocations: 183.4 kB / 9.707 GB, free: 101.1 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/28.17, allocations: 0 / 9.707 GB, free: 101.1 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00415/28.17, allocations: 1.425 MB / 9.709 GB, free: 99.68 MB / 426.8 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.002179/28.18, allocations: 1.097 MB / 9.71 GB, free: 98.65 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.007168/28.18, allocations: 6.369 MB / 9.716 GB, free: 92.35 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/28.18, allocations: 4 kB / 9.716 GB, free: 92.35 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003798/28.19, allocations: 3.864 MB / 9.72 GB, free: 88.57 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/28.19, allocations: 0.8731 MB / 9.72 GB, free: 87.7 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/28.2, allocations: 6.885 MB / 9.727 GB, free: 80.85 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/28.2, allocations: 0.8932 MB / 9.728 GB, free: 79.93 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.008036/28.2, allocations: 4.483 MB / 9.732 GB, free: 75.63 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003383/28.21, allocations: 1.902 MB / 9.734 GB, free: 73.73 MB / 426.8 MB Notification: Performance of SimCode: time 1.553e-06/28.21, allocations: 3.938 kB / 9.734 GB, free: 73.72 MB / 426.8 MB Notification: Performance of Templates: time 0.207/28.41, allocations: 103.8 MB / 9.836 GB, free: 115.2 MB / 426.8 MB " [Timeout remaining time 632] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.makefile [Timeout 660] (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=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 34.90396064193919]