Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.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.001858/0.001858, allocations: 106.8 kB / 21.19 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.002182/0.002182, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 51.92 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3072, allocations: 53.37 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.006719/0.3139, allocations: 4.576 MB / 437 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.3165, allocations: 1.454 MB / 438.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.3168, allocations: 23.88 kB / 438.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.3171, allocations: 146.6 kB / 438.6 MB, free: 492 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.3176, allocations: 210.2 kB / 438.8 MB, free: 280 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.3182, allocations: 339.5 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.3193, allocations: 1.006 MB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005368/0.3198, allocations: 322.8 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.3203, allocations: 398.6 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004781/0.3208, allocations: 398.2 kB / 441.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3209, allocations: 99.94 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.3211, allocations: 104 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.3213, allocations: 215.3 kB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003586/0.3216, allocations: 350.3 kB / 442 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.3228, allocations: 1.116 MB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3228, allocations: 4 kB / 443.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3228, allocations: 0 / 443.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3228, allocations: 0 / 443.1 MB, free: 11.94 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002143/0.3249, allocations: 1.248 MB / 444.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.325, allocations: 8.031 kB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.3252, allocations: 104.4 kB / 444.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007827/0.326, allocations: 481.9 kB / 444.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.3261, allocations: 58.36 kB / 445 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3262, allocations: 72.31 kB / 445.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3276, allocations: 0.8419 MB / 445.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.3276, allocations: 8 kB / 445.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.3276, allocations: 24 kB / 445.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.3277, allocations: 16 kB / 445.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.3288, allocations: 0.5556 MB / 446.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003656/0.3324, allocations: 2.305 MB / 448.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009768/0.3334, allocations: 0.5296 MB / 449.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009748/0.3344, allocations: 438.1 kB / 449.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.3344, allocations: 8.438 kB / 449.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007088/0.3351, allocations: 426.5 kB / 450.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.174e-06/0.3351, allocations: 0 / 450.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.002854/0.338, allocations: 1.021 MB / 451.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.3381, allocations: 144.9 kB / 451.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.3386, allocations: 449.8 kB / 451.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/0.3386, allocations: 45.7 kB / 451.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.3389, allocations: 344.8 kB / 452.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.3391, allocations: 194.4 kB / 452.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.3393, allocations: 130.6 kB / 452.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3395, allocations: 370.7 kB / 452.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/0.3399, allocations: 224.8 kB / 453.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/0.3405, allocations: 482.3 kB / 453.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009256/0.3415, allocations: 0.5525 MB / 454.1 MB, free: 480 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3415, allocations: 4 kB / 454.1 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001364/0.3428, allocations: 0.7447 MB / 454.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3429, allocations: 8 kB / 454.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3429, allocations: 4 kB / 454.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005113/0.3434, allocations: 157.9 kB / 455 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.3438, allocations: 99.83 kB / 455.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003994/0.3478, allocations: 3.697 MB / 458.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.3482, allocations: 75.59 kB / 458.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.3482, allocations: 20 kB / 458.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005912/0.3488, allocations: 386 kB / 459.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000573/0.3494, allocations: 466.3 kB / 459.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008213/0.3502, allocations: 0.5254 MB / 460.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.699e-06/0.3502, allocations: 4 kB / 460.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001266/0.3515, allocations: 0.7327 MB / 461 MB, free: 9.195 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.3515, allocations: 4 kB / 461 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3515, allocations: 8 kB / 461 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/0.3519, allocations: 162.2 kB / 461.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.3523, allocations: 95.83 kB / 461.3 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.3562, allocations: 3.69 MB / 464.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.3566, allocations: 71.64 kB / 465 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.3566, allocations: 24 kB / 465 MB, free: 4.934 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 (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.3568, allocations: 240.2 kB / 465.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/0.3569, allocations: 59.62 kB / 465.3 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.3571, allocations: 69.41 kB / 465.4 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.3571, allocations: 7.922 kB / 465.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3571, allocations: 0 / 465.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.3573, allocations: 115.5 kB / 465.5 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.923e-05/0.3574, allocations: 12 kB / 465.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.3578, allocations: 35.91 kB / 465.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.3579, allocations: 48.41 kB / 465.6 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001851/0.3597, allocations: 0.78 MB / 466.4 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00159/0.3613, allocations: 1.008 MB / 467.4 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004415/0.3617, allocations: 243.8 kB / 467.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003415/0.3621, allocations: 299.1 kB / 467.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of Backend: time 2.61e-07/0.3621, allocations: 0 / 467.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.3644, allocations: 1.318 MB / 469.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of SimCode: time 0.002372/0.3667, allocations: 1.822 MB / 471.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of Templates: time 0.02285/0.3896, allocations: 13.7 MB / 484.8 MB, free: 1.305 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.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.756843448005384]