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.001786/0.001786, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002092/0.002092, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.626/1.626, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.533e-05/2.533e-05, allocations: 5.375 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003023/0.003048, allocations: 1.517 MB / 380.6 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2495/0.2526, allocations: 1.4 MB / 382 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.2527, allocations: 1.156 kB / 382 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.2529, allocations: 12.84 kB / 382 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.253, allocations: 25 kB / 382 MB, free: 13.06 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.00162/0.2546, allocations: 402.2 kB / 382.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.2549, allocations: 151.7 kB / 382.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.082e-05/0.255, allocations: 7.984 kB / 382.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.309e-05/0.2551, allocations: 58.38 kB / 382.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006893/0.2558, allocations: 72.89 kB / 382.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.2558, allocations: 14.25 kB / 382.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008293/0.2566, allocations: 440.4 kB / 383.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002296/0.2568, allocations: 258.5 kB / 383.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.545e-05/0.2569, allocations: 169 kB / 383.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.257, allocations: 6.75 kB / 383.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.771e-05/0.257, allocations: 4.641 kB / 383.6 MB, free: 12.71 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.0008665/0.2579, allocations: 0.6884 MB / 384.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001808/0.2581, allocations: 95.97 kB / 384.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004976/0.2586, allocations: 343.7 kB / 384.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001287/0.2587, allocations: 103.3 kB / 384.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005806/0.2593, allocations: 299.8 kB / 385.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000106/0.2594, allocations: 105.8 kB / 385.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.602e-05/0.2595, allocations: 60.05 kB / 385.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002362/0.2597, allocations: 166.7 kB / 385.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002231/0.2599, allocations: 127.2 kB / 385.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002749/0.2602, allocations: 244.8 kB / 385.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0005515/0.2607, allocations: 374.6 kB / 386.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003592/0.2611, allocations: 372.7 kB / 386.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0005692/0.2617, allocations: 379.1 kB / 386.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004933/0.2622, allocations: 0.509 MB / 387.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.562e-05/0.2622, allocations: 20.31 kB / 387.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.377e-05/0.2623, allocations: 85.83 kB / 387.5 MB, free: 10.59 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.7032431160332635] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 0.27082878700457513 0.28462734399999995 0.024676865000000003 Calling exit ...