Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.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.001527/0.001527, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001517/0.001517, allocations: 205.2 kB / 24.49 MB, free: 3.961 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/2.915e-05, allocations: 9.453 kB / 378.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002905/0.002934, allocations: 1.525 MB / 380.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2017/0.2047, allocations: 1.401 MB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.2048, allocations: 0.5938 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.2049, allocations: 13.56 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.2051, allocations: 28.52 kB / 381.9 MB, free: 13.01 MB / 302.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'. Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.2066, allocations: 399.2 kB / 382.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.2069, allocations: 150.1 kB / 382.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.2069, allocations: 8.359 kB / 382.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.207, allocations: 56.84 kB / 382.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007294/0.2078, allocations: 78.77 kB / 382.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.2078, allocations: 15.94 kB / 382.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008263/0.2086, allocations: 453.6 kB / 383 MB, free: 12.91 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002152/0.2088, allocations: 270 kB / 383.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.883e-05/0.2089, allocations: 157.2 kB / 383.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.2089, allocations: 7.031 kB / 383.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.85e-05/0.209, allocations: 8.594 kB / 383.5 MB, free: 12.68 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 (9) * Number of variables: 17 (11) Notification: Performance of [SIM] Bindings: time 0.0007915/0.2098, allocations: 0.6753 MB / 384.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001648/0.21, allocations: 91.34 kB / 384.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004367/0.2104, allocations: 338.1 kB / 384.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001235/0.2105, allocations: 113.2 kB / 384.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004989/0.211, allocations: 295.1 kB / 385 MB, free: 11.9 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001007/0.2111, allocations: 105.5 kB / 385.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.21e-05/0.2112, allocations: 68.52 kB / 385.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002467/0.2114, allocations: 160.6 kB / 385.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002172/0.2117, allocations: 133.4 kB / 385.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.00029/0.2119, allocations: 236.2 kB / 385.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0006271/0.2126, allocations: 378.7 kB / 386 MB, free: 11.28 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003612/0.2129, allocations: 368.9 kB / 386.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0005837/0.2135, allocations: 394 kB / 386.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005093/0.214, allocations: 0.507 MB / 387.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.418e-05/0.2141, allocations: 28.14 kB / 387.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 8.708e-05/0.2142, allocations: 80.39 kB / 387.4 MB, free: 10.57 MB / 302.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) protected Integer[4] truncatedNormalNoise.state, [DISC] (4) protected Integer[4] uniformNoise.state Following equations were created by fixing variables: Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4642197508364916] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 0.2231250456534326 0.23756460599999996 0.02558494799999994 Calling exit ...