Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.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.001622/0.001622, allocations: 99.64 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.00182/0.00182, allocations: 204.7 kB / 24.55 MB, free: 3.73 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.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.23/0.23, allocations: 44.94 MB / 359.7 MB, free: 6.023 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.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.519e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001617/0.001642, allocations: 485 kB / 0.4948 GB, free: 9.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008357/0.002478, allocations: 303.3 kB / 0.495 GB, free: 9.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.002497, allocations: 7.938 kB / 0.4951 GB, free: 9.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.002512, allocations: 0 / 0.4951 GB, free: 9.289 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.314e-06/0.002519, allocations: 0 / 0.4951 GB, free: 9.289 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:222:3-288:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Streams' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000929/0.003448, allocations: 100.2 kB / 0.4952 GB, free: 9.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.003506, allocations: 0 / 0.4952 GB, free: 9.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.00355, allocations: 3.984 kB / 0.4952 GB, free: 9.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.003572, allocations: 15.92 kB / 0.4952 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.92e-05/0.003591, allocations: 0 / 0.4952 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-06/0.003597, allocations: 0 / 0.4952 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.003806, allocations: 107.9 kB / 0.4953 GB, free: 9.07 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.657e-05/0.003833, allocations: 7.938 kB / 0.4953 GB, free: 9.062 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 5.44e-06/0.003838, allocations: 7.891 kB / 0.4953 GB, free: 9.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.003856, allocations: 4 kB / 0.4953 GB, free: 9.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.327e-05/0.003889, allocations: 0 / 0.4953 GB, free: 9.051 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.0003947/0.004284, allocations: 181.7 kB / 0.4955 GB, free: 8.754 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.714e-05/0.004321, allocations: 23.89 kB / 0.4955 GB, free: 8.719 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 7.322e-05/0.004394, allocations: 56.38 kB / 0.4955 GB, free: 8.637 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.198e-05/0.004476, allocations: 56.73 kB / 0.4956 GB, free: 8.535 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.944e-05/0.004575, allocations: 88.58 kB / 0.4957 GB, free: 8.398 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.822e-05/0.004654, allocations: 60.75 kB / 0.4957 GB, free: 8.293 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.793e-05/0.004702, allocations: 44.42 kB / 0.4958 GB, free: 8.223 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001042/0.004806, allocations: 72.86 kB / 0.4959 GB, free: 8.098 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.829e-05/0.004824, allocations: 0 / 0.4959 GB, free: 8.098 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.197e-05/0.004906, allocations: 24.12 kB / 0.4959 GB, free: 8.066 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001145/0.005021, allocations: 24.05 kB / 0.4959 GB, free: 8.035 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.938e-05/0.00504, allocations: 12 kB / 0.4959 GB, free: 8.023 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001491/0.005189, allocations: 101 kB / 0.496 GB, free: 7.855 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.844e-05/0.005217, allocations: 23.98 kB / 0.496 GB, free: 7.828 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.231e-05/0.00523, allocations: 8.125 kB / 0.496 GB, free: 7.812 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.373e-05/0.005243, allocations: 8 kB / 0.496 GB, free: 7.805 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.578e-05/0.005309, allocations: 24.39 kB / 0.4961 GB, free: 7.773 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.435e-05/0.005324, allocations: 4.094 kB / 0.4961 GB, free: 7.77 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.21e-07/0.005324, allocations: 4 kB / 0.4961 GB, free: 7.766 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.041e-05/0.005354, allocations: 12.11 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.528e-06/0.005359, allocations: 0 / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 4.448e-06/0.005363, allocations: 4 kB / 0.4961 GB, free: 7.742 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.808e-05/0.005381, allocations: 7.938 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.958e-05/0.005401, allocations: 4 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.000148/0.005549, allocations: 166 kB / 0.4963 GB, free: 7.535 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.585e-05/0.005595, allocations: 38.53 kB / 0.4963 GB, free: 7.5 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.7963993820012547] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.013915111019741744 0.028207646000000003 0.021411742 Calling exit ...