Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_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.001342/0.001342, 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.001556/0.001556, 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.464e-05/4.464e-05, allocations: 5.656 kB / 379 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.2445/0.2446, allocations: 3.454 MB / 382.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.2469, allocations: 1.144 MB / 383.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.2471, allocations: 16.41 kB / 383.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.2474, allocations: 90.36 kB / 383.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.2477, allocations: 126.6 kB / 383.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.2482, allocations: 244.5 kB / 384.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009129/0.2491, allocations: 0.9045 MB / 385 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.2496, allocations: 197.9 kB / 385.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.25, allocations: 279.7 kB / 385.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.2503, allocations: 264.9 kB / 385.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.2504, allocations: 59.5 kB / 385.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.2505, allocations: 68.94 kB / 385.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006841/0.2512, allocations: 1.024 MB / 386.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002848/0.2515, allocations: 0.644 MB / 387.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.2516, allocations: 41.44 kB / 387.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.925e-05/0.2517, allocations: 20.41 kB / 387.5 MB, free: 10.8 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: 102 (102) * Number of variables: 102 (101) Notification: Performance of [SIM] Bindings: time 0.002144/0.2538, allocations: 2.506 MB / 390 MB, free: 9.043 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003245/0.2541, allocations: 279.8 kB / 390.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001396/0.2555, allocations: 1.423 MB / 391.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005452/0.2561, allocations: 278.4 kB / 392 MB, free: 7.797 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003243/0.2593, allocations: 2.226 MB / 394.2 MB, free: 6.391 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002698/0.2596, allocations: 199.9 kB / 394.4 MB, free: 6.246 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001292/0.2597, allocations: 133.9 kB / 394.6 MB, free: 6.137 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004432/0.2602, allocations: 348.5 kB / 394.9 MB, free: 5.867 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002936/0.2604, allocations: 196.4 kB / 395.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005805/0.261, allocations: 0.5073 MB / 395.6 MB, free: 5.445 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00134/0.2624, allocations: 0.9897 MB / 396.6 MB, free: 5.078 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008172/0.2632, allocations: 0.9021 MB / 397.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.00128/0.2645, allocations: 0.748 MB / 398.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001307/0.2658, allocations: 1.494 MB / 399.7 MB, free: 3.277 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.874e-05/0.2659, allocations: 41.66 kB / 399.8 MB, free: 3.25 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002592/0.2661, allocations: 347.6 kB / 400.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.007562/0.2737, allocations: 5.567 MB / 405.7 MB, free: 1.176 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0006176/0.2743, allocations: 495.4 kB / 406.2 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.114e-06/0.2743, allocations: 1.375 kB / 406.2 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.2e-05/0.2743, allocations: 1.375 kB / 406.2 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002126/0.2745, allocations: 162 kB / 406.3 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.456e-05/0.2746, allocations: 2.75 kB / 406.3 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0009707/0.2755, allocations: 0.6939 MB / 407 MB, free: 436 kB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0007428/0.2763, allocations: 0.7229 MB / 407.7 MB, free: 15.61 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: ......... 9 * 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: ............................. 3 (3) {meanVoltage.x, rootMeanSquareVoltage.mean.x, meanCurrent.x} * Number of discrete states: .................... 5 (5) {pulse2.twoPulse.timerNegative.entryTime, pulse2.twoPulse.timerPositive.entryTime, meanCurrent.y, rootMeanSquareVoltage.mean.y_last, meanVoltage.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 24 (24) {pulse2.twoPulse.positiveThreshold.y, pulse2.twoPulse.negativeThreshold.y, pulse2.twoPulse.fire_p, pulse2.twoPulse.fire_n, pulse2.fire_p, pulse2.fire_n, idealthyristor.off, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 51 (scalar:51, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 104 (scalar:104, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 104 (scalar:104, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.000189/0.2765, allocations: 87.16 kB / 407.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of SimCode: time 0.003063/0.2795, allocations: 2.211 MB / 410 MB, free: 13.27 MB / 318.1 MB Notification: Performance of Templates: time 0.01745/0.297, allocations: 5.535 MB / 415.6 MB, free: 7.801 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_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,rootMeanSquareVoltage.mean.x,idealthyristor.off,meanCurrent.y,meanVoltage.y,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,rootMeanSquareVoltage.mean.y Variables in the result:R,Vrms,constantFiringAngle,currentSensor.n.v,currentSensor.p.v,f,ground.p.v,idealthyristor.Goff,idealthyristor.Ron,idealthyristor.T,idealthyristor.T_heatPort,idealthyristor.Vknee,idealthyristor.off,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,pulse2.ac_n.i,pulse2.ac_n.v,pulse2.ac_p.i,pulse2.constantFiringAngle,pulse2.f,pulse2.fCut,pulse2.firingAngleMax,pulse2.twoPulse.constantFiringAngle,pulse2.twoPulse.constantconstantFiringAngle.k,pulse2.twoPulse.constantconstantFiringAngle.y,pulse2.twoPulse.f,pulse2.twoPulse.fCut,pulse2.twoPulse.firingAngleMax,pulse2.twoPulse.firingAngleMin,pulse2.twoPulse.gain.k,pulse2.twoPulse.gainNegative[1].k,pulse2.twoPulse.gainPositive[1].k,pulse2.twoPulse.limiter.homotopyType,pulse2.twoPulse.limiter.simplifiedExpr,pulse2.twoPulse.limiter.strict,pulse2.twoPulse.limiter.u,pulse2.twoPulse.limiter.uMax,pulse2.twoPulse.limiter.uMin,pulse2.twoPulse.m,pulse2.twoPulse.negativeThreshold[1].threshold,pulse2.twoPulse.positiveThreshold[1].threshold,pulse2.twoPulse.replicator.nout,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.useConstantFiringAngle,pulse2.twoPulse.useFilter,pulse2.twoPulse.vStart[1],pulse2.useConstantFiringAngle,pulse2.useFilter,pulse2.vStart,pulse2.voltageSensor.n.i,pulse2.voltageSensor.n.v,pulse2.voltageSensor.p.i,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.n.v,rootMeanSquareVoltage.f,rootMeanSquareVoltage.mean.f,rootMeanSquareVoltage.mean.t0,rootMeanSquareVoltage.mean.x,rootMeanSquareVoltage.mean.x0,rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y0,rootMeanSquareVoltage.mean.yGreaterOrEqualZero,rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.product.significantDigits,rootMeanSquareVoltage.x0,rootMeanSquareVoltage.y0,sinevoltage.V,sinevoltage.f,sinevoltage.n.v,sinevoltage.offset,sinevoltage.phase,sinevoltage.signalSource.amplitude,sinevoltage.signalSource.continuous,sinevoltage.signalSource.f,sinevoltage.signalSource.offset,sinevoltage.signalSource.phase,sinevoltage.signalSource.startTime,sinevoltage.startTime,time,voltagesensor.n.i,voltagesensor.n.v,voltagesensor.p.i [Calling sys.exit(0), Time elapsed: 4.837688783649355]