Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_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.001899/0.001899, 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.001821/0.001821, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.449/1.449, allocations: 230.6 MB / 258.3 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.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/2.985e-05, allocations: 2.281 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.2067/0.2067, allocations: 3.941 MB / 382.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.2087, allocations: 1.101 MB / 384 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.209, allocations: 22.03 kB / 384 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.2093, allocations: 105.5 kB / 384.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.2096, allocations: 153.5 kB / 384.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.2102, allocations: 245.7 kB / 384.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008045/0.211, allocations: 0.8496 MB / 385.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/0.2113, allocations: 183.8 kB / 385.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.2116, allocations: 299.9 kB / 385.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.212, allocations: 288.8 kB / 386.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.2121, allocations: 63.56 kB / 386.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.2122, allocations: 64.44 kB / 386.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007182/0.2129, allocations: 1.176 MB / 387.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003413/0.2133, allocations: 0.7357 MB / 388.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.2134, allocations: 51.06 kB / 388.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001094/0.2135, allocations: 31.06 kB / 388.3 MB, free: 10.25 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: 122 (122) * Number of variables: 122 (122) Notification: Performance of [SIM] Bindings: time 0.002137/0.2156, allocations: 2.696 MB / 391 MB, free: 8.375 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003164/0.2159, allocations: 313.7 kB / 391.3 MB, free: 8.176 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001298/0.2172, allocations: 1.43 MB / 392.7 MB, free: 7.309 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005335/0.2178, allocations: 357.5 kB / 393 MB, free: 7.102 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003153/0.2209, allocations: 2.485 MB / 395.5 MB, free: 5.633 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003045/0.2212, allocations: 236.4 kB / 395.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001413/0.2214, allocations: 152.8 kB / 395.9 MB, free: 5.363 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004595/0.2218, allocations: 399.3 kB / 396.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002749/0.2221, allocations: 206 kB / 396.5 MB, free: 4.973 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005612/0.2226, allocations: 0.5242 MB / 397 MB, free: 4.672 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001367/0.224, allocations: 0.9904 MB / 398 MB, free: 4.34 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009131/0.2249, allocations: 0.9737 MB / 399 MB, free: 3.816 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001108/0.226, allocations: 0.8227 MB / 399.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001111/0.2271, allocations: 1.413 MB / 401.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.962e-05/0.2272, allocations: 42.94 kB / 401.3 MB, free: 2.469 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002428/0.2275, allocations: 383.2 kB / 401.6 MB, free: 2.152 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.007384/0.2349, allocations: 5.866 MB / 407.5 MB, free: 15.91 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0007672/0.2356, allocations: 0.5604 MB / 408.1 MB, free: 15.36 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.272e-06/0.2356, allocations: 4 kB / 408.1 MB, free: 15.36 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.923e-05/0.2356, allocations: 8.438 kB / 408.1 MB, free: 15.35 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0003067/0.2359, allocations: 181.8 kB / 408.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 3.337e-05/0.236, allocations: 15.92 kB / 408.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001201/0.2372, allocations: 0.7225 MB / 409 MB, free: 14.44 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.0009623/0.2381, allocations: 0.7787 MB / 409.8 MB, free: 13.58 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: ............................. 5 (5) {chopperStepDown.iDC2, meanCurrent.x, meanVoltage.x, capacitor.v, loadInductor.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: ................. 25 (25) {chopperStepDown.enableLogic.internalEnable, chopperStepDown.andCondition_p.u2, chopperStepDown.andCondition_p.y, chopperStepDown.fire_p, chopperStepDown.transistor.off, chopperStepDown.diode.off, signalPWM.zeroOrderHold.sampleTrigger, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 52 (scalar:52, 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: ........... 106 (scalar:106, 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: ........... 106 (scalar:106, 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.0001088/0.2383, allocations: 79.73 kB / 409.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of SimCode: time 0.002659/0.2409, allocations: 2.122 MB / 412 MB, free: 11.32 MB / 318.1 MB Notification: Performance of Templates: time 0.01826/0.2592, allocations: 5.769 MB / 417.7 MB, free: 5.625 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_RL/ChopperStepDown_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,inductor.i,meanCurrent.x,meanVoltage.x,meanCurrent.y,meanVoltage.y,chopperStepDown.vDC1,chopperStepDown.iDC1,chopperStepDown.vDC2,chopperStepDown.iDC2 Variables in the result:C,ILoad,L,LLoad,RLoad,V0,Vsource,adaptor.VLim,adaptor.reciprocal,adaptor.useBipolarVoltage,adaptor.useConstantVoltageLimit,adaptor.vLimConst.k,adaptor.vLimConst.y,adaptor.vLimInt,capacitor.C,capacitor.n.v,chopperStepDown.GoffDiode,chopperStepDown.GoffTransistor,chopperStepDown.RonDiode,chopperStepDown.RonTransistor,chopperStepDown.T,chopperStepDown.T_heatPort,chopperStepDown.VkneeDiode,chopperStepDown.VkneeTransistor,chopperStepDown.constantEnable,chopperStepDown.dc_n1.v,chopperStepDown.dc_n2.v,chopperStepDown.diode.Goff,chopperStepDown.diode.Ron,chopperStepDown.diode.T,chopperStepDown.diode.T_heatPort,chopperStepDown.diode.Vknee,chopperStepDown.diode.p.v,chopperStepDown.enableLogic.booleanReplicator.nout,chopperStepDown.enableLogic.booleanReplicator.u,chopperStepDown.enableLogic.constantEnable,chopperStepDown.enableLogic.enableConstantSource.k,chopperStepDown.enableLogic.enableConstantSource.y,chopperStepDown.enableLogic.m,chopperStepDown.enableLogic.useConstantEnable,chopperStepDown.iDC1,chopperStepDown.iDC2,chopperStepDown.m,chopperStepDown.transistor.Goff,chopperStepDown.transistor.Ron,chopperStepDown.transistor.T,chopperStepDown.transistor.T_heatPort,chopperStepDown.transistor.Vknee,chopperStepDown.useConstantEnable,chopperStepDown.vDC1,chopperStepDown.vDC2,constantVoltage.V,constantVoltage.n.v,constantVoltage.v,currentSensor.n.v,currentSensor.p.v,dutyCycle,f,ground.p.v,inductor.L,inductor.i,loadInductor.L,loadInductor.n.v,loadResistor.R,loadResistor.T,loadResistor.T_heatPort,loadResistor.T_ref,loadResistor.alpha,meanCurrent.f,meanCurrent.t0,meanCurrent.x,meanCurrent.x0,meanCurrent.y,meanCurrent.y,meanCurrent.y0,meanCurrent.yGreaterOrEqualZero,meanVoltage.f,meanVoltage.t0,meanVoltage.x,meanVoltage.x0,meanVoltage.y,meanVoltage.y,meanVoltage.y0,meanVoltage.yGreaterOrEqualZero,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,time,vRef.duration,vRef.height,vRef.offset,vRef.startTime,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i [Calling sys.exit(0), Time elapsed: 5.47057829098776]