Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 110.2 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000991/0.0009911, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 51.92 kB / 352 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2231, allocations: 49.43 MB / 401.5 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.006124/0.2293, allocations: 4.989 MB / 406.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.2319, allocations: 1.428 MB / 407.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005317/0.2324, allocations: 15.94 kB / 407.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.2328, allocations: 142.6 kB / 408 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005319/0.2333, allocations: 214.2 kB / 408.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.234, allocations: 315.5 kB / 408.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008534/0.2348, allocations: 1.006 MB / 409.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.2354, allocations: 474.3 kB / 410 MB, free: 224 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.2358, allocations: 374.6 kB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004116/0.2362, allocations: 402.1 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.2364, allocations: 92 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.2365, allocations: 96 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.2367, allocations: 215.3 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003442/0.2371, allocations: 433.9 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008761/0.2379, allocations: 1.094 MB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2379, allocations: 0 / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.238, allocations: 0 / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.238, allocations: 0 / 412.7 MB, free: 13.54 MB / 334.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.001808/0.2398, allocations: 1.101 MB / 413.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2398, allocations: 8.031 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.24, allocations: 87.91 kB / 413.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006903/0.2407, allocations: 0.5189 MB / 414.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.2407, allocations: 54.38 kB / 414.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.2408, allocations: 84.27 kB / 414.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.2421, allocations: 0.7587 MB / 415.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.2421, allocations: 4 kB / 415.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/0.2422, allocations: 32 kB / 415.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.2422, allocations: 20 kB / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.2433, allocations: 0.5594 MB / 415.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/0.2468, allocations: 2.635 MB / 418.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009403/0.2478, allocations: 0.5833 MB / 419.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2488, allocations: 478.2 kB / 419.6 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.2488, allocations: 4.562 kB / 419.6 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000652/0.2495, allocations: 397.7 kB / 420 MB, free: 5.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=61): time 1.993e-06/0.2495, allocations: 0 / 420 MB, free: 5.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.002737/0.2523, allocations: 1.177 MB / 421.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.2523, allocations: 145.1 kB / 421.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.2528, allocations: 481.9 kB / 421.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.2529, allocations: 41.7 kB / 421.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.2531, allocations: 328.3 kB / 422.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.2533, allocations: 189.3 kB / 422.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.2535, allocations: 126.7 kB / 422.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2536, allocations: 374.7 kB / 422.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.254, allocations: 228.8 kB / 423 MB, free: 2.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/0.2546, allocations: 393.3 kB / 423.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008319/0.2554, allocations: 0.5495 MB / 424 MB, free: 1.738 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2554, allocations: 4 kB / 424 MB, free: 1.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001287/0.2567, allocations: 0.7576 MB / 424.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2567, allocations: 8 kB / 424.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2568, allocations: 7.938 kB / 424.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/0.2572, allocations: 165.9 kB / 424.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.2576, allocations: 95.83 kB / 425 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003615/0.2612, allocations: 3.981 MB / 429 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.2617, allocations: 83.41 kB / 429.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.2617, allocations: 24 kB / 429.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005617/0.2623, allocations: 386 kB / 429.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004705/0.2628, allocations: 387.1 kB / 429.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007376/0.2635, allocations: 0.5222 MB / 430.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.838e-06/0.2635, allocations: 8 kB / 430.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.0012/0.2647, allocations: 0.7382 MB / 431.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.2648, allocations: 4 kB / 431.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2648, allocations: 4 kB / 431.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.2652, allocations: 165.7 kB / 431.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.2655, allocations: 91.83 kB / 431.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.2691, allocations: 3.981 MB / 435.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.2695, allocations: 71.53 kB / 435.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.2696, allocations: 28.06 kB / 435.5 MB, free: 5.531 MB / 350.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,pulse2.fire_n,pulse2.fire_p,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,rectifier.thyristor_n2.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.andCondition_n.y,rectifier.andCondition_p.y,$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.0001785/0.2698, allocations: 236.1 kB / 435.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.2699, allocations: 63.19 kB / 435.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.27, allocations: 69.58 kB / 435.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.27, allocations: 7.984 kB / 435.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.27, allocations: 0 / 435.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.2703, allocations: 196.2 kB / 436 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.2704, allocations: 16 kB / 436 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.2707, allocations: 35.97 kB / 436.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.2708, allocations: 44.5 kB / 436.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001772/0.2726, allocations: 0.7814 MB / 436.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001473/0.2741, allocations: 1.017 MB / 437.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000412/0.2745, allocations: 248.4 kB / 438.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003344/0.2749, allocations: 330.9 kB / 438.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of Backend: time 4.81e-07/0.2749, allocations: 0 / 438.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.277, allocations: 1.372 MB / 439.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of SimCode: time 0.002085/0.2791, allocations: 1.796 MB / 441.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Templates: time 0.02041/0.2995, allocations: 12.89 MB / 454.5 MB, free: 2.465 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches