Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001473/0.001473, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001582/0.001582, allocations: 211 kB / 24.55 MB, free: 3.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 207.7 MB / 235.4 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3123/0.3123, allocations: 49.61 MB / 337.3 MB, free: 3.84 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.426e-05, allocations: 6.219 kB / 477.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004347/0.004372, allocations: 2.881 MB / 480.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.006049, allocations: 0.8149 MB / 481.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.006228, allocations: 7.938 kB / 481.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.006406, allocations: 59.33 kB / 481.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.006785, allocations: 154.7 kB / 481.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.00705, allocations: 123.8 kB / 481.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.007699, allocations: 0.6075 MB / 482.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.00792, allocations: 86.28 kB / 482.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.008232, allocations: 247 kB / 482.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.008489, allocations: 202.9 kB / 482.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.00855, allocations: 36 kB / 482.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.008653, allocations: 36 kB / 482.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0007813/0.009434, allocations: 0.9666 MB / 483.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004159/0.00985, allocations: 0.6207 MB / 484.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.266e-05/0.009913, allocations: 40 kB / 484.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.135e-05/0.009974, allocations: 11.94 kB / 484.5 MB, free: 5.336 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 (77) * Number of variables: 77 (77) Notification: Performance of [SIM] Bindings: time 0.002062/0.01204, allocations: 2.121 MB / 486.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002624/0.0123, allocations: 215.5 kB / 486.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009169/0.01322, allocations: 0.9213 MB / 487.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003834/0.0136, allocations: 248.2 kB / 488 MB, free: 1.613 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.002765/0.01636, allocations: 1.813 MB / 489.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002914/0.01665, allocations: 210.5 kB / 490.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001108/0.01677, allocations: 93.61 kB / 490.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0003356/0.0171, allocations: 245 kB / 490.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of [SIM] Events: time 8.781e-05/0.01719, allocations: 35.97 kB / 490.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003081/0.0175, allocations: 236.9 kB / 490.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0006855/0.01818, allocations: 434.4 kB / 491.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004391/0.01862, allocations: 467.4 kB / 491.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.001061/0.01968, allocations: 0.6877 MB / 492.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0008658/0.02055, allocations: 0.9132 MB / 493.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 5.283e-05/0.0206, allocations: 32 kB / 493.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.0001225/0.02072, allocations: 147.8 kB / 493.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.001476/0.0222, allocations: 1.097 MB / 494.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 4.376e-05/0.02224, allocations: 43.94 kB / 494.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 1.092e-06/0.02224, allocations: 0 / 494.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003742/0.02262, allocations: 255.5 kB / 494.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.176e-06/0.02263, allocations: 3.938 kB / 494.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 2.529e-05/0.02265, allocations: 35.94 kB / 494.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.087e-05/0.02266, allocations: 8 kB / 494.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.002316/0.02498, allocations: 1.593 MB / 496.3 MB, free: 8.828 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0007829/0.02576, allocations: 0.6495 MB / 497 MB, free: 8.109 MB / 366.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: ............... 1 * Number of algebraic event partitions: ......... 0 * 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: ............................. 9 (9) {gen_a.theta, gen_a.omega_e_filt, gen_a.omega_m, gen_b.omega_e_filt, gen_b.theta, gen_b.omega_m, torqueGen_a.y, torque_b.tau, secondaryController.powerOffset} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (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: ........... 32 (scalar:32, array:0, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 73 (scalar:73, array:0, 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.0001602/0.02592, allocations: 42.38 kB / 497 MB, free: 8.066 MB / 366.1 MB Notification: Performance of SimCode: time 0.002046/0.02797, allocations: 1.438 MB / 498.5 MB, free: 6.594 MB / 366.1 MB Notification: Performance of Templates: time 0.00848/0.03645, allocations: 3.621 MB / 0.4903 GB, free: 2.977 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.106741335010156] Failed to read output from testmodel.py, exit status != 0: 0.04437923297518864 0.058098969 0.045171878000000006 Calling exit ...