Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001563/0.001563, 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.001704/0.001704, allocations: 208.7 kB / 24.55 MB, free: 3.727 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 44.93 MB / 359.7 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/1.912e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001467/0.001486, allocations: 0.5087 MB / 0.4948 GB, free: 9.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.00451, allocations: 2.001 MB / 0.4968 GB, free: 7.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.354e-05/0.004524, allocations: 0 / 0.4968 GB, free: 7.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.004536, allocations: 0 / 0.4968 GB, free: 7.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.806e-06/0.004544, allocations: 3.938 kB / 0.4968 GB, free: 7.539 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.001463/0.006008, allocations: 0.5132 MB / 0.4973 GB, free: 7.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.006057, allocations: 4 kB / 0.4973 GB, free: 7.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.28e-05/0.00609, allocations: 0 / 0.4973 GB, free: 7.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.00611, allocations: 3.938 kB / 0.4973 GB, free: 7.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/0.006143, allocations: 3.984 kB / 0.4973 GB, free: 7.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-06/0.006149, allocations: 0 / 0.4973 GB, free: 7.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009417/0.007091, allocations: 0.6433 MB / 0.4979 GB, free: 6.371 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.429e-05/0.007115, allocations: 7.984 kB / 0.4979 GB, free: 6.363 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.108e-06/0.007119, allocations: 3.906 kB / 0.4979 GB, free: 6.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.293e-05/0.007132, allocations: 4 kB / 0.4979 GB, free: 6.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.062e-06/0.007138, allocations: 0 / 0.4979 GB, free: 6.355 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.0003463/0.007485, allocations: 201.5 kB / 0.4981 GB, free: 6.039 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.658e-05/0.007521, allocations: 24.03 kB / 0.4981 GB, free: 6.004 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 7.395e-05/0.007595, allocations: 52.36 kB / 0.4982 GB, free: 5.926 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.015e-05/0.007665, allocations: 60.75 kB / 0.4982 GB, free: 5.82 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 8.144e-05/0.007747, allocations: 84.59 kB / 0.4983 GB, free: 5.688 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.842e-05/0.007815, allocations: 60.73 kB / 0.4984 GB, free: 5.582 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 3.808e-05/0.007853, allocations: 36.44 kB / 0.4984 GB, free: 5.52 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.964e-05/0.007953, allocations: 83.47 kB / 0.4985 GB, free: 5.387 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.928e-05/0.007972, allocations: 7.844 kB / 0.4985 GB, free: 5.379 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 6.756e-05/0.00804, allocations: 28.11 kB / 0.4985 GB, free: 5.344 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001046/0.008144, allocations: 12.12 kB / 0.4985 GB, free: 5.324 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.524e-05/0.008159, allocations: 15.94 kB / 0.4986 GB, free: 5.309 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001373/0.008297, allocations: 109.2 kB / 0.4987 GB, free: 5.133 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.622e-05/0.008333, allocations: 28.05 kB / 0.4987 GB, free: 5.102 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.205e-05/0.008345, allocations: 12.11 kB / 0.4987 GB, free: 5.082 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.337e-05/0.008358, allocations: 11.94 kB / 0.4987 GB, free: 5.07 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.724e-05/0.008426, allocations: 32.05 kB / 0.4987 GB, free: 5.031 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.374e-05/0.008439, allocations: 4 kB / 0.4987 GB, free: 5.027 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.6e-07/0.00844, allocations: 0 / 0.4987 GB, free: 5.027 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.521e-05/0.008465, allocations: 8.312 kB / 0.4988 GB, free: 5.012 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.02e-06/0.00847, allocations: 8 kB / 0.4988 GB, free: 5.004 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 2.846e-06/0.008473, allocations: 4 kB / 0.4988 GB, free: 5 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 4.479e-06/0.008477, allocations: 0 / 0.4988 GB, free: 5 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.429e-05/0.008492, allocations: 0 / 0.4988 GB, free: 5 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001424/0.008634, allocations: 174 kB / 0.4989 GB, free: 4.797 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.601e-05/0.00868, allocations: 39.64 kB / 0.499 GB, free: 4.762 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.742015781986993] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.016679869033396244 0.029857880000000003 0.020035191 Calling exit ...