Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestInnerOuter.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.001458/0.001458, allocations: 104.3 kB / 19.76 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.001579/0.001579, allocations: 214.5 kB / 23.06 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.351/1.351, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.0138/0.0138, allocations: 3.273 MB / 316.5 MB, free: 15.6 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.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.669e-05, allocations: 2.281 kB / 440.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002172/0.002189, allocations: 1.679 MB / 442.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.003905, allocations: 1.707 MB / 444.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.003956, allocations: 0 / 444.2 MB, free: 8.078 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:238:3-267:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.004258, allocations: 43.77 kB / 444.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.004543, allocations: 119.5 kB / 444.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.004724, allocations: 87.78 kB / 444.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.004846, allocations: 119.7 kB / 444.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.419e-05/0.00492, allocations: 11.98 kB / 444.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.004977, allocations: 39.84 kB / 444.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.005083, allocations: 39.78 kB / 444.6 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.005097, allocations: 11.94 kB / 444.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.005297, allocations: 195.8 kB / 444.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000111/0.005408, allocations: 166.4 kB / 445 MB, free: 7.258 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.092e-05/0.005439, allocations: 106.5 kB / 445.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.005464, allocations: 4 kB / 445.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.177e-05/0.005476, allocations: 7.938 kB / 445.1 MB, free: 7.141 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.0004282/0.005904, allocations: 0.5455 MB / 445.6 MB, free: 6.473 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.61e-05/0.00595, allocations: 48.02 kB / 445.7 MB, free: 6.414 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001322/0.006083, allocations: 216.2 kB / 445.9 MB, free: 6.176 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 7.114e-05/0.006154, allocations: 88.7 kB / 446 MB, free: 6.043 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0003527/0.006507, allocations: 289 kB / 446.3 MB, free: 5.695 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.187e-05/0.006558, allocations: 80.72 kB / 446.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.553e-05/0.006594, allocations: 60.41 kB / 446.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001283/0.006722, allocations: 131.1 kB / 446.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.275e-05/0.006805, allocations: 41.17 kB / 446.6 MB, free: 5.262 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000121/0.006926, allocations: 128.1 kB / 446.7 MB, free: 5.121 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001696/0.007095, allocations: 136.6 kB / 446.8 MB, free: 4.973 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001109/0.007206, allocations: 175.9 kB / 447 MB, free: 4.801 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001486/0.008692, allocations: 375.4 kB / 447.4 MB, free: 4.441 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001847/0.008877, allocations: 299.7 kB / 447.7 MB, free: 4.145 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.249e-05/0.008889, allocations: 16.12 kB / 447.7 MB, free: 4.121 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 6.466e-05/0.008954, allocations: 75.94 kB / 447.7 MB, free: 4.047 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000386/0.00934, allocations: 397.5 kB / 448.1 MB, free: 3.648 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 9.558e-06/0.00935, allocations: 8 kB / 448.1 MB, free: 3.641 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.11e-07/0.00935, allocations: 0 / 448.1 MB, free: 3.641 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.456e-06/0.009353, allocations: 288 / 448.1 MB, free: 3.641 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.693e-06/0.009355, allocations: 4 kB / 448.1 MB, free: 3.637 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.612e-06/0.009362, allocations: 4 kB / 448.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001065/0.009468, allocations: 75.95 kB / 448.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.692e-06/0.009475, allocations: 4 kB / 448.2 MB, free: 3.555 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) {component.timeTable.a, component.timeTable.b, component.timeTable.last, component.timeTable.nextEvent, component.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.596e-05/0.009511, allocations: 30.34 kB / 448.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of SimCode: time 0.001644/0.01115, allocations: 0.9113 MB / 449.2 MB, free: 2.707 MB / 302.1 MB Notification: Performance of Templates: time 0.004566/0.01572, allocations: 2.577 MB / 451.7 MB, free: 152 kB / 302.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestInnerOuter.pipe >> ../files/ExternData_ExternData.Examples.XMLTestInnerOuter.sim & ./ExternData_ExternData.Examples.XMLTestInnerOuter -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.140289076603949] Failed to read output from testmodel.py, exit status != 0: 0.021982436999678612 0.036592735 0.028374530000000002 Calling exit ...