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.001338/0.001338, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001533/0.001533, allocations: 156.7 kB / 23.01 MB, free: 4.598 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.477/1.477, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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.02654/0.02654, allocations: 3.15 MB / 262.9 MB, free: 13.68 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.002209/0.002209, allocations: 67.89 kB / 386.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1186, allocations: 54.1 MB / 440.9 MB, free: 11.3 MB / 414.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.003334/0.1219, allocations: 2.004 MB / 442.9 MB, free: 9.289 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006657/0.1285, allocations: 3.774 MB / 446.7 MB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.1287, allocations: 15.88 kB / 446.7 MB, free: 5.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.1289, allocations: 43.53 kB / 446.7 MB, free: 5.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.505e-05/0.129, allocations: 19.8 kB / 446.7 MB, free: 5.41 MB / 414.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.002389/0.1314, allocations: 0.8407 MB / 447.6 MB, free: 4.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01222/0.1436, allocations: 13.57 MB / 461.1 MB, free: 6.988 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.1438, allocations: 60.56 kB / 461.2 MB, free: 6.926 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005807/0.1496, allocations: 3.378 MB / 464.6 MB, free: 3.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007161/0.1568, allocations: 4.274 MB / 468.9 MB, free: 15.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002134/0.1589, allocations: 0.5938 MB / 469.5 MB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 54.66/54.82, allocations: 8.828 GB / 9.286 GB, free: 210.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0025/54.83, allocations: 2.291 MB / 9.289 GB, free: 210.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002169/54.83, allocations: 2.293 MB / 9.291 GB, free: 210.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006618/54.83, allocations: 8.678 MB / 9.299 GB, free: 207.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/54.83, allocations: 0 / 9.299 GB, free: 207.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/54.83, allocations: 0 / 9.299 GB, free: 207.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.445e-05/54.83, allocations: 0 / 9.299 GB, free: 207.6 MB / 0.6075 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.01306/54.85, allocations: 3.845 MB / 9.303 GB, free: 205.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/54.85, allocations: 9.594 kB / 9.303 GB, free: 205.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004702/54.85, allocations: 0.8106 MB / 9.304 GB, free: 205.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/54.86, allocations: 3.406 MB / 9.307 GB, free: 204.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003571/54.86, allocations: 298.2 kB / 9.308 GB, free: 204.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/54.87, allocations: 386.5 kB / 9.308 GB, free: 203.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/54.88, allocations: 8.684 MB / 9.316 GB, free: 201.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.66e-05/54.88, allocations: 2.906 kB / 9.316 GB, free: 201.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008149/54.88, allocations: 161.1 kB / 9.317 GB, free: 201.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.781e-05/54.88, allocations: 96.91 kB / 9.317 GB, free: 201.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4807/55.36, allocations: 190 MB / 9.502 GB, free: 230.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02414/55.39, allocations: 14.43 MB / 9.516 GB, free: 215.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 1.221/56.61, allocations: 145.9 MB / 9.659 GB, free: 250.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008171/56.62, allocations: 4.909 MB / 9.664 GB, free: 249.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/56.62, allocations: 0.552 MB / 9.664 GB, free: 249.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.305e-05/56.62, allocations: 139.2 kB / 9.664 GB, free: 249.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1017): time 1.422e-05/56.62, allocations: 0 / 9.664 GB, free: 249.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1017): time 0.04666/56.67, allocations: 32.68 MB / 9.696 GB, free: 227.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/56.67, allocations: 155.4 kB / 9.696 GB, free: 227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/56.67, allocations: 229.7 kB / 9.697 GB, free: 226.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001779/56.67, allocations: 185.7 kB / 9.697 GB, free: 226.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/56.67, allocations: 147.7 kB / 9.697 GB, free: 226.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002979/56.67, allocations: 3.49 MB / 9.7 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004396/56.68, allocations: 2.26 MB / 9.703 GB, free: 220.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.51e-05/56.68, allocations: 321.9 kB / 9.703 GB, free: 220.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007152/56.68, allocations: 4.868 MB / 9.708 GB, free: 215.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00824/56.69, allocations: 5.446 MB / 9.713 GB, free: 210.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01779/56.71, allocations: 11.39 MB / 9.724 GB, free: 198.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/56.71, allocations: 0 / 9.724 GB, free: 198.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.03382/56.74, allocations: 26.44 MB / 9.75 GB, free: 172.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/56.74, allocations: 4 kB / 9.75 GB, free: 172.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/56.74, allocations: 4 kB / 9.75 GB, free: 172.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.522e-05/56.74, allocations: 32 kB / 9.75 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009869/56.75, allocations: 2.601 MB / 9.752 GB, free: 169.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001073/56.75, allocations: 34.5 kB / 9.752 GB, free: 169.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/56.76, allocations: 0.5318 MB / 9.753 GB, free: 169.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/56.76, allocations: 0.7643 MB / 9.754 GB, free: 168.3 MB / 0.6075 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.003384/56.76, allocations: 1.066 MB / 9.755 GB, free: 167.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005163/56.77, allocations: 0.7987 MB / 9.756 GB, free: 166.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04558/56.81, allocations: 32.27 MB / 9.787 GB, free: 132 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.223e-05/56.81, allocations: 97.03 kB / 9.787 GB, free: 131.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-05/56.81, allocations: 0 / 9.787 GB, free: 131.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000144/56.81, allocations: 47.81 kB / 9.787 GB, free: 131.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006483/56.82, allocations: 4.199 MB / 9.791 GB, free: 127.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-05/56.82, allocations: 0 / 9.791 GB, free: 127.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01071/56.83, allocations: 2.585 MB / 9.794 GB, free: 125.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/56.83, allocations: 39.98 kB / 9.794 GB, free: 125.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002422/56.83, allocations: 0.6901 MB / 9.795 GB, free: 124.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-05/56.83, allocations: 32 kB / 9.795 GB, free: 124.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/56.83, allocations: 0 / 9.795 GB, free: 124.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04608/56.88, allocations: 35.84 MB / 9.83 GB, free: 86.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004791/56.88, allocations: 3.048 MB / 9.833 GB, free: 83.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/56.89, allocations: 164 kB / 9.833 GB, free: 82.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004049/56.89, allocations: 163.2 kB / 9.833 GB, free: 82.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001573/56.89, allocations: 0.9511 MB / 9.834 GB, free: 81.85 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001563/56.89, allocations: 0.7604 MB / 9.835 GB, free: 81.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001166/56.89, allocations: 153.2 kB / 9.835 GB, free: 80.94 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/56.89, allocations: 4.062 kB / 9.835 GB, free: 80.94 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005925/56.9, allocations: 1.433 MB / 9.836 GB, free: 79.5 MB / 0.6075 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.003244/56.9, allocations: 1.042 MB / 9.837 GB, free: 78.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.1807/57.08, allocations: 11.67 MB / 9.849 GB, free: 255.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/57.08, allocations: 3.281 kB / 9.849 GB, free: 255.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.009224/57.09, allocations: 6.203 MB / 9.855 GB, free: 254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/57.09, allocations: 337.6 kB / 9.855 GB, free: 253.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/57.11, allocations: 10.33 MB / 9.865 GB, free: 250 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/57.11, allocations: 1.592 MB / 9.867 GB, free: 249.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01971/57.13, allocations: 7.37 MB / 9.874 GB, free: 246.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004288/57.13, allocations: 1.531 MB / 9.875 GB, free: 246.8 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/57.13, allocations: 0 / 9.875 GB, free: 246.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.1055/57.24, allocations: 88.77 MB / 9.962 GB, free: 165.4 MB / 0.6075 GB " [Timeout remaining time 603] 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 -s ida -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 66.1298185690539] Failed to read output from testmodel.py, exit status != 0: 57.24599642294925 57.255206272 2.417916491 Calling exit ...