Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001771/0.001771, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002166/0.002166, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 258.1 MB, free: 8.121 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.83 kB / 378.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2152, allocations: 53.32 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.006796/0.222, allocations: 4.978 MB / 437.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.2247, allocations: 1.477 MB / 438.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003127/0.2251, allocations: 19.88 kB / 438.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.2254, allocations: 142.7 kB / 438.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.2259, allocations: 206.2 kB / 438.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.2265, allocations: 327.5 kB / 439.2 MB, free: 204 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.2276, allocations: 0.99 MB / 440.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005362/0.2281, allocations: 322.2 kB / 440.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004435/0.2285, allocations: 370.6 kB / 440.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.229, allocations: 390.2 kB / 441.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.2292, allocations: 96 kB / 441.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.2293, allocations: 96 kB / 441.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.2295, allocations: 203.3 kB / 441.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004008/0.2299, allocations: 429.9 kB / 442.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.2311, allocations: 1.082 MB / 443.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2311, allocations: 3.938 kB / 443.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2311, allocations: 0 / 443.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.2311, allocations: 0 / 443.2 MB, free: 12.22 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002151/0.2332, allocations: 1.3 MB / 444.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2333, allocations: 11.97 kB / 444.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.2335, allocations: 96.41 kB / 444.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007837/0.2343, allocations: 0.5265 MB / 445.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/0.2344, allocations: 49.69 kB / 445.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.2345, allocations: 68.38 kB / 445.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.2357, allocations: 0.7422 MB / 446 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.2358, allocations: 0 / 446 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.2358, allocations: 35.98 kB / 446 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.2359, allocations: 16 kB / 446 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.237, allocations: 0.5399 MB / 446.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.2408, allocations: 2.624 MB / 449.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2419, allocations: 0.521 MB / 449.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.2426, allocations: 314 kB / 450 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.2426, allocations: 4.438 kB / 450 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000676/0.2433, allocations: 389.6 kB / 450.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=59): time 2.083e-06/0.2433, allocations: 0 / 450.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.003079/0.2463, allocations: 1.113 MB / 451.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.2464, allocations: 145 kB / 451.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.2471, allocations: 498 kB / 452.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.2471, allocations: 41.7 kB / 452.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.2474, allocations: 328.9 kB / 452.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.2475, allocations: 186.5 kB / 452.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.2477, allocations: 126.3 kB / 452.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.2479, allocations: 366.8 kB / 453.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.2484, allocations: 223.4 kB / 453.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.2489, allocations: 381.8 kB / 453.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/0.2498, allocations: 0.5339 MB / 454.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2498, allocations: 4 kB / 454.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001351/0.2512, allocations: 0.7106 MB / 455 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2512, allocations: 8 kB / 455 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2512, allocations: 4 kB / 455 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.2517, allocations: 159.5 kB / 455.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.252, allocations: 87.83 kB / 455.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.2553, allocations: 2.591 MB / 457.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.2557, allocations: 71.61 kB / 457.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.2558, allocations: 27.98 kB / 457.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006488/0.2564, allocations: 373.3 kB / 458.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005146/0.2569, allocations: 373.8 kB / 458.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000793/0.2577, allocations: 0.5144 MB / 459.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.254e-06/0.2577, allocations: 3.938 kB / 459.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001196/0.2589, allocations: 0.6906 MB / 459.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.259, allocations: 8 kB / 459.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.259, allocations: 4 kB / 459.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/0.2594, allocations: 157.3 kB / 460.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.2597, allocations: 87.84 kB / 460.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/0.2628, allocations: 2.586 MB / 462.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.2632, allocations: 75.64 kB / 462.8 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.2632, allocations: 24 kB / 462.8 MB, free: 7.664 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 29 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,$PRE.rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002403/0.2635, allocations: 236 kB / 463.1 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.2636, allocations: 63.62 kB / 463.1 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.2637, allocations: 65.59 kB / 463.2 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.2637, allocations: 7.922 kB / 463.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2637, allocations: 4 kB / 463.2 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.264, allocations: 192.6 kB / 463.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.839e-05/0.2641, allocations: 20 kB / 463.4 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.2644, allocations: 35.91 kB / 463.4 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.2645, allocations: 44.5 kB / 463.5 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001721/0.2662, allocations: 0.7492 MB / 464.2 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001529/0.2678, allocations: 0.9825 MB / 465.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004154/0.2682, allocations: 232.4 kB / 465.4 MB, free: 5.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000398/0.2686, allocations: 334.9 kB / 465.8 MB, free: 4.68 MB / 366.1 MB Notification: Performance of Backend: time 2.5e-07/0.2686, allocations: 0 / 465.8 MB, free: 4.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.2708, allocations: 1.123 MB / 466.9 MB, free: 3.527 MB / 366.1 MB Notification: Performance of SimCode: time 0.002341/0.2732, allocations: 1.733 MB / 468.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of Templates: time 0.02257/0.2958, allocations: 13.12 MB / 481.7 MB, free: 4.805 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.527629693038762]