Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.RealNetwork1.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.001457/0.001457, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001467/0.001467, allocations: 216.8 kB / 24.5 MB, free: 3.926 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.RealNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.312e-05, allocations: 2.281 kB / 378.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003221/0.003244, allocations: 1.822 MB / 380.7 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.004684, allocations: 0.6311 MB / 381.4 MB, free: 76 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.004788, allocations: 3.938 kB / 381.4 MB, free: 72 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.004932, allocations: 31.66 kB / 381.4 MB, free: 40 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.00509, allocations: 39.66 kB / 381.4 MB, free: 0 / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.195/0.2001, allocations: 74.31 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.2004, allocations: 211.4 kB / 381.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.2006, allocations: 58.08 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.2008, allocations: 91.09 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.201, allocations: 74.77 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.201, allocations: 12.03 kB / 382 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.2011, allocations: 25.33 kB / 382 MB, free: 13 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002367/0.2013, allocations: 345.2 kB / 382.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001147/0.2014, allocations: 232.2 kB / 382.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.2015, allocations: 12.41 kB / 382.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.112e-05/0.2015, allocations: 20.86 kB / 382.6 MB, free: 12.67 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: 34 (33) * Number of variables: 34 (29) Notification: Performance of [SIM] Bindings: time 0.0008097/0.2023, allocations: 0.8764 MB / 383.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000144/0.2025, allocations: 104.8 kB / 383.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004268/0.2029, allocations: 450.7 kB / 384 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001309/0.203, allocations: 130 kB / 384.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000767/0.2038, allocations: 0.5601 MB / 384.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001069/0.2039, allocations: 111.3 kB / 384.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.974e-05/0.204, allocations: 67.84 kB / 384.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002066/0.2042, allocations: 159.8 kB / 385 MB, free: 11.43 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001224/0.2043, allocations: 69.23 kB / 385.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002274/0.2045, allocations: 185.5 kB / 385.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0006814/0.2052, allocations: 439.9 kB / 385.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002873/0.2055, allocations: 334.4 kB / 386 MB, free: 11.18 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0003739/0.2059, allocations: 274.3 kB / 386.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004526/0.2063, allocations: 0.5202 MB / 386.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.446e-05/0.2064, allocations: 17.81 kB / 386.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 8.015e-05/0.2064, allocations: 77.83 kB / 386.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0007892/0.2072, allocations: 0.5569 MB / 387.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.133e-05/0.2072, allocations: 21.16 kB / 387.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.863e-06/0.2072, allocations: 1.375 kB / 387.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.152e-06/0.2073, allocations: 0 / 387.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 9.127e-06/0.2073, allocations: 16.97 kB / 387.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.003e-05/0.2073, allocations: 2.156 kB / 387.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002882/0.2076, allocations: 185.7 kB / 387.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.163e-06/0.2076, allocations: 0 / 387.7 MB, free: 10.41 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: .................... 2 (2) {booleanPulse2.pulseStart, booleanPulse1.pulseStart} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 12 (11) {booleanPulse1.y, multiSwitch.u, multiSwitch.firstActiveIndex, booleanPulse2.y, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $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: ........... 28 (scalar:28, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 36 (scalar:35, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 0.0001018/0.2077, allocations: 55.45 kB / 387.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of SimCode: time 0.0008803/0.2085, allocations: 0.6082 MB / 388.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Templates: time 0.01387/0.2224, allocations: 1.594 MB / 389.9 MB, free: 9.871 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.RealNetwork1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.497527617029846] Failed to read output from testmodel.py, exit status != 0: ['time', 'multiSwitch.u[1]', 'multiSwitch.u[2]'] 0.23221919126808643 0.24511212300000002 0.041060294000000004 Calling exit ...