Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003107/0.003107, allocations: 186.9 kB / 24.53 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.8e-05/3.8e-05, allocations: 2.281 kB / 371.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003996/0.004034, allocations: 1.507 MB / 373.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.007059, allocations: 1.358 MB / 374.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.007188, allocations: 0 / 374.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.007327, allocations: 19.8 kB / 374.6 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.007475, allocations: 23.8 kB / 374.6 MB, free: 6.332 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.00168/0.009155, allocations: 390.8 kB / 375 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.009451, allocations: 151.6 kB / 375.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.558e-05/0.009527, allocations: 17.61 kB / 375.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.009645, allocations: 55.77 kB / 375.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009049/0.01055, allocations: 74.23 kB / 375.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.148e-05/0.01062, allocations: 12 kB / 375.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009643/0.01159, allocations: 419.2 kB / 375.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003147/0.0119, allocations: 277.2 kB / 376 MB, free: 4.961 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001878/0.01209, allocations: 165.7 kB / 376.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.01215, allocations: 8 kB / 376.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001734/0.01233, allocations: 4 kB / 376.2 MB, free: 4.785 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.001158/0.01349, allocations: 0.6768 MB / 376.8 MB, free: 3.988 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002449/0.01373, allocations: 101.2 kB / 376.9 MB, free: 3.879 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005186/0.01425, allocations: 343.8 kB / 377.3 MB, free: 3.516 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001834/0.01443, allocations: 101.9 kB / 377.4 MB, free: 3.371 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0007129/0.01515, allocations: 301.9 kB / 377.7 MB, free: 3.008 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001572/0.0153, allocations: 102.3 kB / 377.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001117/0.01541, allocations: 64.41 kB / 377.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003521/0.01577, allocations: 177.2 kB / 378 MB, free: 2.547 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002671/0.01603, allocations: 119.4 kB / 378.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004109/0.01644, allocations: 236.9 kB / 378.3 MB, free: 2.129 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0006604/0.0171, allocations: 373.4 kB / 378.7 MB, free: 1.695 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004424/0.01755, allocations: 363.7 kB / 379.1 MB, free: 1.34 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0007784/0.01833, allocations: 366.1 kB / 379.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0006078/0.01893, allocations: 0.5086 MB / 379.9 MB, free: 408 kB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.773e-05/0.01898, allocations: 22.75 kB / 380 MB, free: 376 kB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001249/0.01911, allocations: 83.91 kB / 380 MB, free: 292 kB / 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.6858354149735533] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 0.24971026898128912 0.26509507600000004 0.249108087 Calling exit ...