Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_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.001648/0.001648, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002001/0.002001, allocations: 216.8 kB / 24.5 MB, free: 3.926 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.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inverter.ac.v|inverter.ac.i|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inverter.ac.v|inverter.ac.i|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/2.937e-05, allocations: 5.234 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.2843/0.2844, allocations: 4.621 MB / 383.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004614/0.289, allocations: 1.544 MB / 385.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.2903, allocations: 24.88 kB / 385.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006832/0.291, allocations: 138.6 kB / 385.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009796/0.292, allocations: 219 kB / 385.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.2934, allocations: 415.8 kB / 385.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.2956, allocations: 1.32 MB / 387.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008091/0.2965, allocations: 278.4 kB / 387.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.2975, allocations: 476.1 kB / 388 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.2981, allocations: 437.7 kB / 388.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.2982, allocations: 104.8 kB / 388.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.2985, allocations: 114.3 kB / 388.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00115/0.2996, allocations: 1.773 MB / 390.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005283/0.3002, allocations: 1.112 MB / 391.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.3003, allocations: 70.44 kB / 391.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002078/0.3005, allocations: 51.16 kB / 391.6 MB, free: 8.078 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: 171 (171) * Number of variables: 171 (167) Notification: Performance of [SIM] Bindings: time 0.003373/0.3039, allocations: 4.008 MB / 395.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000546/0.3044, allocations: 0.5006 MB / 396.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002388/0.3068, allocations: 2.55 MB / 398.7 MB, free: 3.426 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006938/0.3075, allocations: 461.5 kB / 399.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.004741/0.3123, allocations: 3.552 MB / 402.7 MB, free: 1 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004315/0.3127, allocations: 329 kB / 403 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002267/0.3129, allocations: 226.1 kB / 403.2 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005726/0.3135, allocations: 0.5742 MB / 403.8 MB, free: 160 kB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004803/0.314, allocations: 352 kB / 404.1 MB, free: 15.94 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.00109/0.3151, allocations: 0.8558 MB / 405 MB, free: 15.32 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.002426/0.3175, allocations: 1.697 MB / 406.7 MB, free: 14.6 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001682/0.3192, allocations: 1.644 MB / 408.3 MB, free: 13.35 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002086/0.3212, allocations: 1.19 MB / 409.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.002894/0.3241, allocations: 2.748 MB / 412.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001444/0.3243, allocations: 63.86 kB / 412.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0006596/0.3249, allocations: 0.6158 MB / 413 MB, free: 9.73 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.01441/0.3394, allocations: 9.468 MB / 422.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.001979/0.3413, allocations: 0.9725 MB / 423.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 2.805e-06/0.3413, allocations: 0 / 423.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.687e-05/0.3414, allocations: 4.656 kB / 423.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0005845/0.342, allocations: 334.4 kB / 423.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 2.856e-05/0.342, allocations: 4 kB / 423.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.002295/0.3443, allocations: 1.18 MB / 424.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.001562/0.3458, allocations: 1.101 MB / 426 MB, free: 12.85 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: ......... 8 * 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: ............................. 4 (4) {fundamentalWaveVoltage.mean1.x, fundamentalWaveVoltage.mean2.x, fundamentalWaveCurrent.mean1.x, fundamentalWaveCurrent.mean2.x} * Number of discrete states: .................... 8 (8) {fundamentalWaveCurrent.mean2.y_last, fundamentalWaveCurrent.mean1.y_last, fundamentalWaveVoltage.mean2.y_last, fundamentalWaveVoltage.mean1.y_last, signalPWM.sawtooth.T_start, signalPWM.sawtooth.count, signalPWM.zeroOrderHold.firstTrigger, signalPWM.zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 39 (39) {inverter.enableLogic.internalEnable, inverter.andCondition_p.u2, inverter.andCondition_p.y, inverter.fire_p, inverter.andCondition_n.u2, inverter.andCondition_n.y, inverter.transistor_p.off, inverter.diode_p.off, inverter.transistor_n.off, inverter.diode_n.off, signalPWM.zeroOrderHold.sampleTrigger, $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_14, $TEV_13, $TEV_12, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $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: ........... 78 (scalar:78, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 153 (scalar:153, 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: ........... 153 (scalar:153, 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.0001582/0.346, allocations: 103.6 kB / 426.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of SimCode: time 0.005517/0.3515, allocations: 3.46 MB / 429.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of Templates: time 0.01818/0.3697, allocations: 9.141 MB / 438.7 MB, free: 172 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,inverter.ac.v,inverter.ac.i,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y Variables in the result:R,constantVoltage_n.V,constantVoltage_n.p.v,constantVoltage_n.v,constantVoltage_p.V,constantVoltage_p.n.v,constantVoltage_p.v,currentSensor.n.v,currentSensor.p.v,f,f1,fundamentalWaveCurrent.f,fundamentalWaveCurrent.gain.k,fundamentalWaveCurrent.k,fundamentalWaveCurrent.mean1.f,fundamentalWaveCurrent.mean1.t0,fundamentalWaveCurrent.mean1.x0,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.y0,fundamentalWaveCurrent.mean1.yGreaterOrEqualZero,fundamentalWaveCurrent.mean1.y_last,fundamentalWaveCurrent.mean2.f,fundamentalWaveCurrent.mean2.t0,fundamentalWaveCurrent.mean2.x0,fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y0,fundamentalWaveCurrent.mean2.yGreaterOrEqualZero,fundamentalWaveCurrent.mean2.y_last,fundamentalWaveCurrent.product1.significantDigits,fundamentalWaveCurrent.product2.significantDigits,fundamentalWaveCurrent.sin1.amplitude,fundamentalWaveCurrent.sin1.continuous,fundamentalWaveCurrent.sin1.f,fundamentalWaveCurrent.sin1.offset,fundamentalWaveCurrent.sin1.phase,fundamentalWaveCurrent.sin1.startTime,fundamentalWaveCurrent.sin2.amplitude,fundamentalWaveCurrent.sin2.continuous,fundamentalWaveCurrent.sin2.f,fundamentalWaveCurrent.sin2.offset,fundamentalWaveCurrent.sin2.phase,fundamentalWaveCurrent.sin2.startTime,fundamentalWaveCurrent.x0Cos,fundamentalWaveCurrent.x0Sin,fundamentalWaveCurrent.y0Cos,fundamentalWaveCurrent.y0Sin,fundamentalWaveVoltage.f,fundamentalWaveVoltage.gain.k,fundamentalWaveVoltage.k,fundamentalWaveVoltage.mean1.f,fundamentalWaveVoltage.mean1.t0,fundamentalWaveVoltage.mean1.x0,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.y0,fundamentalWaveVoltage.mean1.yGreaterOrEqualZero,fundamentalWaveVoltage.mean1.y_last,fundamentalWaveVoltage.mean2.f,fundamentalWaveVoltage.mean2.t0,fundamentalWaveVoltage.mean2.x0,fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y0,fundamentalWaveVoltage.mean2.yGreaterOrEqualZero,fundamentalWaveVoltage.mean2.y_last,fundamentalWaveVoltage.product1.significantDigits,fundamentalWaveVoltage.product2.significantDigits,fundamentalWaveVoltage.sin1.amplitude,fundamentalWaveVoltage.sin1.continuous,fundamentalWaveVoltage.sin1.f,fundamentalWaveVoltage.sin1.offset,fundamentalWaveVoltage.sin1.phase,fundamentalWaveVoltage.sin1.startTime,fundamentalWaveVoltage.sin2.amplitude,fundamentalWaveVoltage.sin2.continuous,fundamentalWaveVoltage.sin2.f,fundamentalWaveVoltage.sin2.offset,fundamentalWaveVoltage.sin2.phase,fundamentalWaveVoltage.sin2.startTime,fundamentalWaveVoltage.x0Cos,fundamentalWaveVoltage.x0Sin,fundamentalWaveVoltage.y0Cos,fundamentalWaveVoltage.y0Sin,ground.p.v,inverter.GoffDiode,inverter.GoffTransistor,inverter.RonDiode,inverter.RonTransistor,inverter.T,inverter.T_heatPort,inverter.VkneeDiode,inverter.VkneeTransistor,inverter.ac.i,inverter.ac.v,inverter.constantEnable,inverter.diode_n.Goff,inverter.diode_n.Ron,inverter.diode_n.T,inverter.diode_n.T_heatPort,inverter.diode_n.Vknee,inverter.diode_p.Goff,inverter.diode_p.Ron,inverter.diode_p.T,inverter.diode_p.T_heatPort,inverter.diode_p.Vknee,inverter.enableLogic.booleanReplicator.nout,inverter.enableLogic.booleanReplicator.u,inverter.enableLogic.constantEnable,inverter.enableLogic.enableConstantSource.k,inverter.enableLogic.enableConstantSource.y,inverter.enableLogic.m,inverter.enableLogic.useConstantEnable,inverter.iAC,inverter.m,inverter.transistor_n.Goff,inverter.transistor_n.Ron,inverter.transistor_n.T,inverter.transistor_n.T_heatPort,inverter.transistor_n.Vknee,inverter.transistor_p.Goff,inverter.transistor_p.Ron,inverter.transistor_p.T,inverter.transistor_p.T_heatPort,inverter.transistor_p.Vknee,inverter.useConstantEnable,inverter.vAC,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.n.v,signalPWM.commonComparison,signalPWM.constantDutyCycle,signalPWM.f,signalPWM.limiter.homotopyType,signalPWM.limiter.strict,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,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,time,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i [Calling sys.exit(0), Time elapsed: 5.149518148973584]