Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.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.00203/0.00203, allocations: 107.6 kB / 21.2 MB, free: 0.668 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.002214/0.002214, allocations: 211.5 kB / 24.49 MB, free: 3.973 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.531/1.531, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|inductor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|inductor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.572e-05, allocations: 2.281 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL): time 0.1723/0.1724, allocations: 5.516 MB / 384.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.1755, allocations: 1.635 MB / 386.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.176, allocations: 32.84 kB / 386.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.1764, allocations: 199.5 kB / 386.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.177, allocations: 293.2 kB / 386.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.1779, allocations: 433.8 kB / 387.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.1794, allocations: 1.633 MB / 388.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006207/0.18, allocations: 360.3 kB / 389 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005566/0.1806, allocations: 0.5306 MB / 389.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.1811, allocations: 0.5182 MB / 390.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.1813, allocations: 151.8 kB / 390.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.1816, allocations: 149.6 kB / 390.4 MB, free: 8.98 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001402/0.183, allocations: 2.188 MB / 392.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007884/0.1838, allocations: 1.34 MB / 393.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.184, allocations: 94.47 kB / 394 MB, free: 6.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002118/0.1842, allocations: 53.81 kB / 394.1 MB, free: 6.484 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: 228 (228) * Number of variables: 228 (228) Notification: Performance of [SIM] Bindings: time 0.003882/0.1881, allocations: 4.819 MB / 398.9 MB, free: 3.141 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005834/0.1886, allocations: 0.6018 MB / 399.5 MB, free: 2.73 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002392/0.191, allocations: 2.786 MB / 402.3 MB, free: 0.918 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008606/0.1919, allocations: 0.5259 MB / 402.8 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.006951/0.1988, allocations: 4.623 MB / 407.4 MB, free: 13.71 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005131/0.1994, allocations: 359.7 kB / 407.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002668/0.1996, allocations: 238.3 kB / 408 MB, free: 13.25 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0007734/0.2004, allocations: 0.6319 MB / 408.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004195/0.2008, allocations: 283.1 kB / 408.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001098/0.2019, allocations: 0.9492 MB / 409.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.002725/0.2046, allocations: 2.036 MB / 411.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002211/0.2069, allocations: 1.829 MB / 413.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002354/0.2092, allocations: 1.418 MB / 415.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.002842/0.212, allocations: 2.799 MB / 417.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001575/0.2122, allocations: 68.05 kB / 418 MB, free: 5.086 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0007608/0.213, allocations: 0.726 MB / 418.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.01734/0.2303, allocations: 11.9 MB / 430.6 MB, free: 8.289 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.002496/0.2328, allocations: 1.912 MB / 432.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 2.034e-06/0.2328, allocations: 0 / 432.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.251e-05/0.2328, allocations: 0.6562 kB / 432.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.001024/0.2339, allocations: 0.6608 MB / 433.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 2.051e-05/0.2339, allocations: 4 kB / 433.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.002067/0.2359, allocations: 1.314 MB / 434.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.002153/0.2381, allocations: 1.742 MB / 436.3 MB, free: 2.539 MB / 334.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: ............................. 3 (3) {meanCurrent.x, meanVoltage.x, inductor.i} * 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.fire_p, hbridge.inverter_p.andCondition_n.u2, hbridge.inverter_p.andCondition_n.y, 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.fire_p, hbridge.inverter_n.andCondition_n.u2, hbridge.inverter_n.andCondition_n.y, 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: ........... 79 (scalar:79, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 170 (scalar:170, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 170 (scalar:170, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.0001539/0.2382, allocations: 110.3 kB / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of SimCode: time 0.005285/0.2435, allocations: 4.797 MB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of Templates: time 0.02187/0.2654, allocations: 11.22 MB / 452.4 MB, free: 2.402 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_RL/HBridge_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,hbridge.vDC1,hbridge.iDC1,hbridge.vDC2,hbridge.iDC2,meanCurrent.y,meanVoltage.y,inductor.i Variables in the result:L,R,constantVoltage.V,constantVoltage.n.v,constantVoltage.v,f,ground.p.v,hbridge.GoffDiode,hbridge.GoffTransistor,hbridge.RonDiode,hbridge.RonTransistor,hbridge.T,hbridge.T_heatPort,hbridge.VkneeDiode,hbridge.VkneeTransistor,hbridge.constantEnable,hbridge.dc_n1.v,hbridge.enableLogic.booleanReplicator.nout,hbridge.enableLogic.booleanReplicator.u,hbridge.enableLogic.constantEnable,hbridge.enableLogic.enableConstantSource.k,hbridge.enableLogic.enableConstantSource.y,hbridge.enableLogic.m,hbridge.enableLogic.useConstantEnable,hbridge.iDC1,hbridge.iDC2,hbridge.inverter_n.GoffDiode,hbridge.inverter_n.GoffTransistor,hbridge.inverter_n.RonDiode,hbridge.inverter_n.RonTransistor,hbridge.inverter_n.T,hbridge.inverter_n.T_heatPort,hbridge.inverter_n.VkneeDiode,hbridge.inverter_n.VkneeTransistor,hbridge.inverter_n.constantEnable,hbridge.inverter_n.dc_n.v,hbridge.inverter_n.diode_n.Goff,hbridge.inverter_n.diode_n.Ron,hbridge.inverter_n.diode_n.T,hbridge.inverter_n.diode_n.T_heatPort,hbridge.inverter_n.diode_n.Vknee,hbridge.inverter_n.diode_n.p.v,hbridge.inverter_n.diode_p.Goff,hbridge.inverter_n.diode_p.Ron,hbridge.inverter_n.diode_p.T,hbridge.inverter_n.diode_p.T_heatPort,hbridge.inverter_n.diode_p.Vknee,hbridge.inverter_n.enableLogic.booleanReplicator.nout,hbridge.inverter_n.enableLogic.booleanReplicator.u,hbridge.inverter_n.enableLogic.constantEnable,hbridge.inverter_n.enableLogic.enableConstantSource.k,hbridge.inverter_n.enableLogic.enableConstantSource.y,hbridge.inverter_n.enableLogic.m,hbridge.inverter_n.enableLogic.useConstantEnable,hbridge.inverter_n.m,hbridge.inverter_n.transistor_n.Goff,hbridge.inverter_n.transistor_n.Ron,hbridge.inverter_n.transistor_n.T,hbridge.inverter_n.transistor_n.T_heatPort,hbridge.inverter_n.transistor_n.Vknee,hbridge.inverter_n.transistor_n.n.v,hbridge.inverter_n.transistor_p.Goff,hbridge.inverter_n.transistor_p.Ron,hbridge.inverter_n.transistor_p.T,hbridge.inverter_n.transistor_p.T_heatPort,hbridge.inverter_n.transistor_p.Vknee,hbridge.inverter_n.useConstantEnable,hbridge.inverter_p.GoffDiode,hbridge.inverter_p.GoffTransistor,hbridge.inverter_p.RonDiode,hbridge.inverter_p.RonTransistor,hbridge.inverter_p.T,hbridge.inverter_p.T_heatPort,hbridge.inverter_p.VkneeDiode,hbridge.inverter_p.VkneeTransistor,hbridge.inverter_p.constantEnable,hbridge.inverter_p.dc_n.v,hbridge.inverter_p.diode_n.Goff,hbridge.inverter_p.diode_n.Ron,hbridge.inverter_p.diode_n.T,hbridge.inverter_p.diode_n.T_heatPort,hbridge.inverter_p.diode_n.Vknee,hbridge.inverter_p.diode_n.p.v,hbridge.inverter_p.diode_p.Goff,hbridge.inverter_p.diode_p.Ron,hbridge.inverter_p.diode_p.T,hbridge.inverter_p.diode_p.T_heatPort,hbridge.inverter_p.diode_p.Vknee,hbridge.inverter_p.enableLogic.booleanReplicator.nout,hbridge.inverter_p.enableLogic.booleanReplicator.u,hbridge.inverter_p.enableLogic.constantEnable,hbridge.inverter_p.enableLogic.enableConstantSource.k,hbridge.inverter_p.enableLogic.enableConstantSource.y,hbridge.inverter_p.enableLogic.m,hbridge.inverter_p.enableLogic.useConstantEnable,hbridge.inverter_p.m,hbridge.inverter_p.transistor_n.Goff,hbridge.inverter_p.transistor_n.Ron,hbridge.inverter_p.transistor_n.T,hbridge.inverter_p.transistor_n.T_heatPort,hbridge.inverter_p.transistor_n.Vknee,hbridge.inverter_p.transistor_n.n.v,hbridge.inverter_p.transistor_p.Goff,hbridge.inverter_p.transistor_p.Ron,hbridge.inverter_p.transistor_p.T,hbridge.inverter_p.transistor_p.T_heatPort,hbridge.inverter_p.transistor_p.Vknee,hbridge.inverter_p.useConstantEnable,hbridge.m,hbridge.useConstantEnable,hbridge.vDC1,hbridge.vDC2,inductor.L,inductor.i,meanCurrent.f,meanCurrent.t0,meanCurrent.x0,meanCurrent.y,meanCurrent.y,meanCurrent.y0,meanCurrent.yGreaterOrEqualZero,meanVoltage.f,meanVoltage.t0,meanVoltage.x0,meanVoltage.y,meanVoltage.y,meanVoltage.y0,meanVoltage.yGreaterOrEqualZero,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,signalPWM.commonComparison,signalPWM.const.k,signalPWM.const.y,signalPWM.constantDutyCycle,signalPWM.f,signalPWM.limiter.homotopyType,signalPWM.limiter.simplifiedExpr,signalPWM.limiter.strict,signalPWM.limiter.u,signalPWM.limiter.uMax,signalPWM.limiter.uMin,signalPWM.refType,signalPWM.sawtooth.amplitude,signalPWM.sawtooth.nperiod,signalPWM.sawtooth.offset,signalPWM.sawtooth.period,signalPWM.sawtooth.startTime,signalPWM.startTime,signalPWM.useConstantDutyCycle,signalPWM.zeroOrderHold.samplePeriod,signalPWM.zeroOrderHold.startTime,time,voltageSensor.n.i,voltageSensor.p.i [Calling sys.exit(0), Time elapsed: 6.1317091840319335]