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.001113/0.001113, allocations: 114.3 kB / 18.46 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.001232/0.001232, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 59.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2622, allocations: 50.54 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.005681/0.2679, allocations: 5.016 MB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.2702, allocations: 1.492 MB / 416.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.2705, allocations: 19.94 kB / 416.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.2708, allocations: 146.6 kB / 416.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.2713, allocations: 214.2 kB / 416.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.2719, allocations: 327.5 kB / 417.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008551/0.2727, allocations: 1.014 MB / 418.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006403/0.2734, allocations: 478.3 kB / 418.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.2738, allocations: 394.6 kB / 419.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.2743, allocations: 398.1 kB / 419.4 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.2744, allocations: 96 kB / 419.5 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.2746, allocations: 96 kB / 419.6 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.2748, allocations: 215.3 kB / 419.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003738/0.2752, allocations: 437.8 kB / 420.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009432/0.2761, allocations: 1.099 MB / 421.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2761, allocations: 0 / 421.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2761, allocations: 0 / 421.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.2762, allocations: 0 / 421.4 MB, free: 6.117 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.001841/0.278, allocations: 1.116 MB / 422.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.278, allocations: 8.031 kB / 422.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.2783, allocations: 99.89 kB / 422.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007151/0.279, allocations: 0.5306 MB / 423.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.2791, allocations: 58.36 kB / 423.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.2792, allocations: 72.31 kB / 423.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.2805, allocations: 0.7704 MB / 424 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.2805, allocations: 8 kB / 424 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.2806, allocations: 24 kB / 424.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.2806, allocations: 20 kB / 424.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.2817, allocations: 0.5556 MB / 424.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.2852, allocations: 2.654 MB / 427.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.2861, allocations: 0.5872 MB / 427.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.2872, allocations: 470.2 kB / 428.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.2872, allocations: 12.5 kB / 428.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006535/0.2879, allocations: 389.8 kB / 428.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.224e-06/0.2879, allocations: 0 / 428.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.002731/0.2906, allocations: 1.181 MB / 429.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.2907, allocations: 141 kB / 430 MB, free: 13.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005515/0.2913, allocations: 493.9 kB / 430.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.2913, allocations: 45.7 kB / 430.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.2916, allocations: 328.3 kB / 430.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.2917, allocations: 189.4 kB / 431.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.2919, allocations: 130.6 kB / 431.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2921, allocations: 378.6 kB / 431.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.2925, allocations: 224.8 kB / 431.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.2931, allocations: 400.7 kB / 432.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.2939, allocations: 0.5534 MB / 432.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2939, allocations: 7.938 kB / 432.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001291/0.2952, allocations: 0.7535 MB / 433.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2953, allocations: 8 kB / 433.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.2953, allocations: 8.438 kB / 433.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/0.2958, allocations: 165.7 kB / 433.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.2962, allocations: 99.81 kB / 433.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/0.2998, allocations: 3.985 MB / 437.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.3002, allocations: 75.34 kB / 437.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.3003, allocations: 27.98 kB / 437.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000565/0.3009, allocations: 382 kB / 438.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004728/0.3013, allocations: 385.4 kB / 438.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007528/0.3021, allocations: 0.53 MB / 439.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.3021, allocations: 0 / 439.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001201/0.3033, allocations: 0.7382 MB / 439.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3033, allocations: 4 kB / 439.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3034, allocations: 4 kB / 439.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/0.3038, allocations: 173.9 kB / 440 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.3041, allocations: 95.83 kB / 440.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.3077, allocations: 3.982 MB / 444.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.3081, allocations: 67.62 kB / 444.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.3082, allocations: 28.09 kB / 444.2 MB, free: 14.02 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.0002068/0.3084, allocations: 243.9 kB / 444.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.574e-05/0.3085, allocations: 63.27 kB / 444.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.3087, allocations: 73.72 kB / 444.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3087, allocations: 3.984 kB / 444.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3087, allocations: 4 kB / 444.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.3089, allocations: 196.2 kB / 444.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/0.309, allocations: 12 kB / 444.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.3094, allocations: 39.97 kB / 444.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3095, allocations: 48.48 kB / 444.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001752/0.3113, allocations: 0.7773 MB / 445.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001477/0.3127, allocations: 1.005 MB / 446.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004134/0.3132, allocations: 256.4 kB / 446.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003714/0.3136, allocations: 338.9 kB / 447.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of Backend: time 2.21e-07/0.3136, allocations: 0 / 447.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.3158, allocations: 1.382 MB / 448.6 MB, free: 9.492 MB / 366.1 MB Notification: Performance of SimCode: time 0.002138/0.3179, allocations: 1.811 MB / 450.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of Templates: time 0.02039/0.3383, allocations: 13.02 MB / 463.5 MB, free: 10.79 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