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.001441/0.001441, allocations: 81.97 kB / 19.01 MB, free: 2.688 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.001586/0.001586, allocations: 158.8 kB / 22.25 MB, free: 4.734 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.466/1.466, allocations: 177.2 MB / 202.6 MB, free: 9.273 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.02762/0.02762, allocations: 3.147 MB / 262.2 MB, free: 13.83 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.002275/0.002275, allocations: 59.91 kB / 386 MB, free: 484 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1152, allocations: 54.13 MB / 440.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.003797/0.119, allocations: 1.996 MB / 442.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007319/0.1263, allocations: 3.762 MB / 445.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.1266, allocations: 11.88 kB / 445.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.1269, allocations: 35.61 kB / 445.9 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.127, allocations: 27.73 kB / 446 MB, free: 4.375 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.002965/0.13, allocations: 0.8434 MB / 446.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2276/0.3575, allocations: 13.56 MB / 460.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.3578, allocations: 59 kB / 460.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01508/0.3729, allocations: 4.682 MB / 465.1 MB, free: 10 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008462/0.3814, allocations: 4.275 MB / 469.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003385/0.3848, allocations: 0.5935 MB / 470 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 71.53/71.92, allocations: 8.828 GB / 9.287 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006738/71.92, allocations: 2.297 MB / 9.289 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01014/71.93, allocations: 2.297 MB / 9.291 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01847/71.95, allocations: 8.674 MB / 9.3 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/71.95, allocations: 4 kB / 9.3 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.704e-06/71.95, allocations: 1.156 kB / 9.3 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003064/71.95, allocations: 0 / 9.3 GB, free: 172.4 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.02395/71.98, allocations: 3.842 MB / 9.304 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/71.98, allocations: 9 kB / 9.304 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007866/71.98, allocations: 0.8113 MB / 9.304 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01278/72, allocations: 3.398 MB / 9.308 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005364/72, allocations: 301.4 kB / 9.308 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004754/72, allocations: 385.7 kB / 9.308 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03371/72.04, allocations: 8.688 MB / 9.317 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002263/72.04, allocations: 4 kB / 9.317 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003368/72.04, allocations: 163.9 kB / 9.317 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/72.04, allocations: 96 kB / 9.317 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5652/72.61, allocations: 190 MB / 9.503 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03087/72.64, allocations: 14.42 MB / 9.517 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 1.048/73.68, allocations: 146 MB / 9.659 GB, free: 217.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0097/73.69, allocations: 4.915 MB / 9.664 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002158/73.7, allocations: 0.5447 MB / 9.665 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/73.7, allocations: 143.9 kB / 9.665 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1017): time 1.989e-05/73.7, allocations: 0 / 9.665 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1017): time 0.06136/73.76, allocations: 32.68 MB / 9.697 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.993e-05/73.76, allocations: 155.4 kB / 9.697 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/73.76, allocations: 222.8 kB / 9.697 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00377/73.76, allocations: 185.7 kB / 9.697 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/73.76, allocations: 148.1 kB / 9.697 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.005658/73.77, allocations: 3.491 MB / 9.701 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01005/73.78, allocations: 2.263 MB / 9.703 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.784e-05/73.78, allocations: 325.9 kB / 9.703 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01023/73.79, allocations: 4.866 MB / 9.708 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/73.8, allocations: 5.44 MB / 9.713 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02549/73.83, allocations: 11.39 MB / 9.725 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.074e-05/73.83, allocations: 0 / 9.725 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.04986/73.88, allocations: 26.45 MB / 9.75 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/73.88, allocations: 6.953 kB / 9.75 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/73.88, allocations: 4 kB / 9.75 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.645e-05/73.88, allocations: 32 kB / 9.75 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/73.89, allocations: 2.599 MB / 9.753 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001776/73.89, allocations: 32 kB / 9.753 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006592/73.9, allocations: 0.5335 MB / 9.754 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003883/73.9, allocations: 0.7643 MB / 9.754 GB, free: 119.9 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.005839/73.91, allocations: 1.074 MB / 9.755 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006911/73.91, allocations: 0.7988 MB / 9.756 GB, free: 118 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0655/73.98, allocations: 32.26 MB / 9.788 GB, free: 83.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.819e-05/73.98, allocations: 96 kB / 9.788 GB, free: 83.56 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.11e-05/73.98, allocations: 0 / 9.788 GB, free: 83.56 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002138/73.98, allocations: 47.81 kB / 9.788 GB, free: 83.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/73.99, allocations: 4.198 MB / 9.792 GB, free: 79.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.564e-05/73.99, allocations: 0 / 9.792 GB, free: 79.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01285/74, allocations: 2.591 MB / 9.794 GB, free: 76.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002381/74, allocations: 32 kB / 9.794 GB, free: 76.76 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00489/74.01, allocations: 0.694 MB / 9.795 GB, free: 76.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001483/74.01, allocations: 36 kB / 9.795 GB, free: 76.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/74.01, allocations: 3.984 kB / 9.795 GB, free: 76.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3391/74.35, allocations: 35.83 MB / 9.83 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007162/74.35, allocations: 3.046 MB / 9.833 GB, free: 229.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003128/74.36, allocations: 161.2 kB / 9.833 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004969/74.36, allocations: 157.2 kB / 9.833 GB, free: 229.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002922/74.36, allocations: 0.9555 MB / 9.834 GB, free: 229.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003845/74.37, allocations: 0.7597 MB / 9.835 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001903/74.37, allocations: 156.3 kB / 9.835 GB, free: 229 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/74.37, allocations: 0 / 9.835 GB, free: 229 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01133/74.38, allocations: 1.426 MB / 9.837 GB, free: 228.7 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.007184/74.39, allocations: 1.053 MB / 9.838 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03438/74.42, allocations: 11.67 MB / 9.849 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/74.42, allocations: 3.812 kB / 9.849 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.02228/74.44, allocations: 6.203 MB / 9.855 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004376/74.45, allocations: 339.7 kB / 9.855 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02104/74.47, allocations: 10.34 MB / 9.866 GB, free: 211.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/74.47, allocations: 1.596 MB / 9.867 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0387/74.51, allocations: 7.38 MB / 9.874 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01078/74.52, allocations: 1.529 MB / 9.876 GB, free: 201 MB / 0.5762 GB Notification: Performance of SimCode: time 2.274e-06/74.52, allocations: 0 / 9.876 GB, free: 201 MB / 0.5762 GB Notification: Performance of Templates: time 0.1037/74.62, allocations: 88.77 MB / 9.962 GB, free: 112.5 MB / 0.5762 GB " [Timeout remaining time 585] 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: 83.94193828478456] Failed to read output from testmodel.py, exit status != 0: 74.63231363333762 74.645129478 2.690228969 Calling exit ...