Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 114.2 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.0011/0.0011, allocations: 210.8 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.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 59.91 kB / 359.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.207, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R): time 0.005576/0.2126, allocations: 4.62 MB / 414.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.2147, allocations: 1.395 MB / 416 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.215, allocations: 19.88 kB / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.2153, allocations: 118.8 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.2157, allocations: 198.4 kB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.2162, allocations: 299.5 kB / 416.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.217, allocations: 0.8851 MB / 417.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000528/0.2176, allocations: 398.8 kB / 417.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.2179, allocations: 326.7 kB / 418.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.2183, allocations: 354.3 kB / 418.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.2184, allocations: 80 kB / 418.6 MB, free: 8.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.2186, allocations: 88 kB / 418.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.2188, allocations: 183.4 kB / 418.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.2191, allocations: 386.1 kB / 419.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008154/0.2199, allocations: 0.9614 MB / 420.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2199, allocations: 0 / 420.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2199, allocations: 0 / 420.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.22, allocations: 0 / 420.2 MB, free: 7.266 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001699/0.2217, allocations: 1.026 MB / 421.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2217, allocations: 8.031 kB / 421.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.222, allocations: 95.98 kB / 421.4 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/0.2227, allocations: 0.4989 MB / 421.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.2227, allocations: 49.62 kB / 421.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/0.2228, allocations: 64.36 kB / 422 MB, free: 5.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.224, allocations: 0.6586 MB / 422.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.224, allocations: 7.938 kB / 422.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.2241, allocations: 27.98 kB / 422.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2241, allocations: 16 kB / 422.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009343/0.225, allocations: 485 kB / 423.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.2282, allocations: 2.236 MB / 425.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/0.2291, allocations: 463.6 kB / 425.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.2297, allocations: 288.2 kB / 426.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.2298, allocations: 4 kB / 426.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005953/0.2304, allocations: 344.3 kB / 426.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.084e-06/0.2304, allocations: 0 / 426.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002092/0.2325, allocations: 0.8555 MB / 427.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.2326, allocations: 174.6 kB / 427.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/0.2331, allocations: 457.8 kB / 428 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.2332, allocations: 45.69 kB / 428 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.2334, allocations: 316.3 kB / 428.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.2335, allocations: 142 kB / 428.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.2337, allocations: 110.2 kB / 428.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2338, allocations: 358.8 kB / 428.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.2342, allocations: 195 kB / 429.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.2347, allocations: 345.6 kB / 429.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/0.2354, allocations: 0.4961 MB / 429.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2355, allocations: 0 / 429.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001073/0.2365, allocations: 0.6153 MB / 430.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2366, allocations: 8 kB / 430.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2366, allocations: 4 kB / 430.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000325/0.2369, allocations: 97.14 kB / 430.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.2372, allocations: 83.84 kB / 430.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.2393, allocations: 2.053 MB / 432.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.2397, allocations: 75.34 kB / 432.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.2397, allocations: 20 kB / 432.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004792/0.2402, allocations: 337.2 kB / 433.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004264/0.2406, allocations: 344.4 kB / 433.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006707/0.2413, allocations: 474 kB / 434 MB, free: 8.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.2413, allocations: 8 kB / 434 MB, free: 8.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0009635/0.2423, allocations: 0.591 MB / 434.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.2423, allocations: 12.03 kB / 434.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2423, allocations: 4 kB / 434.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.2426, allocations: 92.94 kB / 434.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.2429, allocations: 83.83 kB / 434.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.2448, allocations: 2.045 MB / 436.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.2452, allocations: 63.94 kB / 436.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.2453, allocations: 23.98 kB / 436.9 MB, free: 5.664 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 25 (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_n.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_p.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 (59): * Single equations (assignments): 58 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.2455, allocations: 232 kB / 437.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-05/0.2455, allocations: 63.22 kB / 437.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2457, allocations: 65.56 kB / 437.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2457, allocations: 3.984 kB / 437.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2457, allocations: 4 kB / 437.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.2459, allocations: 172.3 kB / 437.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.246, allocations: 11.98 kB / 437.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.2463, allocations: 31.97 kB / 437.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.753e-05/0.2464, allocations: 36.39 kB / 437.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001384/0.2478, allocations: 0.7025 MB / 438.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001342/0.2492, allocations: 0.9541 MB / 439.2 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003822/0.2496, allocations: 231.3 kB / 439.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003349/0.2499, allocations: 315.1 kB / 439.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of Backend: time 2.7e-07/0.2499, allocations: 0 / 439.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.2517, allocations: 0.9743 MB / 440.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of SimCode: time 0.0018/0.2535, allocations: 1.565 MB / 442.3 MB, free: 196 kB / 350.1 MB Notification: Performance of Templates: time 0.01648/0.27, allocations: 10.16 MB / 452.4 MB, free: 6.152 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches