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_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.00198/0.00198, 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.002601/0.002601, allocations: 217.2 kB / 24.49 MB, free: 3.93 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.523/1.523, 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.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.661e-05/3.661e-05, allocations: 2.281 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL): time 0.1887/0.1888, allocations: 4.721 MB / 383.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.192, allocations: 1.561 MB / 385.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004184/0.1924, allocations: 25.19 kB / 385.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.1929, allocations: 144.2 kB / 385.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006041/0.1935, allocations: 217.1 kB / 385.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.1945, allocations: 430.6 kB / 386 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.1962, allocations: 1.336 MB / 387.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005884/0.1968, allocations: 288.8 kB / 387.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006549/0.1974, allocations: 482.4 kB / 388.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.1979, allocations: 449.3 kB / 388.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.1981, allocations: 103.8 kB / 388.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.1983, allocations: 119.9 kB / 388.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001386/0.1997, allocations: 1.824 MB / 390.6 MB, free: 8.789 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007501/0.2005, allocations: 1.136 MB / 391.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.2006, allocations: 71.94 kB / 391.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002021/0.2008, allocations: 48.33 kB / 391.9 MB, free: 7.973 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: 177 (177) * Number of variables: 177 (173) Notification: Performance of [SIM] Bindings: time 0.004613/0.2054, allocations: 4.098 MB / 396 MB, free: 5.129 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007358/0.2062, allocations: 0.5032 MB / 396.5 MB, free: 4.82 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003162/0.2093, allocations: 2.611 MB / 399.1 MB, free: 3.227 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008956/0.2102, allocations: 476.1 kB / 399.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00592/0.2162, allocations: 3.666 MB / 403.2 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005619/0.2167, allocations: 353.1 kB / 403.6 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002267/0.217, allocations: 223.3 kB / 403.8 MB, free: 340 kB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0008956/0.2178, allocations: 0.5821 MB / 404.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0006097/0.2185, allocations: 356 kB / 404.7 MB, free: 15.59 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001271/0.2197, allocations: 0.86 MB / 405.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.002781/0.2225, allocations: 1.73 MB / 407.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00209/0.2246, allocations: 1.658 MB / 409 MB, free: 12.97 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002138/0.2267, allocations: 1.204 MB / 410.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.003392/0.2301, allocations: 2.795 MB / 413 MB, free: 9.875 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001488/0.2303, allocations: 58.97 kB / 413 MB, free: 9.836 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0007835/0.2311, allocations: 0.6247 MB / 413.6 MB, free: 9.305 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.01554/0.2466, allocations: 9.651 MB / 423.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.001434/0.248, allocations: 0.9726 MB / 424.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 2.184e-06/0.248, allocations: 0 / 424.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.853e-05/0.2481, allocations: 8.594 kB / 424.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0005232/0.2486, allocations: 332.9 kB / 424.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 2.721e-05/0.2486, allocations: 7.938 kB / 424.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.002008/0.2506, allocations: 1.188 MB / 425.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.001374/0.252, allocations: 1.073 MB / 426.9 MB, free: 12.04 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: ............................. 5 (5) {fundamentalWaveVoltage.mean1.x, fundamentalWaveVoltage.mean2.x, fundamentalWaveCurrent.mean1.x, fundamentalWaveCurrent.mean2.x, inductor.i} * 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: ........... 83 (scalar:83, 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: ........... 160 (scalar:160, 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: ........... 160 (scalar:160, 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.0001299/0.2521, allocations: 107.5 kB / 427 MB, free: 11.94 MB / 334.1 MB Notification: Performance of SimCode: time 0.004398/0.2565, allocations: 3.495 MB / 430.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of Templates: time 0.01687/0.2734, allocations: 9.112 MB / 439.6 MB, free: 15.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_RL/SinglePhaseTwoLevel_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,inductor.i,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,inverter.ac.v,inverter.ac.i Variables in the result:L,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,inductor.L,inductor.i,inductor.n.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,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.394893304910511]