Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_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.001367/0.001367, 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.001473/0.001473, 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.451/1.451, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.729e-05, allocations: 2.281 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.1744/0.1745, allocations: 3.847 MB / 382.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1764, allocations: 1.093 MB / 383.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.1767, allocations: 16.59 kB / 383.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1769, allocations: 100.4 kB / 384 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.1772, allocations: 143.9 kB / 384.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.1777, allocations: 240 kB / 384.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007473/0.1785, allocations: 0.8181 MB / 385.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.1788, allocations: 183.7 kB / 385.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.1791, allocations: 290.2 kB / 385.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.1794, allocations: 283.8 kB / 386 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1795, allocations: 61.62 kB / 386 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1796, allocations: 61.31 kB / 386.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007586/0.1804, allocations: 1.137 MB / 387.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004645/0.1809, allocations: 0.7044 MB / 387.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.181, allocations: 47.59 kB / 388 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001106/0.1811, allocations: 24.58 kB / 388 MB, free: 10.44 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: 116 (116) * Number of variables: 116 (116) Notification: Performance of [SIM] Bindings: time 0.002108/0.1832, allocations: 2.598 MB / 390.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002982/0.1835, allocations: 303.9 kB / 390.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001255/0.1847, allocations: 1.367 MB / 392.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004904/0.1852, allocations: 346.5 kB / 392.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003002/0.1882, allocations: 2.36 MB / 395 MB, free: 6.008 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002953/0.1885, allocations: 240.4 kB / 395.2 MB, free: 5.848 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001394/0.1887, allocations: 151.5 kB / 395.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004179/0.1891, allocations: 376 kB / 395.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002673/0.1894, allocations: 200 kB / 395.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005398/0.1899, allocations: 0.5143 MB / 396.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001312/0.1912, allocations: 0.978 MB / 397.4 MB, free: 4.727 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008415/0.1921, allocations: 0.9584 MB / 398.4 MB, free: 4.211 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001149/0.1932, allocations: 0.8169 MB / 399.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001099/0.1943, allocations: 1.376 MB / 400.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.704e-05/0.1944, allocations: 48.36 kB / 400.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002536/0.1946, allocations: 373.2 kB / 401 MB, free: 2.66 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.006855/0.2015, allocations: 5.722 MB / 406.7 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.000557/0.202, allocations: 0.5382 MB / 407.2 MB, free: 288 kB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.72e-07/0.202, allocations: 0 / 407.2 MB, free: 288 kB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.198e-05/0.2021, allocations: 448 / 407.2 MB, free: 288 kB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001943/0.2023, allocations: 198.8 kB / 407.4 MB, free: 96 kB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.401e-05/0.2023, allocations: 3.938 kB / 407.4 MB, free: 92 kB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001115/0.2034, allocations: 0.6873 MB / 408.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008688/0.2043, allocations: 0.7725 MB / 408.9 MB, free: 14.55 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: ............................. 4 (4) {meanCurrent.x, meanVoltage.x, chopperStepUp.iDC1, capacitor.v} * 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) {chopperStepUp.enableLogic.internalEnable, chopperStepUp.andCondition_p.u2, chopperStepUp.andCondition_p.y, chopperStepUp.fire_p, chopperStepUp.transistor.off, chopperStepUp.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: ........... 50 (scalar:50, 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: ........... 103 (scalar:103, 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: ........... 103 (scalar:103, 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.0001633/0.2044, allocations: 77.95 kB / 409 MB, free: 14.47 MB / 318.1 MB Notification: Performance of SimCode: time 0.00228/0.2067, allocations: 2.04 MB / 411 MB, free: 12.38 MB / 318.1 MB Notification: Performance of Templates: time 0.03336/0.2401, allocations: 5.647 MB / 416.6 MB, free: 6.773 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference:time,capacitor.v,inductor.i,meanCurrent.x,meanVoltage.x,meanCurrent.y,meanVoltage.y,chopperStepUp.vDC1,chopperStepUp.iDC1,chopperStepUp.vDC2,chopperStepUp.iDC2 Variables in the result:C,ILoad,L,RLoad,V0,Vsource,adaptor.VLim,adaptor.reciprocal,adaptor.useBipolarVoltage,adaptor.useConstantVoltageLimit,adaptor.vLimConst.k,adaptor.vLimConst.y,adaptor.vLimInt,capacitor.C,capacitor.n.v,capacitor.v,chopperStepUp.GoffDiode,chopperStepUp.GoffTransistor,chopperStepUp.RonDiode,chopperStepUp.RonTransistor,chopperStepUp.T,chopperStepUp.T_heatPort,chopperStepUp.VkneeDiode,chopperStepUp.VkneeTransistor,chopperStepUp.constantEnable,chopperStepUp.dc_n1.v,chopperStepUp.dc_n2.v,chopperStepUp.diode.Goff,chopperStepUp.diode.Ron,chopperStepUp.diode.T,chopperStepUp.diode.T_heatPort,chopperStepUp.diode.Vknee,chopperStepUp.enableLogic.booleanReplicator.nout,chopperStepUp.enableLogic.booleanReplicator.u,chopperStepUp.enableLogic.constantEnable,chopperStepUp.enableLogic.enableConstantSource.k,chopperStepUp.enableLogic.enableConstantSource.y,chopperStepUp.enableLogic.m,chopperStepUp.enableLogic.useConstantEnable,chopperStepUp.iDC1,chopperStepUp.iDC2,chopperStepUp.m,chopperStepUp.transistor.Goff,chopperStepUp.transistor.Ron,chopperStepUp.transistor.T,chopperStepUp.transistor.T_heatPort,chopperStepUp.transistor.Vknee,chopperStepUp.transistor.n.v,chopperStepUp.useConstantEnable,chopperStepUp.vDC1,chopperStepUp.vDC2,constantVoltage.V,constantVoltage.n.v,constantVoltage.v,currentSensor.n.v,currentSensor.p.v,dutyCycle,f,ground.p.v,inductor.L,inductor.i,loadResistor.R,loadResistor.T,loadResistor.T_heatPort,loadResistor.T_ref,loadResistor.alpha,loadResistor.n.v,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.6900379583239555]