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_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.001256/0.001256, 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.00132/0.00132, 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.486/1.486, 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.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/2.994e-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_R): time 0.243/0.243, allocations: 3.856 MB / 382.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.2456, allocations: 1.092 MB / 383.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.246, allocations: 12.66 kB / 383.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.2463, allocations: 100.4 kB / 384 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.2467, allocations: 144.4 kB / 384.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.2478, allocations: 239.2 kB / 384.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.2492, allocations: 0.8242 MB / 385.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005347/0.2498, allocations: 180.1 kB / 385.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005126/0.2503, allocations: 283.1 kB / 385.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004651/0.2508, allocations: 279.7 kB / 386 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.2509, allocations: 61.56 kB / 386 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.2511, allocations: 64.12 kB / 386.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009918/0.252, allocations: 1.136 MB / 387.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004086/0.2525, allocations: 0.7086 MB / 387.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2526, allocations: 49.22 kB / 388 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001615/0.2527, allocations: 23.06 kB / 388 MB, free: 10.4 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.002613/0.2553, allocations: 2.591 MB / 390.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003405/0.2557, allocations: 306.2 kB / 390.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001446/0.2571, allocations: 1.367 MB / 392.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000622/0.2578, allocations: 343.1 kB / 392.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003535/0.2613, allocations: 2.364 MB / 395 MB, free: 5.969 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003382/0.2616, allocations: 244.6 kB / 395.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001512/0.2618, allocations: 147.5 kB / 395.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005039/0.2623, allocations: 373 kB / 395.7 MB, free: 5.418 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003048/0.2626, allocations: 203.4 kB / 395.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006447/0.2632, allocations: 0.5135 MB / 396.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001495/0.2647, allocations: 0.9854 MB / 397.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001005/0.2657, allocations: 0.9503 MB / 398.4 MB, free: 4.176 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001401/0.2671, allocations: 0.807 MB / 399.2 MB, free: 3.703 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001248/0.2684, allocations: 1.374 MB / 400.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 9.181e-05/0.2685, allocations: 47.41 kB / 400.6 MB, free: 2.91 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003218/0.2688, allocations: 371.1 kB / 400.9 MB, free: 2.637 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.008412/0.2772, allocations: 5.687 MB / 406.6 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0007403/0.2779, allocations: 0.5402 MB / 407.2 MB, free: 292 kB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.116e-06/0.278, allocations: 4 kB / 407.2 MB, free: 288 kB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.481e-05/0.278, allocations: 448 / 407.2 MB, free: 288 kB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.000277/0.2783, allocations: 187.2 kB / 407.4 MB, free: 104 kB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.743e-05/0.2783, allocations: 7.938 kB / 407.4 MB, free: 96 kB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.00136/0.2796, allocations: 0.699 MB / 408.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.001043/0.2807, allocations: 0.763 MB / 408.8 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) {chopperStepDown.iDC2, meanCurrent.x, meanVoltage.x, 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) {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: ........... 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: ........... 102 (scalar:102, 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: ........... 102 (scalar:102, 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.0001523/0.2808, allocations: 86.23 kB / 408.9 MB, free: 14.47 MB / 318.1 MB Notification: Performance of SimCode: time 0.003083/0.2839, allocations: 2.033 MB / 410.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of Templates: time 0.01942/0.3033, allocations: 5.634 MB / 416.6 MB, free: 6.82 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_R/ChopperStepDown_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,meanCurrent.x,meanVoltage.x,meanCurrent.y,meanVoltage.y,chopperStepDown.vDC1,chopperStepDown.iDC1,chopperStepDown.vDC2,chopperStepDown.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,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,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.636467967182398]