Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 172.6 kB / 8.47 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.134/1.134, allocations: 205.2 MB / 214.1 MB, free: 3.844 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008527/0.0008528, allocations: 95.27 kB / 262.1 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.152e-06/6.182e-06, allocations: 4 kB / 315 MB, free: 41.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06954/0.06956, allocations: 47.57 MB / 362.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.304, allocations: 86.64 MB / 449.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.3042, allocations: 83.09 kB / 449.3 MB, free: 9.961 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03185/0.3361, allocations: 12.6 MB / 461.9 MB, free: 5.184 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.474e-05/0.3362, allocations: 13.75 kB / 461.9 MB, free: 5.184 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001545/0.3377, allocations: 0.8401 MB / 462.7 MB, free: 4.555 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3378, allocations: 9.625 kB / 462.7 MB, free: 4.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.338, allocations: 78.94 kB / 462.8 MB, free: 4.516 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000776/0.3388, allocations: 485.7 kB / 463.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.3388, allocations: 22.94 kB / 463.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-05/0.3389, allocations: 35.72 kB / 463.4 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007681/0.3397, allocations: 398.2 kB / 463.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.3406, allocations: 0.5281 MB / 464.3 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.3406, allocations: 5.094 kB / 464.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.3407, allocations: 1.156 kB / 464.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.3407, allocations: 18.5 kB / 464.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/0.3438, allocations: 2.163 MB / 466.5 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.3444, allocations: 352.2 kB / 466.8 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/0.3448, allocations: 237 kB / 467 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.3449, allocations: 4.594 kB / 467 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003601/0.3452, allocations: 261.9 kB / 467.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.204e-06/0.3453, allocations: 0 / 467.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007114/0.346, allocations: 384.5 kB / 467.7 MB, free: 2.391 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.346, allocations: 139.7 kB / 467.8 MB, free: 2.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.3465, allocations: 359.2 kB / 468.2 MB, free: 2.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.3465, allocations: 36.69 kB / 468.2 MB, free: 2.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3466, allocations: 255.1 kB / 468.4 MB, free: 1.863 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/0.3467, allocations: 132.7 kB / 468.6 MB, free: 1.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.3468, allocations: 1.031 kB / 468.6 MB, free: 1.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.3469, allocations: 358.2 kB / 468.9 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.3471, allocations: 142.5 kB / 469.1 MB, free: 1.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.3474, allocations: 296.8 kB / 469.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.3477, allocations: 163.6 kB / 469.5 MB, free: 1.215 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3477, allocations: 1.281 kB / 469.5 MB, free: 1.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007865/0.3485, allocations: 0.4909 MB / 470 MB, free: 1.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003575/0.3488, allocations: 1.654 MB / 471.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3489, allocations: 4.594 kB / 471.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.3492, allocations: 78.27 kB / 471.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.3495, allocations: 93.94 kB / 471.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.3511, allocations: 1.556 MB / 473.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.3516, allocations: 78.17 kB / 473.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.3517, allocations: 18.72 kB / 473.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.3517, allocations: 4.094 kB / 473.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007058/0.3524, allocations: 416.4 kB / 473.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3524, allocations: 4 kB / 473.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/0.3526, allocations: 81.03 kB / 474 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.353, allocations: 91.45 kB / 474.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.3544, allocations: 1.561 MB / 475.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.3549, allocations: 63.44 kB / 475.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.3549, allocations: 19.72 kB / 475.7 MB, free: 12.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.3551, allocations: 138.6 kB / 475.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.474e-05/0.3552, allocations: 46.94 kB / 475.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.3553, allocations: 54.25 kB / 475.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3553, allocations: 9.188 kB / 475.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3553, allocations: 3.938 kB / 476 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3554, allocations: 3.984 kB / 476 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.3569, allocations: 1.109 MB / 477.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3569, allocations: 2.844 kB / 477.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.3572, allocations: 51.03 kB / 477.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.3574, allocations: 68.52 kB / 477.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.3575, allocations: 14.92 kB / 477.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.3588, allocations: 1.535 MB / 478.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3588, allocations: 0 / 478.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009967/0.3598, allocations: 0.7065 MB / 479.4 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.3601, allocations: 163.2 kB / 479.6 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.68e-05/0.3602, allocations: 4 kB / 479.6 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.3605, allocations: 39.91 kB / 479.6 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.3606, allocations: 35.75 kB / 479.7 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.3607, allocations: 11.88 kB / 479.7 MB, free: 9.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002898/0.361, allocations: 259.8 kB / 479.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009011/0.3619, allocations: 263 kB / 480.2 MB, free: 9.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.3621, allocations: 128.3 kB / 480.3 MB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.3633, allocations: 0.8309 MB / 481.2 MB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3633, allocations: 0 / 481.2 MB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.3637, allocations: 299.5 kB / 481.4 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.3642, allocations: 68.08 kB / 481.5 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.366, allocations: 0.8293 MB / 482.3 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/0.3666, allocations: 0.9592 MB / 483.3 MB, free: 6.418 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3666, allocations: 4 kB / 483.3 MB, free: 6.414 MB / 330.7 MB Notification: Performance of Templates: time 0.01672/0.3834, allocations: 8.564 MB / 491.9 MB, free: 13.89 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches