Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001629/0.001629, allocations: 176.7 kB / 8.151 MB, free: 2.211 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.626/1.626, allocations: 205.2 MB / 213.8 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 85.23 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.236e-06, allocations: 0 / 314.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.233, allocations: 47.55 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.3661, allocations: 86.65 MB / 448.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.3665, allocations: 83.95 kB / 448.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05432/0.4208, allocations: 12.6 MB / 461.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.155e-05/0.421, allocations: 19.94 kB / 461.2 MB, free: 2.723 MB / 346.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.00232/0.4233, allocations: 0.8475 MB / 462 MB, free: 1.824 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4234, allocations: 8.031 kB / 462.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.4236, allocations: 79.06 kB / 462.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.4249, allocations: 479.2 kB / 462.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.4249, allocations: 23.98 kB / 462.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.4251, allocations: 43.94 kB / 462.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00133/0.4264, allocations: 398.5 kB / 463.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.4279, allocations: 0.5222 MB / 463.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.4279, allocations: 7.891 kB / 463.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.428, allocations: 0 / 463.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.4281, allocations: 23.92 kB / 463.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005486/0.4336, allocations: 2.167 MB / 465.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009286/0.4345, allocations: 340.9 kB / 466.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007448/0.4353, allocations: 232.8 kB / 466.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.4354, allocations: 7.938 kB / 466.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006418/0.436, allocations: 264.5 kB / 466.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.356e-06/0.436, allocations: 1.5 kB / 466.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001152/0.4372, allocations: 378.1 kB / 467 MB, free: 12.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.4373, allocations: 140.5 kB / 467.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.438, allocations: 357 kB / 467.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.591e-05/0.4381, allocations: 37.73 kB / 467.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.4383, allocations: 298.7 kB / 467.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.4385, allocations: 126.1 kB / 467.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.4386, allocations: 0 / 467.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4387, allocations: 338.8 kB / 468.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.4391, allocations: 141.3 kB / 468.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.4397, allocations: 295.7 kB / 468.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.4402, allocations: 163.8 kB / 468.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4402, allocations: 4 kB / 468.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00132/0.4416, allocations: 473.9 kB / 469.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006288/0.4422, allocations: 1.654 MB / 470.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.4422, allocations: 8.047 kB / 471 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.4427, allocations: 90.47 kB / 471 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.4434, allocations: 91.83 kB / 471.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.4457, allocations: 1.541 MB / 472.7 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.4464, allocations: 67.7 kB / 472.7 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.4464, allocations: 24 kB / 472.8 MB, free: 6.523 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.4465, allocations: 4 kB / 472.8 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001199/0.4477, allocations: 412.2 kB / 473.2 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4477, allocations: 4 kB / 473.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.4481, allocations: 80.81 kB / 473.3 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/0.4487, allocations: 83.84 kB / 473.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.451, allocations: 1.557 MB / 474.9 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.4516, allocations: 63.66 kB / 475 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.4517, allocations: 20 kB / 475 MB, free: 4.191 MB / 362.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.0002216/0.452, allocations: 52.7 kB / 475 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.4521, allocations: 51.34 kB / 475.1 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.4524, allocations: 56.58 kB / 475.1 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4524, allocations: 4 kB / 475.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4524, allocations: 8 kB / 475.1 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.4524, allocations: 0 / 475.1 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.4549, allocations: 1.117 MB / 476.3 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.455, allocations: 4.031 kB / 476.3 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.4555, allocations: 47.92 kB / 476.3 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003804/0.4559, allocations: 72.8 kB / 476.4 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.4559, allocations: 8.062 kB / 476.4 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.4581, allocations: 1.541 MB / 477.9 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.4581, allocations: 0 / 477.9 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001806/0.4599, allocations: 0.699 MB / 478.6 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.4603, allocations: 168.3 kB / 478.8 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.4604, allocations: 7.984 kB / 478.8 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/0.4611, allocations: 35.97 kB / 478.8 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.4612, allocations: 35.95 kB / 478.9 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.4613, allocations: 15.98 kB / 478.9 MB, free: 48 kB / 362.7 MB Notification: Performance of sort global known variables: time 0.0005108/0.4618, allocations: 263.4 kB / 479.1 MB, free: 15.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001157/0.463, allocations: 255 kB / 479.4 MB, free: 15.54 MB / 378.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.0002278/0.4632, allocations: 117.1 kB / 479.5 MB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.4653, allocations: 0.8277 MB / 480.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.4653, allocations: 4 kB / 480.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006826/0.466, allocations: 301.5 kB / 480.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.4668, allocations: 71.27 kB / 480.7 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.4696, allocations: 0.8429 MB / 481.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008071/0.4705, allocations: 0.9565 MB / 482.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4705, allocations: 0 / 482.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of Templates: time 0.01901/0.4895, allocations: 9.451 MB / 492 MB, free: 2.887 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches