Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.CSVTest.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.001469/0.001469, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.00166/0.00166, allocations: 217.3 kB / 23.07 MB, free: 4.844 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.333/1.333, allocations: 230.6 MB / 256.9 MB, free: 7.738 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.01469/0.01469, allocations: 3.274 MB / 316.6 MB, free: 15.57 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.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/1.886e-05, allocations: 5.234 kB / 440.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.00212/0.002139, allocations: 1.514 MB / 442.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.003487, allocations: 1.359 MB / 443.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.003534, allocations: 4 kB / 443.7 MB, free: 8.527 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:35:3-59:14:writable] Warning: Pure function 'ExternData.CSVFile' contains a call to impure function 'ExternData.Types.ExternCSVFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.003881, allocations: 43.78 kB / 443.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.053e-05/0.003972, allocations: 35.78 kB / 443.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.004186, allocations: 74.48 kB / 443.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.004295, allocations: 75.75 kB / 443.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.004338, allocations: 4 kB / 443.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.004389, allocations: 31.86 kB / 444 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.004502, allocations: 23.86 kB / 444 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.004515, allocations: 4 kB / 444 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.004659, allocations: 111.8 kB / 444.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.937e-05/0.004728, allocations: 110.8 kB / 444.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.156e-05/0.00475, allocations: 67.06 kB / 444.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.004774, allocations: 4 kB / 444.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.08e-05/0.004785, allocations: 4 kB / 444.3 MB, free: 7.949 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.0003901/0.005175, allocations: 443.5 kB / 444.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.596e-05/0.005211, allocations: 32.03 kB / 444.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 8.557e-05/0.005297, allocations: 132.3 kB / 444.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 5.909e-05/0.005356, allocations: 88.7 kB / 445 MB, free: 7.062 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0002671/0.005623, allocations: 176.5 kB / 445.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.415e-05/0.005667, allocations: 84.7 kB / 445.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.741e-05/0.005695, allocations: 44.42 kB / 445.3 MB, free: 6.633 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001106/0.005805, allocations: 112.9 kB / 445.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.928e-05/0.005874, allocations: 35.89 kB / 445.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 8.691e-05/0.005961, allocations: 72.03 kB / 445.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001069/0.006068, allocations: 68.59 kB / 445.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.694e-05/0.006135, allocations: 103.9 kB / 445.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0008811/0.007016, allocations: 263.8 kB / 445.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001109/0.007127, allocations: 175.9 kB / 446.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.626e-06/0.007136, allocations: 8.125 kB / 446.1 MB, free: 5.691 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 4.585e-05/0.007182, allocations: 63.94 kB / 446.1 MB, free: 5.629 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0002736/0.007455, allocations: 280.2 kB / 446.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 9.538e-06/0.007465, allocations: 8 kB / 446.4 MB, free: 5.34 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.81e-07/0.007465, allocations: 0 / 446.4 MB, free: 5.34 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.823e-05/0.007493, allocations: 27.98 kB / 446.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.717e-06/0.007497, allocations: 3.938 kB / 446.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.153e-06/0.007498, allocations: 0 / 446.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 4.969e-06/0.007503, allocations: 4 kB / 446.5 MB, free: 5.297 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.262e-05/0.007576, allocations: 51.97 kB / 446.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.76e-05/0.007653, allocations: 170 kB / 446.7 MB, free: 5.047 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.011e-05/0.007683, allocations: 38.23 kB / 446.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of SimCode: time 0.001048/0.008732, allocations: 0.524 MB / 447.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of Templates: time 0.003458/0.01219, allocations: 1.3 MB / 448.5 MB, free: 3.227 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.CSVTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.CSVTest.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest.pipe >> ../files/ExternData_ExternData.Examples.CSVTest.sim & ./ExternData_ExternData.Examples.CSVTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.03531871602172] Failed to read output from testmodel.py, exit status != 0: 0.018598802969790995 0.032544007 0.024980475000000002 Calling exit ...