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.001186/0.001186, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.0013/0.0013, allocations: 211.4 kB / 23.01 MB, free: 4.93 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.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 179] 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.01301/0.01301, allocations: 3.271 MB / 316.5 MB, free: 15.63 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 1.451e-05/1.451e-05, allocations: 2.281 kB / 440.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.001936/0.001951, allocations: 1.497 MB / 442.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003136, allocations: 1.344 MB / 443.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.003173, allocations: 3.938 kB / 443.5 MB, free: 8.672 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.0002449/0.003418, allocations: 43.78 kB / 443.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.975e-05/0.003507, allocations: 27.84 kB / 443.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.003699, allocations: 75.8 kB / 443.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.311e-05/0.003793, allocations: 59.91 kB / 443.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.857e-05/0.003821, allocations: 15.91 kB / 443.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.948e-05/0.003871, allocations: 19.94 kB / 443.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.003968, allocations: 19.86 kB / 443.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.003981, allocations: 4 kB / 443.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.004109, allocations: 115.8 kB / 443.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.535e-05/0.004174, allocations: 98.98 kB / 444 MB, free: 8.199 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 1.937e-05/0.004193, allocations: 59.16 kB / 444.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.004215, allocations: 4 kB / 444.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.348e-06/0.004224, allocations: 0 / 444.1 MB, free: 8.137 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.0003671/0.004591, allocations: 399.8 kB / 444.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.531e-05/0.004636, allocations: 36.02 kB / 444.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 8.804e-05/0.004724, allocations: 132.3 kB / 444.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 5.922e-05/0.004784, allocations: 84.67 kB / 444.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0002385/0.005022, allocations: 172.6 kB / 444.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.424e-05/0.005066, allocations: 92.58 kB / 445 MB, free: 6.93 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.607e-05/0.005092, allocations: 48.61 kB / 445 MB, free: 6.855 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001049/0.005197, allocations: 120.7 kB / 445.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.658e-05/0.005264, allocations: 19.97 kB / 445.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 8.917e-05/0.005353, allocations: 68.09 kB / 445.2 MB, free: 6.59 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001043/0.005457, allocations: 68.53 kB / 445.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.958e-05/0.005527, allocations: 111.9 kB / 445.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001247/0.006774, allocations: 286.1 kB / 445.7 MB, free: 6.113 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.000116/0.00689, allocations: 179.9 kB / 445.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.626e-06/0.006899, allocations: 8.125 kB / 445.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 4.956e-05/0.006949, allocations: 63.89 kB / 445.9 MB, free: 5.855 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0002731/0.007222, allocations: 286.2 kB / 446.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 8.376e-06/0.00723, allocations: 4 kB / 446.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.00723, allocations: 0 / 446.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.565e-06/0.007233, allocations: 0 / 446.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.433e-06/0.007234, allocations: 8 kB / 446.2 MB, free: 5.555 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 4.689e-06/0.007239, allocations: 3.938 kB / 446.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 6.35e-05/0.007303, allocations: 35.98 kB / 446.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.532e-06/0.007309, allocations: 0 / 446.3 MB, free: 5.516 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:3, array:1, record:1) * 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 2.838e-05/0.007338, allocations: 26.16 kB / 446.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of SimCode: time 0.009435/0.01677, allocations: 0.5562 MB / 446.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of Templates: time 0.003545/0.02032, allocations: 1.474 MB / 448.3 MB, free: 3.52 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.050584177020937] Failed to read output from testmodel.py, exit status != 0: 0.02579706721007824 0.039335590000000004 0.032309932 Calling exit ...