Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile.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.001381/0.001381, allocations: 99.64 kB / 21.25 MB, free: 424 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.001528/0.001528, allocations: 215.3 kB / 24.55 MB, free: 3.719 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.507/1.507, 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.252/0.252, allocations: 46.95 MB / 361.6 MB, free: 3.895 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.Utilities.TestWriteFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile") translateModel(ModelicaTest.Utilities.TestWriteFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.239e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestWriteFile): time 0.001562/0.001584, allocations: 491 kB / 0.4979 GB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006103/0.002194, allocations: 211.6 kB / 0.4981 GB, free: 6.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.002221, allocations: 0 / 0.4981 GB, free: 6.422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.002234, allocations: 0 / 0.4981 GB, free: 6.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.031e-06/0.00224, allocations: 0 / 0.4981 GB, free: 6.422 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:300:3-331: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.0003074/0.002547, allocations: 59.75 kB / 0.4981 GB, free: 6.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.33e-05/0.002601, allocations: 4 kB / 0.4981 GB, free: 6.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.002643, allocations: 4 kB / 0.4981 GB, free: 6.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.686e-05/0.00266, allocations: 0 / 0.4981 GB, free: 6.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.386e-05/0.002684, allocations: 0 / 0.4981 GB, free: 6.355 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.002689, allocations: 0 / 0.4981 GB, free: 6.355 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.002801, allocations: 55.89 kB / 0.4982 GB, free: 6.301 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.56e-05/0.002827, allocations: 3.984 kB / 0.4982 GB, free: 6.297 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.628e-06/0.002831, allocations: 7.906 kB / 0.4982 GB, free: 6.289 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.379e-05/0.002845, allocations: 0 / 0.4982 GB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.773e-06/0.002852, allocations: 0 / 0.4982 GB, free: 6.289 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.0004158/0.003268, allocations: 189.7 kB / 0.4984 GB, free: 5.984 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.285e-05/0.003311, allocations: 27.84 kB / 0.4984 GB, free: 5.945 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 6.775e-05/0.003378, allocations: 48.42 kB / 0.4984 GB, free: 5.871 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.774e-05/0.003456, allocations: 64.67 kB / 0.4985 GB, free: 5.762 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 8.839e-05/0.003544, allocations: 72.66 kB / 0.4986 GB, free: 5.641 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.978e-05/0.003614, allocations: 68.67 kB / 0.4986 GB, free: 5.527 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.099e-05/0.003655, allocations: 40.38 kB / 0.4987 GB, free: 5.461 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.609e-05/0.003751, allocations: 76.86 kB / 0.4988 GB, free: 5.332 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.626e-05/0.003768, allocations: 4 kB / 0.4988 GB, free: 5.328 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.308e-05/0.003841, allocations: 20.12 kB / 0.4988 GB, free: 5.301 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001638/0.004004, allocations: 32.05 kB / 0.4988 GB, free: 5.262 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.778e-05/0.004022, allocations: 15.78 kB / 0.4988 GB, free: 5.246 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0002212/0.004243, allocations: 93.11 kB / 0.4989 GB, free: 5.086 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.585e-05/0.004269, allocations: 28.05 kB / 0.4989 GB, free: 5.055 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.371e-05/0.004283, allocations: 12.12 kB / 0.4989 GB, free: 5.035 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 9.107e-06/0.004292, allocations: 192 / 0.4989 GB, free: 5.035 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.262e-05/0.004365, allocations: 40.05 kB / 0.499 GB, free: 4.988 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 8.887e-06/0.004374, allocations: 0 / 0.499 GB, free: 4.988 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.6e-07/0.004374, allocations: 0 / 0.499 GB, free: 4.988 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.66e-05/0.004401, allocations: 12.12 kB / 0.499 GB, free: 4.969 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.138e-06/0.004405, allocations: 0 / 0.499 GB, free: 4.969 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.02e-07/0.004406, allocations: 0 / 0.499 GB, free: 4.969 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 5.029e-06/0.004411, allocations: 0 / 0.499 GB, free: 4.969 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.38e-05/0.004434, allocations: 8.188 kB / 0.499 GB, free: 4.961 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001443/0.004579, allocations: 178 kB / 0.4992 GB, free: 4.754 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.39e-05/0.004623, allocations: 31.48 kB / 0.4992 GB, free: 4.73 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.854192939994391] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.012371441989671439 0.027056788000000002 0.021294252 Calling exit ...