Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions.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.001269/0.001269, 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.001385/0.001385, allocations: 207.2 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.746 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.2417/0.2417, allocations: 46.97 MB / 361.7 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 180] 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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestTruncatedDistributions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.245e-05, allocations: 4.672 kB / 0.4974 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001528/0.001551, allocations: 0.4932 MB / 0.4979 GB, free: 6.734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.005286, allocations: 2.246 MB / 0.5001 GB, free: 4.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.005302, allocations: 0 / 0.5001 GB, free: 4.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.005317, allocations: 0 / 0.5001 GB, free: 4.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.142e-06/0.005323, allocations: 0 / 0.5001 GB, free: 4.465 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.0017/0.007023, allocations: 0.5798 MB / 0.5006 GB, free: 3.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.007071, allocations: 0 / 0.5006 GB, free: 3.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.007111, allocations: 7.938 kB / 0.5006 GB, free: 3.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.69e-05/0.007128, allocations: 7.984 kB / 0.5007 GB, free: 3.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.025e-05/0.007148, allocations: 7.922 kB / 0.5007 GB, free: 3.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-06/0.007154, allocations: 0 / 0.5007 GB, free: 3.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.008268, allocations: 0.6667 MB / 0.5013 GB, free: 3.195 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.55e-05/0.008294, allocations: 11.94 kB / 0.5013 GB, free: 3.184 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.775e-06/0.008297, allocations: 3.906 kB / 0.5013 GB, free: 3.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.008317, allocations: 4 kB / 0.5013 GB, free: 3.176 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.654e-06/0.008325, allocations: 0 / 0.5013 GB, free: 3.176 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.0004231/0.008748, allocations: 205.9 kB / 0.5015 GB, free: 2.855 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.685e-05/0.008784, allocations: 20.05 kB / 0.5016 GB, free: 2.824 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 8.471e-05/0.008869, allocations: 56.38 kB / 0.5016 GB, free: 2.742 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.068e-05/0.00895, allocations: 64.73 kB / 0.5017 GB, free: 2.633 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001013/0.009051, allocations: 76.59 kB / 0.5017 GB, free: 2.508 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 8.552e-05/0.009137, allocations: 76.66 kB / 0.5018 GB, free: 2.387 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.569e-05/0.009182, allocations: 32.44 kB / 0.5018 GB, free: 2.328 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001148/0.009297, allocations: 76.86 kB / 0.5019 GB, free: 2.199 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.617e-05/0.009323, allocations: 11.86 kB / 0.5019 GB, free: 2.188 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.806e-05/0.009411, allocations: 20.12 kB / 0.5019 GB, free: 2.16 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001497/0.009561, allocations: 20.11 kB / 0.502 GB, free: 2.133 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.909e-05/0.00958, allocations: 11.94 kB / 0.502 GB, free: 2.121 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001514/0.009732, allocations: 101.1 kB / 0.5021 GB, free: 1.953 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.916e-05/0.009771, allocations: 28.03 kB / 0.5021 GB, free: 1.922 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.731e-05/0.009788, allocations: 12.12 kB / 0.5021 GB, free: 1.902 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.683e-05/0.009805, allocations: 16.12 kB / 0.5021 GB, free: 1.887 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.00013/0.009935, allocations: 24.11 kB / 0.5022 GB, free: 1.855 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.33e-05/0.009948, allocations: 0 / 0.5022 GB, free: 1.855 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.1e-07/0.009948, allocations: 0 / 0.5022 GB, free: 1.855 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.549e-05/0.009984, allocations: 16.06 kB / 0.5022 GB, free: 1.832 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.434e-06/0.009991, allocations: 4 kB / 0.5022 GB, free: 1.828 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 4.037e-06/0.009995, allocations: 4 kB / 0.5022 GB, free: 1.824 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.542e-06/0.01, allocations: 0 / 0.5022 GB, free: 1.824 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.198e-05/0.01002, allocations: 8.188 kB / 0.5022 GB, free: 1.816 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001623/0.01019, allocations: 178 kB / 0.5024 GB, free: 1.609 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.669e-05/0.01023, allocations: 24.88 kB / 0.5024 GB, free: 1.586 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.7349343019886874] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.018800150020979345 0.033424669000000004 0.02203451 Calling exit ...