Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_RLV,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.89 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2169, allocations: 50.55 MB / 410 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV): time 0.005989/0.223, allocations: 5.122 MB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.2254, allocations: 1.501 MB / 416.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.2258, allocations: 15.94 kB / 416.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.2261, allocations: 150.5 kB / 416.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.2266, allocations: 218.2 kB / 417 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.2272, allocations: 331.1 kB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000885/0.2281, allocations: 1.029 MB / 418.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006323/0.2287, allocations: 0.4906 MB / 418.8 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.2292, allocations: 394.5 kB / 419.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.2296, allocations: 414 kB / 419.6 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.2298, allocations: 100 kB / 419.7 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2299, allocations: 100 kB / 419.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.2301, allocations: 215.3 kB / 420 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.2305, allocations: 445.8 kB / 420.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.2315, allocations: 1.137 MB / 421.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2315, allocations: 0 / 421.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2315, allocations: 0 / 421.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.2316, allocations: 0 / 421.6 MB, free: 5.859 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001932/0.2335, allocations: 1.138 MB / 422.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2335, allocations: 8.031 kB / 422.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.2338, allocations: 103.9 kB / 422.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.2346, allocations: 0.5306 MB / 423.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.2347, allocations: 54.38 kB / 423.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.977e-05/0.2348, allocations: 72.38 kB / 423.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.236, allocations: 0.7952 MB / 424.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.2361, allocations: 3.938 kB / 424.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.2361, allocations: 32 kB / 424.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.2362, allocations: 16 kB / 424.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.2372, allocations: 0.5739 MB / 424.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003709/0.241, allocations: 2.701 MB / 427.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.242, allocations: 0.6027 MB / 428.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.2431, allocations: 0.5021 MB / 428.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.2431, allocations: 8.562 kB / 428.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006394/0.2438, allocations: 389.8 kB / 429.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 3.076e-06/0.2438, allocations: 4 kB / 429.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=62): time 0.00281/0.2466, allocations: 1.193 MB / 430.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.2467, allocations: 145.1 kB / 430.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/0.2473, allocations: 0.4902 MB / 431 MB, free: 12.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.2473, allocations: 49.69 kB / 431 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.2476, allocations: 336.2 kB / 431.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.2478, allocations: 193.3 kB / 431.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.248, allocations: 134.6 kB / 431.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2481, allocations: 370.8 kB / 432 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.2486, allocations: 228.8 kB / 432.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.2491, allocations: 393.3 kB / 432.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/0.25, allocations: 0.5656 MB / 433.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.25, allocations: 0 / 433.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001338/0.2513, allocations: 0.7731 MB / 434 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2514, allocations: 8 kB / 434 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.2514, allocations: 4 kB / 434 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000507/0.2519, allocations: 162 kB / 434.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.2523, allocations: 103.8 kB / 434.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/0.256, allocations: 3.997 MB / 438.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.2565, allocations: 67.42 kB / 438.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.2566, allocations: 31.98 kB / 438.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006016/0.2572, allocations: 378 kB / 438.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005101/0.2577, allocations: 389.3 kB / 439.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007871/0.2585, allocations: 0.5383 MB / 439.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.2585, allocations: 0 / 439.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001259/0.2598, allocations: 0.75 MB / 440.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.2598, allocations: 4 kB / 440.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2598, allocations: 8 kB / 440.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004347/0.2602, allocations: 165.7 kB / 440.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.2606, allocations: 95.86 kB / 440.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.2643, allocations: 3.986 MB / 444.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.2648, allocations: 71.69 kB / 444.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.2649, allocations: 28 kB / 444.7 MB, free: 13.52 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,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 (69): * Single equations (assignments): 67 * 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.0002397/0.2651, allocations: 243.1 kB / 444.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2652, allocations: 71.23 kB / 445 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.2654, allocations: 69.75 kB / 445.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.2654, allocations: 3.984 kB / 445.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2654, allocations: 0 / 445.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.2657, allocations: 200.2 kB / 445.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.2658, allocations: 16 kB / 445.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.2661, allocations: 35.91 kB / 445.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.2663, allocations: 52.42 kB / 445.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001781/0.2681, allocations: 0.7813 MB / 446.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001515/0.2696, allocations: 1.017 MB / 447.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004123/0.27, allocations: 252.4 kB / 447.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003901/0.2704, allocations: 350.8 kB / 447.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.2704, allocations: 0 / 447.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002368/0.2728, allocations: 1.387 MB / 449.2 MB, free: 8.957 MB / 366.1 MB Notification: Performance of SimCode: time 0.002386/0.2752, allocations: 1.837 MB / 451 MB, free: 7.062 MB / 366.1 MB Notification: Performance of Templates: time 0.02278/0.298, allocations: 13.21 MB / 464.2 MB, free: 10.03 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_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/ThyristorBridge2Pulse_RLV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches