Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001319/0.001319, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 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.00151/0.00151, allocations: 212 kB / 24.55 MB, free: 3.824 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.507/1.507, allocations: 230.7 MB / 258.4 MB, free: 7.734 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.2231/0.2231, allocations: 44.93 MB / 359.7 MB, free: 6.039 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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.109e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001444/0.001465, allocations: 0.4996 MB / 0.4948 GB, free: 9.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.005041, allocations: 2.238 MB / 0.497 GB, free: 7.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.005056, allocations: 8 kB / 0.497 GB, free: 7.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.005072, allocations: 0 / 0.497 GB, free: 7.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.005077, allocations: 0 / 0.497 GB, free: 7.305 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.001513/0.00659, allocations: 0.5764 MB / 0.4976 GB, free: 6.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.00664, allocations: 4 kB / 0.4976 GB, free: 6.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.00668, allocations: 3.938 kB / 0.4976 GB, free: 6.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.006696, allocations: 4 kB / 0.4976 GB, free: 6.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.96e-05/0.006716, allocations: 11.92 kB / 0.4976 GB, free: 6.703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-06/0.006722, allocations: 3.938 kB / 0.4976 GB, free: 6.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.007803, allocations: 0.6706 MB / 0.4982 GB, free: 6.027 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.548e-05/0.007828, allocations: 4 kB / 0.4983 GB, free: 6.023 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.966e-06/0.007831, allocations: 3.906 kB / 0.4983 GB, free: 6.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.149e-05/0.007842, allocations: 0 / 0.4983 GB, free: 6.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.254e-06/0.00785, allocations: 0 / 0.4983 GB, free: 6.02 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.0004901/0.00834, allocations: 209.9 kB / 0.4985 GB, free: 5.695 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.679e-05/0.008377, allocations: 20.05 kB / 0.4985 GB, free: 5.664 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 8.95e-05/0.008466, allocations: 56.36 kB / 0.4985 GB, free: 5.582 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.822e-05/0.008544, allocations: 68.73 kB / 0.4986 GB, free: 5.469 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001009/0.008645, allocations: 76.59 kB / 0.4987 GB, free: 5.344 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.026e-05/0.008706, allocations: 60.75 kB / 0.4987 GB, free: 5.238 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.952e-05/0.008755, allocations: 44.36 kB / 0.4988 GB, free: 5.168 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.726e-05/0.008852, allocations: 76.84 kB / 0.4988 GB, free: 5.039 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.227e-05/0.008875, allocations: 15.8 kB / 0.4989 GB, free: 5.023 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.431e-05/0.008949, allocations: 24.12 kB / 0.4989 GB, free: 4.992 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001527/0.009102, allocations: 16.11 kB / 0.4989 GB, free: 4.969 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.666e-05/0.009118, allocations: 12 kB / 0.4989 GB, free: 4.957 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001298/0.009248, allocations: 101 kB / 0.499 GB, free: 4.789 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.83e-05/0.009286, allocations: 28.05 kB / 0.499 GB, free: 4.758 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 4.869e-05/0.009335, allocations: 8.125 kB / 0.499 GB, free: 4.742 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 2.015e-05/0.009355, allocations: 12.12 kB / 0.499 GB, free: 4.73 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.893e-05/0.009424, allocations: 32.11 kB / 0.4991 GB, free: 4.691 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 8.245e-06/0.009432, allocations: 0 / 0.4991 GB, free: 4.691 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 2.91e-07/0.009433, allocations: 0 / 0.4991 GB, free: 4.691 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.746e-05/0.00946, allocations: 8.125 kB / 0.4991 GB, free: 4.676 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.063e-06/0.009467, allocations: 8 kB / 0.4991 GB, free: 4.668 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.31e-07/0.009468, allocations: 0 / 0.4991 GB, free: 4.668 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 7.243e-06/0.009475, allocations: 3.984 kB / 0.4991 GB, free: 4.664 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.778e-05/0.009493, allocations: 4.188 kB / 0.4991 GB, free: 4.66 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001423/0.009635, allocations: 177.9 kB / 0.4993 GB, free: 4.453 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.048e-05/0.009676, allocations: 31.25 kB / 0.4993 GB, free: 4.426 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.753336822031997] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.017925378982909024 0.031824809 0.021116709 Calling exit ...