Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile.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.001617/0.001617, 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.001848/0.001848, allocations: 212.5 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.2463/0.2463, allocations: 46.97 MB / 361.7 MB, free: 3.984 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.Utilities.TestWriteFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile") translateModel(ModelicaTest.Utilities.TestWriteFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.138e-05, allocations: 4.812 kB / 0.4974 GB, free: 7.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestWriteFile): time 0.001484/0.001506, allocations: 485.1 kB / 0.4978 GB, free: 6.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005783/0.002084, allocations: 219.6 kB / 0.498 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.002106, allocations: 0 / 0.498 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.002118, allocations: 0 / 0.498 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.002123, allocations: 0 / 0.498 GB, free: 6.551 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:289:3-320:16:writable] Warning: Pure function 'ModelicaTest.Utilities.WriteFile' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.002419, allocations: 51.83 kB / 0.4981 GB, free: 6.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.268e-05/0.002471, allocations: 3.938 kB / 0.4981 GB, free: 6.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.002514, allocations: 0 / 0.4981 GB, free: 6.496 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.002532, allocations: 11.92 kB / 0.4981 GB, free: 6.484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.307e-05/0.002555, allocations: 4 kB / 0.4981 GB, free: 6.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-06/0.00256, allocations: 0 / 0.4981 GB, free: 6.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.002675, allocations: 47.95 kB / 0.4982 GB, free: 6.434 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.671e-05/0.002711, allocations: 4 kB / 0.4982 GB, free: 6.43 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.597e-06/0.002715, allocations: 3.906 kB / 0.4982 GB, free: 6.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.24e-05/0.002727, allocations: 0 / 0.4982 GB, free: 6.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.991e-06/0.002733, allocations: 0 / 0.4982 GB, free: 6.426 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.0003663/0.0031, allocations: 189.7 kB / 0.4984 GB, free: 6.121 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.029e-05/0.00315, allocations: 35.89 kB / 0.4984 GB, free: 6.074 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 6.888e-05/0.003219, allocations: 48.38 kB / 0.4984 GB, free: 6 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.268e-05/0.003292, allocations: 60.73 kB / 0.4985 GB, free: 5.895 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.553e-05/0.003387, allocations: 76.59 kB / 0.4986 GB, free: 5.77 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.233e-05/0.003449, allocations: 64.73 kB / 0.4986 GB, free: 5.66 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.645e-05/0.003496, allocations: 40.42 kB / 0.4987 GB, free: 5.594 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.254e-05/0.003588, allocations: 76.8 kB / 0.4987 GB, free: 5.465 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.854e-05/0.003607, allocations: 4 kB / 0.4987 GB, free: 5.461 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.041e-05/0.003677, allocations: 20.06 kB / 0.4988 GB, free: 5.434 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001285/0.003806, allocations: 36.11 kB / 0.4988 GB, free: 5.391 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.363e-05/0.00382, allocations: 7.859 kB / 0.4988 GB, free: 5.383 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001275/0.003947, allocations: 93.11 kB / 0.4989 GB, free: 5.223 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.141e-05/0.003978, allocations: 31.98 kB / 0.4989 GB, free: 5.188 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.642e-05/0.003995, allocations: 8.125 kB / 0.4989 GB, free: 5.172 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.369e-05/0.004009, allocations: 7.984 kB / 0.4989 GB, free: 5.164 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.852e-05/0.004077, allocations: 32.47 kB / 0.499 GB, free: 5.125 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.307e-05/0.00409, allocations: 8 kB / 0.499 GB, free: 5.117 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.004091, allocations: 0 / 0.499 GB, free: 5.117 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.465e-05/0.004115, allocations: 8.125 kB / 0.499 GB, free: 5.102 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.085e-06/0.004118, allocations: 0 / 0.499 GB, free: 5.102 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 5.089e-06/0.004123, allocations: 7.938 kB / 0.499 GB, free: 5.094 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 5.24e-06/0.004129, allocations: 0 / 0.499 GB, free: 5.094 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.149e-05/0.00415, allocations: 4 kB / 0.499 GB, free: 5.09 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001367/0.004287, allocations: 174 kB / 0.4992 GB, free: 4.887 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 3.627e-05/0.004323, allocations: 26.59 kB / 0.4992 GB, free: 4.863 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.726330554985907] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.012121282052248716 0.02583181 0.020281543000000003 Calling exit ...