Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.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.001445/0.001445, allocations: 107.6 kB / 21.25 MB, free: 416 kB / 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.00171/0.00171, allocations: 206.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.5 MB / 258.2 MB, free: 7.719 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.2401/0.2401, allocations: 46.95 MB / 361.7 MB, free: 3.863 MB / 286.1 MB " [Timeout remaining time 179] 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.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/2.997e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001683/0.001713, allocations: 0.5126 MB / 0.4979 GB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.005496, allocations: 2.008 MB / 0.4999 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.005513, allocations: 0 / 0.4999 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.005534, allocations: 0 / 0.4999 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.005541, allocations: 0 / 0.4999 GB, free: 4.516 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001787/0.007328, allocations: 0.5065 MB / 0.5004 GB, free: 4.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.007392, allocations: 7.922 kB / 0.5004 GB, free: 4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.007445, allocations: 4 kB / 0.5004 GB, free: 3.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.007464, allocations: 0 / 0.5004 GB, free: 3.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.503e-05/0.007489, allocations: 3.984 kB / 0.5004 GB, free: 3.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.007497, allocations: 0 / 0.5004 GB, free: 3.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.008754, allocations: 0.6433 MB / 0.501 GB, free: 3.348 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.059e-05/0.008785, allocations: 7.984 kB / 0.501 GB, free: 3.34 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.976e-06/0.008788, allocations: 3.906 kB / 0.501 GB, free: 3.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.008801, allocations: 0 / 0.501 GB, free: 3.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.406e-06/0.00881, allocations: 0 / 0.501 GB, free: 3.336 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.0004004/0.00921, allocations: 208.1 kB / 0.5012 GB, free: 3.016 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.336e-05/0.009243, allocations: 16.05 kB / 0.5012 GB, free: 2.988 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 8.719e-05/0.00933, allocations: 60.34 kB / 0.5013 GB, free: 2.902 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.541e-05/0.009406, allocations: 68.69 kB / 0.5014 GB, free: 2.789 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.877e-05/0.009505, allocations: 76.66 kB / 0.5014 GB, free: 2.664 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.4e-05/0.009569, allocations: 64.67 kB / 0.5015 GB, free: 2.555 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.215e-05/0.009611, allocations: 36.44 kB / 0.5015 GB, free: 2.492 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001004/0.009711, allocations: 80.8 kB / 0.5016 GB, free: 2.359 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.002e-05/0.009731, allocations: 3.859 kB / 0.5016 GB, free: 2.355 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.76e-05/0.009809, allocations: 28.11 kB / 0.5016 GB, free: 2.32 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001237/0.009933, allocations: 16.3 kB / 0.5016 GB, free: 2.297 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.771e-05/0.00995, allocations: 23.88 kB / 0.5017 GB, free: 2.273 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001364/0.01009, allocations: 101.1 kB / 0.5018 GB, free: 2.105 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.852e-05/0.01013, allocations: 31.98 kB / 0.5018 GB, free: 2.07 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.211e-05/0.01014, allocations: 8.125 kB / 0.5018 GB, free: 2.055 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.325e-05/0.01015, allocations: 8 kB / 0.5018 GB, free: 2.047 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.959e-05/0.01022, allocations: 24.11 kB / 0.5018 GB, free: 2.016 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 9.649e-06/0.01023, allocations: 0 / 0.5018 GB, free: 2.016 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.01023, allocations: 192 / 0.5018 GB, free: 2.016 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.617e-05/0.01026, allocations: 16.12 kB / 0.5018 GB, free: 1.992 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.751e-06/0.01026, allocations: 4 kB / 0.5019 GB, free: 1.988 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.042e-06/0.01026, allocations: 0 / 0.5019 GB, free: 1.988 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 2.429e-05/0.01029, allocations: 7.984 kB / 0.5019 GB, free: 1.98 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.051e-05/0.01031, allocations: 3.938 kB / 0.5019 GB, free: 1.977 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001365/0.01044, allocations: 174 kB / 0.502 GB, free: 1.773 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 5.07e-05/0.0105, allocations: 27.84 kB / 0.5021 GB, free: 1.754 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.8333908800268546] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.01968357397709042 0.034041947 0.0222159 Calling exit ...