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_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.001709/0.001709, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001712/0.001712, allocations: 205.2 kB / 24.49 MB, free: 3.961 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.789 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y",fileNamePrefix="Modelica_4.1.0_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|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.026e-05, allocations: 2.281 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.1946/0.1946, allocations: 5.42 MB / 384.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1972, allocations: 1.624 MB / 386 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.1976, allocations: 31.28 kB / 386 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.198, allocations: 201.7 kB / 386.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.1985, allocations: 281.6 kB / 386.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.1993, allocations: 432.3 kB / 386.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.2007, allocations: 1.606 MB / 388.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005616/0.2012, allocations: 352.7 kB / 388.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004777/0.2017, allocations: 0.5161 MB / 389.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004533/0.2022, allocations: 0.5154 MB / 389.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.2023, allocations: 143.9 kB / 390.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.2025, allocations: 145.2 kB / 390.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00119/0.2037, allocations: 2.144 MB / 392.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005635/0.2043, allocations: 1.314 MB / 393.7 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.2044, allocations: 89.84 kB / 393.7 MB, free: 6.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001568/0.2046, allocations: 57.45 kB / 393.8 MB, free: 6.664 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: 222 (222) * Number of variables: 222 (222) Notification: Performance of [SIM] Bindings: time 0.003489/0.2081, allocations: 4.685 MB / 398.5 MB, free: 3.406 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005336/0.2086, allocations: 0.6002 MB / 399.1 MB, free: 2.992 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002248/0.2109, allocations: 2.731 MB / 401.8 MB, free: 1.215 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007982/0.2117, allocations: 0.5201 MB / 402.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00595/0.2176, allocations: 4.494 MB / 406.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004991/0.2181, allocations: 351.1 kB / 407.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002656/0.2184, allocations: 238 kB / 407.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.00075/0.2191, allocations: 0.59 MB / 408 MB, free: 13.12 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004579/0.2196, allocations: 298.6 kB / 408.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001099/0.2207, allocations: 0.9279 MB / 409.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.002606/0.2233, allocations: 2.027 MB / 411.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001738/0.225, allocations: 1.812 MB / 413.1 MB, free: 10 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002195/0.2272, allocations: 1.409 MB / 414.5 MB, free: 8.652 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.00277/0.23, allocations: 2.756 MB / 417.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001468/0.2302, allocations: 72.03 kB / 417.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0006567/0.2308, allocations: 0.7104 MB / 418 MB, free: 5.082 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.01641/0.2472, allocations: 11.72 MB / 429.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.00178/0.249, allocations: 1.392 MB / 431.1 MB, free: 7.832 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.934e-06/0.249, allocations: 0 / 431.1 MB, free: 7.832 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.262e-05/0.249, allocations: 4.656 kB / 431.1 MB, free: 7.828 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0008165/0.2498, allocations: 0.5239 MB / 431.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 2.785e-05/0.2499, allocations: 4 kB / 431.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.001938/0.2518, allocations: 1.266 MB / 432.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.002098/0.2539, allocations: 1.602 MB / 434.5 MB, free: 4.352 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: ............................. 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.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: ........... 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.0001368/0.254, allocations: 113.9 kB / 434.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of SimCode: time 0.005078/0.2591, allocations: 4.771 MB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Templates: time 0.0217/0.2808, allocations: 11.22 MB / 450.6 MB, free: 4.246 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_R/HBridge_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.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 Variables in the result: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,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: 5.445772548671812]