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_Characteristic.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.001313/0.001313, 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.001489/0.001489, 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.805 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_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_Characteristic") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.575e-05, allocations: 2.281 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.2093/0.2093, allocations: 3.491 MB / 382.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2115, allocations: 1.171 MB / 383.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.2117, allocations: 16.88 kB / 383.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.212, allocations: 92.92 kB / 383.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.2123, allocations: 124.6 kB / 383.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.2128, allocations: 251.3 kB / 384.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008617/0.2137, allocations: 0.9098 MB / 385 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.2141, allocations: 192.9 kB / 385.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.2144, allocations: 294.2 kB / 385.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.2147, allocations: 268.5 kB / 385.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.2148, allocations: 63.88 kB / 385.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.215, allocations: 62.44 kB / 385.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006747/0.2157, allocations: 1.057 MB / 386.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002862/0.2159, allocations: 0.6517 MB / 387.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.182e-05/0.216, allocations: 41.75 kB / 387.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001028/0.2161, allocations: 21.8 kB / 387.6 MB, free: 10.73 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: 104 (104) * Number of variables: 104 (103) Notification: Performance of [SIM] Bindings: time 0.002222/0.2184, allocations: 2.555 MB / 390.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003214/0.2187, allocations: 290.8 kB / 390.5 MB, free: 8.762 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001486/0.2202, allocations: 1.472 MB / 392 MB, free: 7.848 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004489/0.2206, allocations: 285.8 kB / 392.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003103/0.2237, allocations: 2.274 MB / 394.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000279/0.224, allocations: 212.3 kB / 394.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001297/0.2241, allocations: 133.6 kB / 394.9 MB, free: 5.977 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004202/0.2246, allocations: 360.9 kB / 395.2 MB, free: 5.703 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002905/0.2248, allocations: 211.9 kB / 395.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005631/0.2254, allocations: 0.5283 MB / 395.9 MB, free: 5.266 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001493/0.2269, allocations: 1.038 MB / 397 MB, free: 4.887 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009629/0.2279, allocations: 0.9525 MB / 397.9 MB, free: 4.375 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001198/0.2291, allocations: 0.7116 MB / 398.6 MB, free: 3.945 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001263/0.2303, allocations: 1.553 MB / 400.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.327e-05/0.2304, allocations: 39.17 kB / 400.2 MB, free: 3.035 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002899/0.2307, allocations: 347.1 kB / 400.6 MB, free: 2.82 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.007183/0.2379, allocations: 5.431 MB / 406 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0005431/0.2384, allocations: 486.7 kB / 406.5 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.193e-06/0.2384, allocations: 0 / 406.5 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.756e-05/0.2384, allocations: 7.188 kB / 406.5 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001907/0.2386, allocations: 154.8 kB / 406.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.087e-05/0.2386, allocations: 2.75 kB / 406.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0009296/0.2396, allocations: 0.7003 MB / 407.3 MB, free: 112 kB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0009768/0.2405, allocations: 0.7501 MB / 408.1 MB, free: 15.27 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: ................. 26 (26) {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_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: ........... 54 (scalar:54, 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: ........... 102 (scalar:102, 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: ........... 102 (scalar:102, 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.0001648/0.2407, allocations: 86.05 kB / 408.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of SimCode: time 0.002948/0.2437, allocations: 2.204 MB / 410.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Templates: time 0.01173/0.2554, allocations: 5.545 MB / 415.9 MB, free: 7.461 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_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_Characteristic/Thyristor1Pulse_R_Characteristic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" 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,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.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.strict,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,ramp.duration,ramp.height,ramp.offset,ramp.startTime,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: 6.710717261303216]