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.001199/0.001199, allocations: 85.77 kB / 20.05 MB, free: 1.453 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.001282/0.001282, allocations: 167 kB / 23.34 MB, free: 4.43 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.295/1.295, allocations: 177.1 MB / 203.7 MB, free: 9.125 MB / 190.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.01273/0.01273, allocations: 2.254 MB / 262.3 MB, free: 14.36 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.49e-05/1.49e-05, allocations: 2.281 kB / 386.8 MB, free: 344 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002507/0.002521, allocations: 1.5 MB / 388.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.00431, allocations: 1.36 MB / 389.6 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.00435, allocations: 0 / 389.6 MB, free: 13.45 MB / 318.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.0002846/0.004635, allocations: 39.78 kB / 389.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.004736, allocations: 27.84 kB / 389.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.004977, allocations: 83.72 kB / 389.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.005094, allocations: 67.77 kB / 389.9 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.007e-05/0.005124, allocations: 7.984 kB / 389.9 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.005203, allocations: 31.86 kB / 389.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.005309, allocations: 15.98 kB / 389.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.005324, allocations: 4 kB / 389.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.005493, allocations: 107.8 kB / 390 MB, free: 13.07 MB / 318.1 MB Notification: Performance of combineBinaries: time 8.121e-05/0.005575, allocations: 83.14 kB / 390.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.145e-05/0.005606, allocations: 47.34 kB / 390.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.005626, allocations: 4 kB / 390.2 MB, free: 12.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.478e-05/0.00564, allocations: 7.984 kB / 390.2 MB, free: 12.93 MB / 318.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.0006145/0.006255, allocations: 383 kB / 390.5 MB, free: 12.44 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001177/0.006373, allocations: 63.84 kB / 390.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001678/0.00654, allocations: 156.3 kB / 390.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 8.562e-05/0.006626, allocations: 56.39 kB / 390.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0003299/0.006956, allocations: 172.7 kB / 391 MB, free: 11.88 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 6.334e-05/0.007019, allocations: 56.41 kB / 391 MB, free: 11.8 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 6.461e-05/0.007084, allocations: 56.34 kB / 391.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0001958/0.00728, allocations: 136.9 kB / 391.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of [SIM] Events: time 4.508e-05/0.007325, allocations: 16 kB / 391.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.000154/0.007479, allocations: 112.7 kB / 391.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.000201/0.00768, allocations: 83.88 kB / 391.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001132/0.007793, allocations: 115.8 kB / 391.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0006784/0.008471, allocations: 186.4 kB / 391.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0001877/0.008659, allocations: 191.9 kB / 391.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 1.484e-05/0.008674, allocations: 8.125 kB / 391.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 8.823e-05/0.008762, allocations: 67.94 kB / 392 MB, free: 10.67 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.0004676/0.00923, allocations: 336.8 kB / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 9.588e-06/0.009239, allocations: 4 kB / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 3.11e-07/0.00924, allocations: 0 / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.866e-06/0.009242, allocations: 0 / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 2.635e-06/0.009245, allocations: 4 kB / 392.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 5.731e-06/0.009251, allocations: 4 kB / 392.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 8.447e-05/0.009335, allocations: 47.89 kB / 392.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 6.061e-06/0.009341, allocations: 0 / 392.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of [SIM] Minimize Homotopy System: time 2.61e-07/0.009342, allocations: 0 / 392.4 MB, free: 10.27 MB / 318.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: ................. 6 (6) {timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, $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: ........... 7 (scalar:5, array:2, 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.955e-05/0.009381, allocations: 38.31 kB / 392.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of SimCode: time 0.001454/0.01084, allocations: 0.596 MB / 393 MB, free: 9.68 MB / 318.1 MB Notification: Performance of Templates: time 0.004257/0.01509, allocations: 1.532 MB / 394.5 MB, free: 8.16 MB / 318.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 sys.exit(0), Time elapsed: 3.930406864732504] Failed to read output from testmodel.py, exit status != 0: 0.022374842315912247 0.036247097 0.027774715000000002 Calling exit ...