Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.JSONTest.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.001465/0.001465, 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.001544/0.001544, allocations: 165.7 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.317/1.317, allocations: 177.1 MB / 203.7 MB, free: 9.129 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.01227/0.01227, allocations: 2.264 MB / 262.4 MB, free: 14.37 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.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") translateModel(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.547e-05, allocations: 2.281 kB / 386.8 MB, free: 356 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.002783/0.002798, allocations: 1.704 MB / 388.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.005132, allocations: 1.718 MB / 390.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.005183, allocations: 8 kB / 390.2 MB, free: 12.89 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:86:3-121:15:writable] Warning: Pure function 'ExternData.JSONFile' contains a call to impure function 'ExternData.Types.ExternJSONFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.005467, allocations: 39.72 kB / 390.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.005798, allocations: 127.3 kB / 390.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.006004, allocations: 87.7 kB / 390.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.006154, allocations: 91.77 kB / 390.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/0.006225, allocations: 11.98 kB / 390.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.834e-05/0.006323, allocations: 59.77 kB / 390.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.006456, allocations: 27.91 kB / 390.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.006473, allocations: 4 kB / 390.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.006743, allocations: 191.8 kB / 390.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001303/0.006874, allocations: 142.5 kB / 391 MB, free: 12.12 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.107e-05/0.006935, allocations: 90.83 kB / 391.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.006961, allocations: 8 kB / 391.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.446e-05/0.006975, allocations: 3.984 kB / 391.1 MB, free: 12.02 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: 12 (8) * Number of variables: 12 (12) Notification: Performance of [SIM] Bindings: time 0.0006362/0.007612, allocations: 0.5183 MB / 391.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001566/0.007768, allocations: 93.08 kB / 391.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002349/0.008003, allocations: 232.2 kB / 391.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 8.662e-05/0.00809, allocations: 56.39 kB / 392 MB, free: 10.94 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0005012/0.008591, allocations: 285.9 kB / 392.3 MB, free: 10.6 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 7.156e-05/0.008662, allocations: 52.41 kB / 392.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 6.787e-05/0.00873, allocations: 64.39 kB / 392.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0002315/0.008962, allocations: 169.2 kB / 392.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of [SIM] Events: time 7.109e-05/0.009033, allocations: 35.94 kB / 392.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002073/0.00924, allocations: 153.9 kB / 392.7 MB, free: 9.973 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0002249/0.009465, allocations: 140 kB / 392.9 MB, free: 9.82 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001731/0.009638, allocations: 183.8 kB / 393 MB, free: 9.641 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0005822/0.01022, allocations: 214.7 kB / 393.2 MB, free: 9.391 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0002736/0.01049, allocations: 283.8 kB / 393.5 MB, free: 9.109 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 2.079e-05/0.01051, allocations: 16.12 kB / 393.5 MB, free: 9.086 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0001042/0.01062, allocations: 83.92 kB / 393.6 MB, free: 9.004 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.000671/0.01129, allocations: 0.5124 MB / 394.1 MB, free: 8.484 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 1.201e-05/0.0113, allocations: 8 kB / 394.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.0113, allocations: 0 / 394.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.106e-06/0.01131, allocations: 0 / 394.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 4.619e-06/0.01131, allocations: 11.94 kB / 394.1 MB, free: 8.465 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 8.706e-06/0.01132, allocations: 4 kB / 394.2 MB, free: 8.461 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.0001356/0.01145, allocations: 75.88 kB / 394.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 5.962e-06/0.01146, allocations: 0 / 394.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of [SIM] Minimize Homotopy System: time 3.01e-07/0.01146, allocations: 8 kB / 394.2 MB, free: 8.379 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: ......... 2 * 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_0, $TEV_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: ........... 5 (scalar:5, 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: ........... 13 (scalar:11, array:2, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:3) * 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.054e-05/0.0115, allocations: 35.67 kB / 394.3 MB, free: 8.348 MB / 318.1 MB Notification: Performance of SimCode: time 0.001892/0.01339, allocations: 0.9217 MB / 395.2 MB, free: 7.492 MB / 318.1 MB Notification: Performance of Templates: time 0.005704/0.0191, allocations: 2.614 MB / 397.8 MB, free: 4.898 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.JSONTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.JSONTest.pipe ; mkfifo ExternData_ExternData.Examples.JSONTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.JSONTest.pipe >> ../files/ExternData_ExternData.Examples.JSONTest.sim & ./ExternData_ExternData.Examples.JSONTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.JSONTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.8900985457003117] Failed to read output from testmodel.py, exit status != 0: 0.02649851143360138 0.039905619 0.030088685 Calling exit ...