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_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001099/0.001099, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.298/1.298, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009692/0.0009692, allocations: 47.92 kB / 352 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2116, allocations: 49.44 MB / 401.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.005729/0.2173, allocations: 4.881 MB / 406.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.2194, allocations: 1.412 MB / 407.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.2197, allocations: 15.94 kB / 407.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.22, allocations: 142.6 kB / 407.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004302/0.2204, allocations: 202.3 kB / 408.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.221, allocations: 311.5 kB / 408.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008253/0.2218, allocations: 0.9745 MB / 409.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005832/0.2224, allocations: 474 kB / 409.9 MB, free: 420 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.2228, allocations: 366.6 kB / 410.2 MB, free: 52 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.2232, allocations: 386.3 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.2233, allocations: 96 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.2234, allocations: 92 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.2236, allocations: 207.3 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.224, allocations: 418 kB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008579/0.2248, allocations: 1.066 MB / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2249, allocations: 0 / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2249, allocations: 0 / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.2249, allocations: 0 / 412.5 MB, free: 13.81 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001748/0.2266, allocations: 1.08 MB / 413.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.2267, allocations: 12.03 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.2268, allocations: 84 kB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/0.2275, allocations: 0.5105 MB / 414.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.2276, allocations: 53.67 kB / 414.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/0.2277, allocations: 68.38 kB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.2289, allocations: 0.7383 MB / 415 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.2289, allocations: 7.906 kB / 415 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.229, allocations: 28 kB / 415 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.229, allocations: 16 kB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.2301, allocations: 0.5477 MB / 415.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.2335, allocations: 2.588 MB / 418.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009932/0.2345, allocations: 0.578 MB / 418.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006442/0.2352, allocations: 335.3 kB / 419.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.2352, allocations: 12.42 kB / 419.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006231/0.2359, allocations: 381.6 kB / 419.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=59): time 1.954e-06/0.2359, allocations: 0 / 419.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=59): time 0.002847/0.2387, allocations: 1.113 MB / 420.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.2388, allocations: 145.1 kB / 420.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.2393, allocations: 481.8 kB / 421.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.2394, allocations: 49.69 kB / 421.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.2396, allocations: 316.3 kB / 421.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.2398, allocations: 181.5 kB / 421.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.2399, allocations: 126.2 kB / 421.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2401, allocations: 362.8 kB / 422.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.2405, allocations: 223.4 kB / 422.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.2411, allocations: 377.9 kB / 422.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.2419, allocations: 0.5261 MB / 423.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2419, allocations: 3.938 kB / 423.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001217/0.2431, allocations: 0.718 MB / 424 MB, free: 1.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2432, allocations: 12.03 kB / 424.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2432, allocations: 7.938 kB / 424.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/0.2437, allocations: 160.7 kB / 424.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.244, allocations: 87.83 kB / 424.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.247, allocations: 2.585 MB / 426.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.2475, allocations: 75.39 kB / 427 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.2475, allocations: 24.19 kB / 427 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005758/0.2481, allocations: 369.3 kB / 427.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000461/0.2486, allocations: 369.8 kB / 427.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007305/0.2493, allocations: 0.5144 MB / 428.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.214e-05/0.2493, allocations: 7.984 kB / 428.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001107/0.2505, allocations: 0.6941 MB / 428.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2505, allocations: 8 kB / 428.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2505, allocations: 4 kB / 428.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.2509, allocations: 152.8 kB / 429.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.2512, allocations: 84.23 kB / 429.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.254, allocations: 2.594 MB / 431.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.2544, allocations: 67.55 kB / 431.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.2545, allocations: 24 kB / 431.9 MB, free: 9.477 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 (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.0002386/0.2547, allocations: 244.2 kB / 432.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/0.2548, allocations: 55.34 kB / 432.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.255, allocations: 65.52 kB / 432.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.255, allocations: 3.984 kB / 432.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.255, allocations: 0 / 432.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.2553, allocations: 196.2 kB / 432.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.535e-05/0.2553, allocations: 19.94 kB / 432.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.2557, allocations: 35.97 kB / 432.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.2558, allocations: 44.48 kB / 432.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001619/0.2574, allocations: 0.7453 MB / 433.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001388/0.2588, allocations: 0.9743 MB / 434.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004024/0.2592, allocations: 252.3 kB / 434.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003598/0.2596, allocations: 322.9 kB / 434.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.2596, allocations: 4 kB / 434.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.2618, allocations: 1.168 MB / 436 MB, free: 5.301 MB / 350.1 MB Notification: Performance of SimCode: time 0.002066/0.2638, allocations: 1.708 MB / 437.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of Templates: time 0.01902/0.2829, allocations: 12.52 MB / 450.2 MB, free: 7.191 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches