Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.MATTest.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.001202/0.001202, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001277/0.001277, allocations: 218.5 kB / 23.07 MB, free: 4.98 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.365/1.365, allocations: 230.6 MB / 256.9 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.0138/0.0138, allocations: 3.282 MB / 316.6 MB, free: 15.55 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/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(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.128e-05, allocations: 9.031 kB / 440.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002082/0.002104, allocations: 1.505 MB / 442.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.003424, allocations: 1.352 MB / 443.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.003482, allocations: 0 / 443.7 MB, free: 8.516 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:123:3-145:14:writable] Warning: Pure function 'ExternData.MATFile' contains a call to impure function 'ExternData.Types.ExternMATFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.003799, allocations: 43.78 kB / 443.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.003915, allocations: 23.86 kB / 443.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.004164, allocations: 79.78 kB / 443.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.00428, allocations: 63.84 kB / 443.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.004318, allocations: 7.984 kB / 443.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.00438, allocations: 27.86 kB / 443.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.004485, allocations: 15.92 kB / 443.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.004498, allocations: 4 kB / 443.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.004643, allocations: 107.8 kB / 444 MB, free: 8.148 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.663e-05/0.004709, allocations: 94.98 kB / 444.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.023e-05/0.00473, allocations: 67.14 kB / 444.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.004756, allocations: 4 kB / 444.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-05/0.004767, allocations: 0 / 444.2 MB, free: 7.984 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (3) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0003831/0.00515, allocations: 399.7 kB / 444.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.293e-05/0.005193, allocations: 32.03 kB / 444.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 8.642e-05/0.005279, allocations: 144.3 kB / 444.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 6.116e-05/0.005341, allocations: 80.72 kB / 444.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0002572/0.005598, allocations: 176.5 kB / 445 MB, free: 6.906 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 3.964e-05/0.005637, allocations: 76.67 kB / 445.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.779e-05/0.005665, allocations: 52.61 kB / 445.1 MB, free: 6.707 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001136/0.005779, allocations: 123 kB / 445.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.325e-05/0.005852, allocations: 27.92 kB / 445.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 8.799e-05/0.00594, allocations: 68.09 kB / 445.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001177/0.006058, allocations: 76.52 kB / 445.4 MB, free: 6.352 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.9e-05/0.006127, allocations: 103.9 kB / 445.5 MB, free: 6.25 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001312/0.007439, allocations: 281.3 kB / 445.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001189/0.007558, allocations: 179.9 kB / 446 MB, free: 5.781 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.098e-05/0.007569, allocations: 12.11 kB / 446 MB, free: 5.762 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 4.886e-05/0.007618, allocations: 55.95 kB / 446 MB, free: 5.707 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0002795/0.007897, allocations: 280 kB / 446.3 MB, free: 5.426 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 9.107e-06/0.007906, allocations: 4.281 kB / 446.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.91e-07/0.007907, allocations: 0 / 446.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.105e-05/0.007938, allocations: 24.11 kB / 446.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.488e-06/0.007943, allocations: 11.88 kB / 446.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 9.92e-07/0.007944, allocations: 0 / 446.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.002e-06/0.00795, allocations: 4 kB / 446.4 MB, free: 5.375 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.025e-05/0.00802, allocations: 35.98 kB / 446.4 MB, free: 5.34 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.184e-05/0.008092, allocations: 174 kB / 446.6 MB, free: 5.137 MB / 302.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: ................. 7 (7) {timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, $SEV_1, $SEV_0} * 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: ........... 1 (scalar:1, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 5 (scalar:4, array:1, 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.201e-05/0.008124, allocations: 37.92 kB / 446.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of SimCode: time 0.001287/0.009411, allocations: 0.5462 MB / 447.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of Templates: time 0.003293/0.0127, allocations: 1.212 MB / 448.4 MB, free: 3.402 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.MATTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.MATTest.pipe ; mkfifo ExternData_ExternData.Examples.MATTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.MATTest.pipe >> ../files/ExternData_ExternData.Examples.MATTest.sim & ./ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.197030326991808] Failed to read output from testmodel.py, exit status != 0: 0.01877190894447267 0.031970102 0.024413371000000003 Calling exit ...