Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 230.5 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 46.95 MB / 361.6 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.438e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001576/0.001601, allocations: 0.4993 MB / 0.4979 GB, free: 6.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003923/0.005524, allocations: 2.25 MB / 0.5001 GB, free: 4.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.005544, allocations: 4 kB / 0.5001 GB, free: 4.324 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.005557, allocations: 0 / 0.5001 GB, free: 4.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.005563, allocations: 0 / 0.5001 GB, free: 4.324 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:1098:5-1194:31:writable] Warning: Pure function 'ModelicaTest.Math.Random.truncatedDistributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.007229, allocations: 0.5838 MB / 0.5007 GB, free: 3.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.095e-05/0.007279, allocations: 0 / 0.5007 GB, free: 3.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.00732, allocations: 4 kB / 0.5007 GB, free: 3.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.384e-05/0.007334, allocations: 0 / 0.5007 GB, free: 3.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.888e-05/0.007353, allocations: 4 kB / 0.5007 GB, free: 3.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.76e-06/0.007359, allocations: 0 / 0.5007 GB, free: 3.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.008475, allocations: 0.6822 MB / 0.5013 GB, free: 3.051 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.491e-05/0.0085, allocations: 3.984 kB / 0.5013 GB, free: 3.047 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.94e-06/0.008505, allocations: 3.906 kB / 0.5013 GB, free: 3.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.00852, allocations: 4 kB / 0.5014 GB, free: 3.039 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.244e-06/0.008528, allocations: 0 / 0.5014 GB, free: 3.039 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.0004223/0.00895, allocations: 201.9 kB / 0.5015 GB, free: 2.723 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.615e-05/0.008986, allocations: 24.03 kB / 0.5016 GB, free: 2.688 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 9.257e-05/0.009079, allocations: 56.36 kB / 0.5016 GB, free: 2.605 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.406e-05/0.009153, allocations: 68.73 kB / 0.5017 GB, free: 2.492 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001002/0.009253, allocations: 80.59 kB / 0.5018 GB, free: 2.363 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.254e-05/0.009316, allocations: 64.73 kB / 0.5018 GB, free: 2.254 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.395e-05/0.00936, allocations: 32.44 kB / 0.5019 GB, free: 2.195 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.364e-05/0.009453, allocations: 76.86 kB / 0.5019 GB, free: 2.066 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.549e-05/0.009479, allocations: 11.8 kB / 0.5019 GB, free: 2.055 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.634e-05/0.009555, allocations: 24.12 kB / 0.502 GB, free: 2.023 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001268/0.009682, allocations: 16.11 kB / 0.502 GB, free: 2 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.48e-05/0.009707, allocations: 15.98 kB / 0.502 GB, free: 1.984 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001213/0.009828, allocations: 97.11 kB / 0.5021 GB, free: 1.82 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.684e-05/0.009865, allocations: 28 kB / 0.5021 GB, free: 1.789 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.565e-05/0.00988, allocations: 16.11 kB / 0.5021 GB, free: 1.766 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.846e-05/0.009899, allocations: 4.188 kB / 0.5021 GB, free: 1.762 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.136e-05/0.00997, allocations: 36.05 kB / 0.5022 GB, free: 1.719 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.201e-05/0.009982, allocations: 0 / 0.5022 GB, free: 1.719 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.9e-07/0.009983, allocations: 3.938 kB / 0.5022 GB, free: 1.715 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.943e-05/0.01001, allocations: 16.06 kB / 0.5022 GB, free: 1.691 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.655e-06/0.01002, allocations: 4 kB / 0.5022 GB, free: 1.688 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.92e-07/0.01002, allocations: 0 / 0.5022 GB, free: 1.688 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.041e-06/0.01003, allocations: 0 / 0.5022 GB, free: 1.688 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.81e-05/0.01004, allocations: 4.188 kB / 0.5022 GB, free: 1.684 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001393/0.01018, allocations: 185.9 kB / 0.5024 GB, free: 1.469 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 3.873e-05/0.01022, allocations: 23.17 kB / 0.5024 GB, free: 1.453 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.8897458880092017] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.019378188997507095 0.034985105 0.023455816 Calling exit ...