Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.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_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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 112.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001894/0.001894, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.03 kB / 359.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2152, allocations: 50.54 MB / 410 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.006006/0.2212, allocations: 5.016 MB / 415 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.2238, allocations: 1.494 MB / 416.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003559/0.2242, allocations: 15.94 kB / 416.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.2245, allocations: 138.6 kB / 416.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.2251, allocations: 214.2 kB / 416.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.2257, allocations: 323.5 kB / 417.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008672/0.2265, allocations: 1.006 MB / 418.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006189/0.2272, allocations: 490.3 kB / 418.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.2276, allocations: 378.6 kB / 419 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.228, allocations: 414 kB / 419.4 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.2281, allocations: 96 kB / 419.5 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.2283, allocations: 96 kB / 419.6 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.2285, allocations: 211.3 kB / 419.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.2289, allocations: 433.9 kB / 420.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009455/0.2298, allocations: 1.102 MB / 421.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2299, allocations: 0 / 421.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2299, allocations: 0 / 421.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.2299, allocations: 0 / 421.4 MB, free: 6.27 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.001802/0.2317, allocations: 1.124 MB / 422.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2317, allocations: 12.03 kB / 422.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.232, allocations: 95.89 kB / 422.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007257/0.2327, allocations: 0.5228 MB / 423.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.2328, allocations: 58.38 kB / 423.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.2329, allocations: 68.38 kB / 423.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.2341, allocations: 0.7666 MB / 424 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2341, allocations: 0 / 424 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.2342, allocations: 35.98 kB / 424 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.2342, allocations: 16 kB / 424.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.2352, allocations: 0.5594 MB / 424.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003466/0.2387, allocations: 2.654 MB / 427.3 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009317/0.2397, allocations: 0.5872 MB / 427.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009577/0.2406, allocations: 478.2 kB / 428.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.2407, allocations: 4.562 kB / 428.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006166/0.2413, allocations: 389.8 kB / 428.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.144e-06/0.2413, allocations: 3.938 kB / 428.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.002674/0.244, allocations: 1.181 MB / 429.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.2441, allocations: 141.1 kB / 430 MB, free: 13.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005339/0.2446, allocations: 489.9 kB / 430.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.2447, allocations: 49.69 kB / 430.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.2449, allocations: 324.3 kB / 430.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.2451, allocations: 189.4 kB / 431.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.2452, allocations: 134.6 kB / 431.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2454, allocations: 370.7 kB / 431.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.2458, allocations: 228.8 kB / 431.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.2463, allocations: 401.2 kB / 432.2 MB, free: 11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008458/0.2472, allocations: 0.5573 MB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2472, allocations: 4 kB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001276/0.2485, allocations: 0.7574 MB / 433.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2485, allocations: 10.97 kB / 433.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2485, allocations: 7.938 kB / 433.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000485/0.249, allocations: 170.1 kB / 433.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.2494, allocations: 95.81 kB / 433.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.253, allocations: 3.981 MB / 437.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.2534, allocations: 75.41 kB / 437.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.2535, allocations: 24 kB / 437.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005617/0.254, allocations: 386 kB / 438.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004752/0.2545, allocations: 385.3 kB / 438.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007643/0.2553, allocations: 0.5262 MB / 439.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.157e-06/0.2553, allocations: 4 kB / 439.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.00119/0.2565, allocations: 0.7382 MB / 439.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2565, allocations: 8 kB / 439.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2565, allocations: 8 kB / 439.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.2569, allocations: 165.8 kB / 440 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.2573, allocations: 95.86 kB / 440.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/0.2608, allocations: 3.982 MB / 444.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.2613, allocations: 63.62 kB / 444.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.2613, allocations: 31.98 kB / 444.2 MB, free: 14.17 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 (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.0002141/0.2615, allocations: 244.1 kB / 444.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.2616, allocations: 63.28 kB / 444.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.2618, allocations: 73.64 kB / 444.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2618, allocations: 3.984 kB / 444.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2618, allocations: 0 / 444.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.262, allocations: 204.2 kB / 444.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.2621, allocations: 12 kB / 444.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.2625, allocations: 35.97 kB / 444.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2626, allocations: 44.5 kB / 444.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001673/0.2643, allocations: 0.7775 MB / 445.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001442/0.2657, allocations: 1.009 MB / 446.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003925/0.2661, allocations: 260.3 kB / 446.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003526/0.2665, allocations: 338.9 kB / 447.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of Backend: time 2.11e-07/0.2665, allocations: 0 / 447.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.2687, allocations: 1.378 MB / 448.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of SimCode: time 0.002082/0.2708, allocations: 1.812 MB / 450.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of Templates: time 0.02006/0.2908, allocations: 13.02 MB / 463.5 MB, free: 10.94 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches