Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.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.00132/0.00132, 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.001437/0.001437, allocations: 212 kB / 24.55 MB, free: 3.828 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2177/0.2177, allocations: 44.94 MB / 359.7 MB, free: 6.016 MB / 286.1 MB " [Timeout remaining time 180] 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.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/2.976e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.00185/0.00188, allocations: 0.5074 MB / 0.4948 GB, free: 9.555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.005347, allocations: 1.923 MB / 0.4967 GB, free: 7.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.005367, allocations: 0 / 0.4967 GB, free: 7.609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.005386, allocations: 0 / 0.4967 GB, free: 7.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.78e-06/0.005391, allocations: 0 / 0.4967 GB, free: 7.609 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:928:5-1011:16:writable] Warning: Pure function 'ModelicaTest.Math.Random.special' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.007127, allocations: 0.4972 MB / 0.4972 GB, free: 7.113 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.877e-05/0.007186, allocations: 7.984 kB / 0.4972 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.007232, allocations: 7.938 kB / 0.4972 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.575e-05/0.007247, allocations: 0 / 0.4972 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.96e-05/0.007267, allocations: 0 / 0.4972 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.234e-06/0.007274, allocations: 4 kB / 0.4972 GB, free: 7.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.008386, allocations: 0.6355 MB / 0.4978 GB, free: 6.457 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.332e-05/0.008419, allocations: 7.984 kB / 0.4978 GB, free: 6.449 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.795e-06/0.008422, allocations: 3.906 kB / 0.4978 GB, free: 6.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.356e-05/0.008435, allocations: 0 / 0.4978 GB, free: 6.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.213e-06/0.008443, allocations: 4 kB / 0.4978 GB, free: 6.441 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.0004066/0.008849, allocations: 201.5 kB / 0.498 GB, free: 6.125 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.266e-05/0.008882, allocations: 24.05 kB / 0.498 GB, free: 6.09 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 8.475e-05/0.008966, allocations: 56.34 kB / 0.4981 GB, free: 6.008 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 6.825e-05/0.009035, allocations: 64.73 kB / 0.4982 GB, free: 5.898 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.96e-05/0.009134, allocations: 80.59 kB / 0.4982 GB, free: 5.77 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.739e-05/0.009202, allocations: 56.75 kB / 0.4983 GB, free: 5.668 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.522e-05/0.009247, allocations: 44.42 kB / 0.4983 GB, free: 5.598 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001018/0.009349, allocations: 76.86 kB / 0.4984 GB, free: 5.469 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.492e-05/0.009374, allocations: 15.73 kB / 0.4984 GB, free: 5.453 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.356e-05/0.009457, allocations: 24.12 kB / 0.4984 GB, free: 5.422 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001263/0.009583, allocations: 16.11 kB / 0.4985 GB, free: 5.398 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.824e-05/0.009602, allocations: 15.98 kB / 0.4985 GB, free: 5.383 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001419/0.009744, allocations: 97.11 kB / 0.4986 GB, free: 5.219 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.341e-05/0.009777, allocations: 24 kB / 0.4986 GB, free: 5.191 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.508e-05/0.009792, allocations: 16.31 kB / 0.4986 GB, free: 5.168 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.24e-05/0.009805, allocations: 8 kB / 0.4986 GB, free: 5.16 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.738e-05/0.009872, allocations: 24.11 kB / 0.4986 GB, free: 5.129 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.075e-05/0.009883, allocations: 0 / 0.4986 GB, free: 5.129 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.009883, allocations: 0 / 0.4986 GB, free: 5.129 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.45e-05/0.009917, allocations: 20.06 kB / 0.4987 GB, free: 5.102 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.176e-06/0.009921, allocations: 0 / 0.4987 GB, free: 5.102 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 8.82e-07/0.009922, allocations: 0 / 0.4987 GB, free: 5.102 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.112e-05/0.009933, allocations: 8.172 kB / 0.4987 GB, free: 5.094 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.921e-05/0.009952, allocations: 4 kB / 0.4987 GB, free: 5.09 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001248/0.01008, allocations: 170 kB / 0.4988 GB, free: 4.891 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.151e-05/0.01013, allocations: 34.52 kB / 0.4989 GB, free: 4.859 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.642562516964972] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.01910711103118956 0.033849917 0.022282635000000002 Calling exit ...