Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions.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.001322/0.001322, 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.001438/0.001438, allocations: 204.7 kB / 24.55 MB, free: 3.73 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2447/0.2447, allocations: 46.95 MB / 361.7 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.746e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001403/0.00142, allocations: 0.5049 MB / 0.4979 GB, free: 6.727 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.004554, allocations: 2.004 MB / 0.4998 GB, free: 4.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.004568, allocations: 0 / 0.4998 GB, free: 4.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.004584, allocations: 0 / 0.4998 GB, free: 4.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.00459, allocations: 0 / 0.4998 GB, free: 4.699 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:1013:5-1096:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.distributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.005981, allocations: 0.5131 MB / 0.5003 GB, free: 4.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.425e-05/0.006035, allocations: 7.984 kB / 0.5004 GB, free: 4.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.00608, allocations: 3.984 kB / 0.5004 GB, free: 4.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.286e-05/0.006092, allocations: 0 / 0.5004 GB, free: 4.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.822e-05/0.006111, allocations: 4 kB / 0.5004 GB, free: 4.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-06/0.006117, allocations: 0 / 0.5004 GB, free: 4.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009901/0.007107, allocations: 0.6433 MB / 0.501 GB, free: 3.527 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.855e-05/0.007135, allocations: 7.922 kB / 0.501 GB, free: 3.52 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.278e-06/0.00714, allocations: 7.906 kB / 0.501 GB, free: 3.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.285e-05/0.007152, allocations: 0 / 0.501 GB, free: 3.512 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.452e-06/0.007159, allocations: 0 / 0.501 GB, free: 3.512 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of [SIM] Bindings: time 0.0003592/0.007518, allocations: 204.5 kB / 0.5012 GB, free: 3.195 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.475e-05/0.007553, allocations: 20.05 kB / 0.5012 GB, free: 3.164 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 7.876e-05/0.007632, allocations: 60.34 kB / 0.5013 GB, free: 3.078 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 6.373e-05/0.007695, allocations: 56.75 kB / 0.5013 GB, free: 2.977 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.058e-05/0.007786, allocations: 84.59 kB / 0.5014 GB, free: 2.844 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 5.964e-05/0.007846, allocations: 64.73 kB / 0.5015 GB, free: 2.734 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.086e-05/0.007886, allocations: 36.44 kB / 0.5015 GB, free: 2.672 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.04e-05/0.007977, allocations: 76.8 kB / 0.5016 GB, free: 2.543 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.867e-05/0.007995, allocations: 3.859 kB / 0.5016 GB, free: 2.539 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.657e-05/0.008072, allocations: 28.11 kB / 0.5016 GB, free: 2.504 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001166/0.008189, allocations: 16.11 kB / 0.5016 GB, free: 2.48 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.526e-05/0.008204, allocations: 16.19 kB / 0.5016 GB, free: 2.465 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001228/0.008327, allocations: 109 kB / 0.5017 GB, free: 2.289 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.796e-05/0.008365, allocations: 28 kB / 0.5018 GB, free: 2.258 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 9.508e-06/0.008374, allocations: 8.125 kB / 0.5018 GB, free: 2.242 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.286e-05/0.008387, allocations: 8 kB / 0.5018 GB, free: 2.234 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.05e-05/0.008458, allocations: 28.11 kB / 0.5018 GB, free: 2.199 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.197e-05/0.00847, allocations: 3.938 kB / 0.5018 GB, free: 2.195 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.51e-07/0.00847, allocations: 0 / 0.5018 GB, free: 2.195 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.533e-05/0.008505, allocations: 12.31 kB / 0.5018 GB, free: 2.176 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.218e-06/0.008515, allocations: 8 kB / 0.5018 GB, free: 2.168 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.373e-06/0.008516, allocations: 0 / 0.5018 GB, free: 2.168 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 7.614e-06/0.008524, allocations: 3.984 kB / 0.5018 GB, free: 2.164 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.836e-05/0.008552, allocations: 4 kB / 0.5018 GB, free: 2.16 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001341/0.008686, allocations: 170 kB / 0.502 GB, free: 1.961 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {result} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.081e-05/0.008727, allocations: 31 kB / 0.502 GB, free: 1.934 MB / 366.1 MB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.EXPLICIT for [DUMY] (0) Dummy equation. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7155664960155264] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.016893362975679338 0.030718044000000003 0.020759239000000002 Calling exit ...