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_RLV_Characteristic.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_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 114.3 kB / 17.75 MB, free: 5.305 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.001453/0.001453, allocations: 185.3 kB / 18.68 MB, free: 4.379 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.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 47.92 kB / 352 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2182, allocations: 49.44 MB / 401.5 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic): time 0.006085/0.2243, allocations: 5.153 MB / 406.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.2265, allocations: 1.469 MB / 408.1 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.2268, allocations: 19.88 kB / 408.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.2272, allocations: 150.6 kB / 408.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.2277, allocations: 226.1 kB / 408.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.2282, allocations: 327.5 kB / 408.8 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009727/0.2292, allocations: 1.041 MB / 409.8 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006567/0.2299, allocations: 498.5 kB / 410.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/0.2303, allocations: 390.7 kB / 410.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004396/0.2307, allocations: 422 kB / 411.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.2309, allocations: 96 kB / 411.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.231, allocations: 100 kB / 411.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.2312, allocations: 219.2 kB / 411.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.2316, allocations: 457.7 kB / 412 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.2327, allocations: 1.124 MB / 413.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2327, allocations: 0 / 413.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2327, allocations: 0 / 413.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.2327, allocations: 8 kB / 413.1 MB, free: 13.3 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001916/0.2346, allocations: 1.166 MB / 414.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2347, allocations: 8.031 kB / 414.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.2348, allocations: 96.33 kB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.2355, allocations: 0.5426 MB / 414.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.2356, allocations: 58.38 kB / 415 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.2357, allocations: 72.38 kB / 415 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.237, allocations: 0.803 MB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.237, allocations: 0 / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-05/0.2371, allocations: 31.98 kB / 415.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.2371, allocations: 16 kB / 415.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.2384, allocations: 0.6011 MB / 416.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.2421, allocations: 2.709 MB / 419.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.2436, allocations: 0.6886 MB / 419.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.2447, allocations: 0.5216 MB / 420.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.075e-05/0.2448, allocations: 12.48 kB / 420.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007897/0.2456, allocations: 417.1 kB / 420.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 2.896e-06/0.2456, allocations: 0 / 420.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.003023/0.2486, allocations: 1.232 MB / 422.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.2487, allocations: 148.9 kB / 422.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/0.2493, allocations: 486 kB / 422.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.2494, allocations: 45.7 kB / 422.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.2496, allocations: 348.8 kB / 423.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.2498, allocations: 198.3 kB / 423.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.25, allocations: 130.7 kB / 423.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2501, allocations: 366.8 kB / 423.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.2507, allocations: 248.7 kB / 424 MB, free: 2.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.2513, allocations: 405.3 kB / 424.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009828/0.2522, allocations: 0.5851 MB / 425 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2523, allocations: 7.938 kB / 425 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001456/0.2537, allocations: 0.7971 MB / 425.8 MB, free: 104 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2538, allocations: 8 kB / 425.8 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2538, allocations: 4 kB / 425.8 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.2543, allocations: 173.5 kB / 426 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.2547, allocations: 107.8 kB / 426.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.2585, allocations: 3.993 MB / 430.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.2589, allocations: 83.66 kB / 430.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.259, allocations: 24 kB / 430.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006466/0.2596, allocations: 398 kB / 430.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005534/0.2602, allocations: 401.2 kB / 430.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00089/0.2611, allocations: 0.5617 MB / 431.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/0.2611, allocations: 4 kB / 431.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001388/0.2625, allocations: 0.7774 MB / 432.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.2625, allocations: 8 kB / 432.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2625, allocations: 4 kB / 432.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/0.263, allocations: 165.8 kB / 432.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.2634, allocations: 95.83 kB / 432.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.267, allocations: 3.997 MB / 436.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.2674, allocations: 75.69 kB / 436.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.2675, allocations: 24 kB / 436.7 MB, free: 4.52 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 (70): * Single equations (assignments): 68 * 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.0002122/0.2677, allocations: 244.1 kB / 436.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.2678, allocations: 71.56 kB / 437 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.268, allocations: 69.7 kB / 437 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.268, allocations: 3.984 kB / 437 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.268, allocations: 4 kB / 437 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.2682, allocations: 200.5 kB / 437.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/0.2683, allocations: 12 kB / 437.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.2687, allocations: 43.89 kB / 437.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.2688, allocations: 56.42 kB / 437.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001911/0.2707, allocations: 0.8126 MB / 438.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001676/0.2724, allocations: 1.072 MB / 439.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004732/0.2729, allocations: 272.3 kB / 439.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003536/0.2733, allocations: 334.9 kB / 439.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of Backend: time 8.12e-07/0.2733, allocations: 0 / 439.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.2756, allocations: 1.418 MB / 441.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of SimCode: time 0.00219/0.2778, allocations: 1.876 MB / 443.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of Templates: time 0.02062/0.2984, allocations: 13.39 MB / 456.5 MB, free: 0.6992 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV_Characteristic/ThyristorBridge2Pulse_RLV_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches