Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.001714/0.001714, 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.002125/0.002125, 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.785/1.785, allocations: 207.7 MB / 235.4 MB, free: 9.75 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.3534/0.3534, allocations: 49.61 MB / 337.3 MB, free: 3.832 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.205e-05, allocations: 2.281 kB / 477.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004524/0.004556, allocations: 2.732 MB / 480.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.006101, allocations: 0.7839 MB / 481.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.00625, allocations: 7.938 kB / 481.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.006422, allocations: 59.33 kB / 481.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.006803, allocations: 146.8 kB / 481.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.007058, allocations: 111.8 kB / 481.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.00766, allocations: 0.5686 MB / 482.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.007872, allocations: 80.7 kB / 482.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.008197, allocations: 223.1 kB / 482.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.008446, allocations: 190.9 kB / 482.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-05/0.008504, allocations: 32 kB / 482.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.008599, allocations: 36 kB / 482.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0007625/0.009361, allocations: 0.893 MB / 483.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004078/0.009769, allocations: 0.5744 MB / 484.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.00983, allocations: 40 kB / 484.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.068e-05/0.009881, allocations: 15.88 kB / 484.1 MB, free: 5.727 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: 72 (72) * Number of variables: 72 (72) Notification: Performance of [SIM] Bindings: time 0.002269/0.01215, allocations: 1.993 MB / 486.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002581/0.01241, allocations: 199.7 kB / 486.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009109/0.01332, allocations: 0.8588 MB / 487.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003707/0.01369, allocations: 232.3 kB / 487.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.002567/0.01626, allocations: 1.684 MB / 489.1 MB, free: 344 kB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002503/0.01651, allocations: 186.5 kB / 489.3 MB, free: 112 kB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001086/0.01662, allocations: 85.62 kB / 489.4 MB, free: 16 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0003621/0.01698, allocations: 240.7 kB / 489.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of [SIM] Events: time 8.494e-05/0.01706, allocations: 43.77 kB / 489.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.000274/0.01734, allocations: 220 kB / 489.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0005433/0.01788, allocations: 406.5 kB / 490.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003943/0.01827, allocations: 423.5 kB / 490.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0009678/0.01924, allocations: 0.6174 MB / 491.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0008506/0.02009, allocations: 0.8584 MB / 492.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 5.669e-05/0.02015, allocations: 40 kB / 492.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.0001202/0.02027, allocations: 123.9 kB / 492.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.001536/0.0218, allocations: 1.047 MB / 493.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 0.0001691/0.02197, allocations: 115.9 kB / 493.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 7.91e-07/0.02197, allocations: 0 / 493.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003519/0.02233, allocations: 235.7 kB / 493.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.538e-06/0.02234, allocations: 8 kB / 493.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 2.315e-05/0.02236, allocations: 28 kB / 493.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 8.256e-06/0.02237, allocations: 0 / 493.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.00174/0.02411, allocations: 1.173 MB / 494.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.001408/0.02552, allocations: 1.215 MB / 496.1 MB, free: 8.949 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: ............................. 8 (8) {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} * 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: ........... 30 (scalar:30, 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: ........... 58 (scalar:58, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001249/0.02564, allocations: 40.19 kB / 496.2 MB, free: 8.914 MB / 366.1 MB Notification: Performance of SimCode: time 0.001924/0.02756, allocations: 1.398 MB / 497.6 MB, free: 7.492 MB / 366.1 MB Notification: Performance of Templates: time 0.008267/0.03583, allocations: 3.467 MB / 0.4893 GB, free: 4.023 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.387571466038935] Failed to read output from testmodel.py, exit status != 0: 0.04414432100020349 0.05866549200000001 0.045756805000000005 Calling exit ...