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.001213/0.001213, allocations: 100.4 kB / 19.75 MB, free: 2.062 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.00127/0.00127, allocations: 213 kB / 23.05 MB, free: 4.852 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.358/1.358, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.01409/0.01409, allocations: 3.271 MB / 316.5 MB, free: 15.61 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.837e-05/1.837e-05, allocations: 5.234 kB / 440.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.002285/0.002303, allocations: 1.698 MB / 442.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.003981, allocations: 1.71 MB / 444.2 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.004039, allocations: 0 / 444.2 MB, free: 8.047 MB / 302.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.0002937/0.004333, allocations: 51.77 kB / 444.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.004605, allocations: 119.5 kB / 444.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.004779, allocations: 91.7 kB / 444.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.004894, allocations: 91.81 kB / 444.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.004977, allocations: 11.98 kB / 444.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.005043, allocations: 47.78 kB / 444.6 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.005181, allocations: 39.72 kB / 444.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.005194, allocations: 4 kB / 444.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.00539, allocations: 191.8 kB / 444.8 MB, free: 7.41 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.829e-05/0.005488, allocations: 170.2 kB / 445 MB, free: 7.242 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.957e-05/0.005517, allocations: 98.64 kB / 445.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.005541, allocations: 4 kB / 445.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.141e-05/0.005552, allocations: 4 kB / 445.1 MB, free: 7.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: 12 (8) * Number of variables: 12 (12) Notification: Performance of [SIM] Bindings: time 0.0004749/0.006027, allocations: 0.5376 MB / 445.6 MB, free: 6.477 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.532e-05/0.006073, allocations: 47.95 kB / 445.7 MB, free: 6.418 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001197/0.006192, allocations: 196.2 kB / 445.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 6.921e-05/0.006261, allocations: 84.72 kB / 445.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0003292/0.006591, allocations: 248.6 kB / 446.2 MB, free: 5.762 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.143e-05/0.006642, allocations: 88.66 kB / 446.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.329e-05/0.006675, allocations: 60.78 kB / 446.3 MB, free: 5.543 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001137/0.006789, allocations: 124.6 kB / 446.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.836e-05/0.006867, allocations: 37.27 kB / 446.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001075/0.006975, allocations: 112.2 kB / 446.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001593/0.007134, allocations: 132.4 kB / 446.7 MB, free: 5.059 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001007/0.007235, allocations: 151.9 kB / 446.9 MB, free: 4.91 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001133/0.008368, allocations: 323.3 kB / 447.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001597/0.008528, allocations: 259.8 kB / 447.4 MB, free: 4.324 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.126e-05/0.008539, allocations: 16.06 kB / 447.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 6.037e-05/0.008599, allocations: 67.94 kB / 447.5 MB, free: 4.234 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003693/0.008969, allocations: 392.4 kB / 447.9 MB, free: 3.84 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.09e-05/0.00898, allocations: 8 kB / 447.9 MB, free: 3.832 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.00898, allocations: 0 / 447.9 MB, free: 3.832 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.848e-06/0.008984, allocations: 0 / 447.9 MB, free: 3.832 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.493e-06/0.008985, allocations: 4 kB / 447.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.096e-06/0.008993, allocations: 4 kB / 447.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001045/0.009098, allocations: 71.89 kB / 448 MB, free: 3.754 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.213e-06/0.009105, allocations: 0 / 448 MB, free: 3.754 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: ......... 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: ................. 8 (8) {timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, $SEV_1, $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: ........... 11 (scalar:10, 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.385e-05/0.009139, allocations: 37.89 kB / 448 MB, free: 3.719 MB / 302.1 MB Notification: Performance of SimCode: time 0.003248/0.01239, allocations: 0.8254 MB / 448.9 MB, free: 2.965 MB / 302.1 MB Notification: Performance of Templates: time 0.005178/0.01756, allocations: 2.488 MB / 451.4 MB, free: 0.4922 MB / 302.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 os._exit(0), Time elapsed: 4.080598928034306] Failed to read output from testmodel.py, exit status != 0: 0.024731040000915527 0.038943604 0.030658985000000003 Calling exit ...