Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.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.001523/0.001523, allocations: 109 kB / 21.99 MB, free: 4.551 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.001824/0.001824, allocations: 213.5 kB / 25.3 MB, free: 2.906 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.783/1.783, allocations: 207.7 MB / 236.2 MB, free: 9.746 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.463e-05, allocations: 2.281 kB / 348.5 MB, free: 9.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.008237/0.008261, allocations: 5.134 MB / 353.7 MB, free: 4.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003925/0.01219, allocations: 1.521 MB / 355.2 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006758/0.01286, allocations: 31.75 kB / 355.2 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.01331, allocations: 190.2 kB / 355.4 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006249/0.01393, allocations: 273.7 kB / 355.7 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008804/0.01481, allocations: 415.5 kB / 356.1 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.01661, allocations: 1.567 MB / 357.7 MB, free: 172 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007211/0.01733, allocations: 313.1 kB / 358 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007306/0.01806, allocations: 0.51 MB / 358.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.01859, allocations: 449.7 kB / 358.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.01878, allocations: 140 kB / 359 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.01901, allocations: 144 kB / 359.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002065/0.02107, allocations: 2.101 MB / 361.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001162/0.02224, allocations: 1.276 MB / 362.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.02242, allocations: 88 kB / 362.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002462/0.02266, allocations: 63.64 kB / 362.7 MB, free: 11.05 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: 216 (216) * Number of variables: 216 (216) Notification: Performance of [SIM] Bindings: time 0.005481/0.02815, allocations: 4.609 MB / 367.3 MB, free: 6.25 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007126/0.02886, allocations: 0.5777 MB / 367.9 MB, free: 5.645 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003211/0.03207, allocations: 2.676 MB / 370.6 MB, free: 2.926 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0009581/0.03303, allocations: 468.5 kB / 371 MB, free: 2.398 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.007229/0.04026, allocations: 4.467 MB / 375.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005625/0.04082, allocations: 320.9 kB / 375.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003364/0.04116, allocations: 228.1 kB / 376 MB, free: 12.87 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0008258/0.04198, allocations: 0.5908 MB / 376.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004967/0.04248, allocations: 311.2 kB / 376.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001261/0.04374, allocations: 0.9216 MB / 377.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.003741/0.04748, allocations: 2.013 MB / 379.9 MB, free: 8.828 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002434/0.04991, allocations: 1.78 MB / 381.6 MB, free: 7.047 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.003036/0.05295, allocations: 1.316 MB / 383 MB, free: 5.613 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.003364/0.05631, allocations: 2.748 MB / 385.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001722/0.05649, allocations: 68.05 kB / 385.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0007797/0.05727, allocations: 0.7104 MB / 386.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.2921/0.3494, allocations: 11.48 MB / 398 MB, free: 35.87 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.002564/0.352, allocations: 1.373 MB / 399.3 MB, free: 35.62 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 3.026e-06/0.352, allocations: 0 / 399.3 MB, free: 35.62 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0008636/0.3528, allocations: 0.4929 MB / 399.8 MB, free: 35.44 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.203e-05/0.3528, allocations: 3.844 kB / 399.8 MB, free: 35.44 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0008579/0.3537, allocations: 0.5562 MB / 400.4 MB, free: 35.32 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 3.055e-05/0.3537, allocations: 8.281 kB / 400.4 MB, free: 35.32 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.003681/0.3574, allocations: 2.138 MB / 402.5 MB, free: 35.14 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.00394/0.3614, allocations: 3.193 MB / 405.7 MB, free: 33.7 MB / 318.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: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {meanCurrent.x, meanVoltage.x} * Number of discrete states: .................... 6 (6) {meanVoltage.y, meanCurrent.y, signalPWM.sawtooth.T_start, signalPWM.sawtooth.count, signalPWM.zeroOrderHold.firstTrigger, signalPWM.zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 52 (52) {hbridge.enableLogic.internalEnable, hbridge.andCondition_p.u2, hbridge.andCondition_n.u2, hbridge.inverter_p.enableLogic.internalEnable, hbridge.inverter_p.andCondition_p.u2, hbridge.inverter_p.andCondition_p.y, hbridge.inverter_p.andCondition_n.u2, hbridge.inverter_p.andCondition_n.y, hbridge.inverter_p.fire_n, hbridge.inverter_p.transistor_p.off, hbridge.inverter_p.diode_p.off, hbridge.inverter_p.transistor_n.off, hbridge.inverter_p.diode_n.off, hbridge.inverter_n.enableLogic.internalEnable, hbridge.inverter_n.andCondition_p.u2, hbridge.inverter_n.andCondition_p.y, hbridge.inverter_n.andCondition_n.u2, hbridge.inverter_n.andCondition_n.y, hbridge.inverter_n.fire_n, hbridge.inverter_n.transistor_p.off, hbridge.inverter_n.diode_p.off, hbridge.inverter_n.transistor_n.off, hbridge.inverter_n.diode_n.off, signalPWM.fire, signalPWM.zeroOrderHold.sampleTrigger, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $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: ........... 73 (scalar:73, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 162 (scalar:162, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 162 (scalar:162, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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.0001925/0.3615, allocations: 115.3 kB / 405.8 MB, free: 33.62 MB / 318.1 MB Notification: Performance of SimCode: time 0.004539/0.3661, allocations: 4.148 MB / 410 MB, free: 31.69 MB / 318.1 MB Notification: Performance of Templates: time 0.01667/0.3828, allocations: 10.19 MB / 420.2 MB, free: 21.82 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.511930997017771] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanCurrent.y', 'meanVoltage.y', 'hbridge.dc_n1.v', 'hbridge.dc_n1.i', 'hbridge.dc_p1.v', 'hbridge.dc_p1.i', 'hbridge.dc_n2.v', 'hbridge.dc_n2.i', 'hbridge.dc_p2.v', 'hbridge.dc_p2.i'] 0.3916316810064018 0.401614884 0.37663286700000004 Calling exit ...