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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 108.6 kB / 21.08 MB, free: 0.8594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 190.2 kB / 24.34 MB, free: 4.25 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.155/1.155, allocations: 207.6 MB / 235.1 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2451/0.2451, allocations: 49.57 MB / 336.9 MB, free: 4.164 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 1.4e-05/1.4e-05, allocations: 6.219 kB / 477.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.003926/0.00394, allocations: 3.148 MB / 480.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.00538, allocations: 0.8421 MB / 481.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.005573, allocations: 7.938 kB / 481.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.005751, allocations: 71.25 kB / 481.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.006122, allocations: 158.7 kB / 481.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.006379, allocations: 119.8 kB / 481.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000615/0.006994, allocations: 0.6153 MB / 482.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.007202, allocations: 94.22 kB / 482.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.007506, allocations: 235.1 kB / 482.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.007778, allocations: 222.9 kB / 482.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.007835, allocations: 32 kB / 482.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.00793, allocations: 48 kB / 482.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0007273/0.008657, allocations: 0.9627 MB / 483.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004131/0.009071, allocations: 0.6129 MB / 484.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/0.009163, allocations: 83.69 kB / 484.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.307e-05/0.009216, allocations: 19.88 kB / 484.4 MB, free: 5.344 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 Bindings: time 0.001893/0.01111, allocations: 2.109 MB / 486.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002463/0.01135, allocations: 195.5 kB / 486.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0008593/0.01221, allocations: 0.9174 MB / 487.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of Simplify 1: time 0.0002669/0.01248, allocations: 216.2 kB / 487.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Alias: time 0.002681/0.01516, allocations: 1.818 MB / 489.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.0002906/0.01545, allocations: 141.9 kB / 489.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Remove Stream: time 0.0001683/0.01562, allocations: 93.69 kB / 489.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Detect States: time 0.0004659/0.01609, allocations: 245.2 kB / 490.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Events: time 9.191e-05/0.01618, allocations: 31.92 kB / 490.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0003514/0.01653, allocations: 201 kB / 490.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of Causalize: time 0.001062/0.01759, allocations: 0.5455 MB / 490.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004346/0.01803, allocations: 439.4 kB / 491.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of Simplify: time 0.0008865/0.01891, allocations: 0.6292 MB / 492 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Inline: time 0.0008752/0.01979, allocations: 0.8936 MB / 492.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of Partitioning: time 4.989e-05/0.01984, allocations: 32 kB / 492.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0001397/0.01998, allocations: 147.8 kB / 493 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Causalize: time 0.001766/0.02174, allocations: 1.385 MB / 494.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of Tearing: time 2.228e-05/0.02177, allocations: 24 kB / 494.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of Initialization: time 5.21e-07/0.02177, allocations: 0 / 494.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of Remove Dummies: time 4.278e-06/0.02177, allocations: 0 / 494.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of Tearing: time 6.823e-06/0.02178, allocations: 12 kB / 494.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Categorize: time 5.24e-06/0.02178, allocations: 3.938 kB / 494.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Solve: time 0.0009679/0.02275, allocations: 0.748 MB / 495.2 MB, free: 9.852 MB / 366.1 MB Notification: Performance of Jacobian: time 0.000378/0.02313, allocations: 353.4 kB / 495.5 MB, free: 9.469 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 5.007e-05/0.02318, allocations: 38.98 kB / 495.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of SimCode: time 0.001613/0.02479, allocations: 1.896 MB / 497.5 MB, free: 7.508 MB / 366.1 MB Notification: Performance of Templates: time 0.006867/0.03166, allocations: 3.384 MB / 0.4891 GB, free: 4.121 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 sys.exit(0), Time elapsed: 4.010104177519679] Failed to read output from testmodel.py, exit status != 0: 0.038262274116277695 0.050753094000000006 0.038964518000000004 Calling exit ...