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.001658/0.001658, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002316/0.002316, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.02914/0.02914, allocations: 3.945 MB / 316.4 MB, free: 15.11 MB / 254.1 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 0.003245/0.003245, allocations: 67.89 kB / 440.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.126, allocations: 54.15 MB / 494.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.003663/0.1296, allocations: 1.995 MB / 496.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007181/0.1368, allocations: 3.766 MB / 0.4884 GB, free: 15.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.1371, allocations: 11.88 kB / 0.4884 GB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.1373, allocations: 35.61 kB / 0.4885 GB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.1374, allocations: 23.8 kB / 0.4885 GB, free: 14.99 MB / 366.1 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.002756/0.1402, allocations: 0.8486 MB / 0.4893 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01226/0.1524, allocations: 13.56 MB / 0.5026 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.1527, allocations: 64.52 kB / 0.5026 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3061/0.4587, allocations: 3.376 MB / 0.5059 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009099/0.4678, allocations: 4.274 MB / 0.5101 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00375/0.4716, allocations: 0.5952 MB / 0.5107 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 57.12/57.59, allocations: 8.827 GB / 9.338 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007353/57.6, allocations: 2.297 MB / 9.34 GB, free: 209.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00774/57.61, allocations: 2.292 MB / 9.342 GB, free: 208.6 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01663/57.63, allocations: 8.682 MB / 9.351 GB, free: 205.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/57.63, allocations: 1.438 kB / 9.351 GB, free: 205.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.805e-06/57.63, allocations: 0 / 9.351 GB, free: 205.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003083/57.63, allocations: 0 / 9.351 GB, free: 205.8 MB / 0.5762 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.02617/57.65, allocations: 3.847 MB / 9.355 GB, free: 203.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/57.65, allocations: 9.531 kB / 9.355 GB, free: 203.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007477/57.66, allocations: 0.8059 MB / 9.355 GB, free: 202.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/57.67, allocations: 3.401 MB / 9.359 GB, free: 200.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006643/57.67, allocations: 298 kB / 9.359 GB, free: 200 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004457/57.68, allocations: 385.7 kB / 9.359 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02486/57.7, allocations: 8.689 MB / 9.368 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002389/57.7, allocations: 0 / 9.368 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002851/57.71, allocations: 159.5 kB / 9.368 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.701e-05/57.71, allocations: 94.31 kB / 9.368 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5663/58.27, allocations: 190 MB / 9.554 GB, free: 208.4 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02981/58.3, allocations: 14.43 MB / 9.568 GB, free: 194.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 1.183/59.49, allocations: 146 MB / 9.71 GB, free: 237.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009973/59.5, allocations: 4.914 MB / 9.715 GB, free: 237.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001967/59.5, allocations: 0.5438 MB / 9.716 GB, free: 237.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/59.5, allocations: 142.2 kB / 9.716 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1017): time 1.4e-05/59.5, allocations: 1.375 kB / 9.716 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1017): time 0.06443/59.56, allocations: 32.68 MB / 9.748 GB, free: 209.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/59.56, allocations: 155.4 kB / 9.748 GB, free: 209.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/59.56, allocations: 223.8 kB / 9.748 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.003409/59.57, allocations: 185.7 kB / 9.748 GB, free: 208.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/59.57, allocations: 145.8 kB / 9.748 GB, free: 208.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00603/59.57, allocations: 3.49 MB / 9.752 GB, free: 205.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01075/59.58, allocations: 2.259 MB / 9.754 GB, free: 202.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/59.58, allocations: 328.6 kB / 9.754 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01183/59.6, allocations: 4.864 MB / 9.759 GB, free: 197.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01277/59.61, allocations: 5.444 MB / 9.764 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02403/59.63, allocations: 11.39 MB / 9.776 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.243e-05/59.63, allocations: 4 kB / 9.776 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.05233/59.68, allocations: 26.44 MB / 9.801 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/59.68, allocations: 4 kB / 9.801 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/59.68, allocations: 4.5 kB / 9.801 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.845e-05/59.68, allocations: 33.03 kB / 9.801 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01207/59.7, allocations: 2.602 MB / 9.804 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002153/59.7, allocations: 32 kB / 9.804 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006269/59.7, allocations: 0.5415 MB / 9.805 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004147/59.71, allocations: 0.7643 MB / 9.805 GB, free: 150.5 MB / 0.5762 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.01036/59.72, allocations: 1.058 MB / 9.806 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008185/59.73, allocations: 0.7987 MB / 9.807 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07385/59.8, allocations: 32.26 MB / 9.839 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.919e-05/59.8, allocations: 92 kB / 9.839 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.184e-05/59.8, allocations: 4 kB / 9.839 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002577/59.8, allocations: 51.64 kB / 9.839 GB, free: 114 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/59.81, allocations: 4.201 MB / 9.843 GB, free: 109.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.585e-05/59.81, allocations: 4 kB / 9.843 GB, free: 109.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01669/59.83, allocations: 2.581 MB / 9.845 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002197/59.83, allocations: 32 kB / 9.845 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00718/59.84, allocations: 0.7018 MB / 9.846 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001932/59.84, allocations: 32 kB / 9.846 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/59.84, allocations: 0 / 9.846 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09359/59.93, allocations: 35.83 MB / 9.881 GB, free: 68.35 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00983/59.94, allocations: 3.046 MB / 9.884 GB, free: 65.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004619/59.94, allocations: 160 kB / 9.884 GB, free: 65.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008448/59.95, allocations: 160 kB / 9.884 GB, free: 64.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005176/59.96, allocations: 0.9511 MB / 9.885 GB, free: 64.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005809/59.96, allocations: 0.7644 MB / 9.886 GB, free: 63.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002435/59.96, allocations: 152.5 kB / 9.886 GB, free: 63.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/59.96, allocations: 0 / 9.886 GB, free: 63.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01488/59.98, allocations: 1.433 MB / 9.888 GB, free: 61.68 MB / 0.5762 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.009848/59.99, allocations: 1.049 MB / 9.889 GB, free: 60.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03244/60.02, allocations: 11.68 MB / 9.9 GB, free: 49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/60.02, allocations: 0 / 9.9 GB, free: 49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.2576/60.28, allocations: 6.199 MB / 9.906 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/60.28, allocations: 337.9 kB / 9.906 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/60.3, allocations: 10.33 MB / 9.916 GB, free: 232 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/60.3, allocations: 1.6 MB / 9.918 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.02419/60.33, allocations: 7.368 MB / 9.925 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006493/60.33, allocations: 1.53 MB / 9.927 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.492e-06/60.33, allocations: 0 / 9.927 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1084/60.44, allocations: 90.62 MB / 10.02 GB, free: 139 MB / 0.5762 GB " [Timeout remaining time 600] 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 70.24179341644049] Failed to read output from testmodel.py, exit status != 0: 60.4508661609143 60.46152465 2.833253101 Calling exit ...