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_R.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_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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") [: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.002652/0.002652, allocations: 178.3 kB / 8.152 MB, free: 2.203 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.723/1.723, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001278/0.001278, allocations: 92.06 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.525e-05/1.535e-05, allocations: 4 kB / 314.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2366, allocations: 47.55 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.3699, allocations: 86.35 MB / 448.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/0.3703, allocations: 83.95 kB / 448.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05422/0.4245, allocations: 12.28 MB / 460.6 MB, free: 3.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.19e-05/0.4247, allocations: 16 kB / 460.6 MB, free: 3.336 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002183/0.4268, allocations: 0.831 MB / 461.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4269, allocations: 8.875 kB / 461.4 MB, free: 2.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.4271, allocations: 79.06 kB / 461.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.4283, allocations: 466.1 kB / 461.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.4284, allocations: 20 kB / 462 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.4285, allocations: 40 kB / 462 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001298/0.4298, allocations: 394.5 kB / 462.4 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.4313, allocations: 0.5104 MB / 462.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.4314, allocations: 3.984 kB / 462.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/0.4315, allocations: 4 kB / 462.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.4315, allocations: 12.66 kB / 462.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005564/0.4371, allocations: 2.09 MB / 465 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.4381, allocations: 333.5 kB / 465.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/0.4388, allocations: 230.1 kB / 465.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.4389, allocations: 4.328 kB / 465.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006217/0.4395, allocations: 258 kB / 465.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.086e-06/0.4395, allocations: 0 / 465.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001181/0.4407, allocations: 378.3 kB / 466.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/0.4409, allocations: 140.5 kB / 466.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.4416, allocations: 353 kB / 466.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.853e-05/0.4418, allocations: 33.7 kB / 466.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.442, allocations: 290.7 kB / 467 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.4422, allocations: 130.2 kB / 467.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.4423, allocations: 3.938 kB / 467.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4424, allocations: 330.8 kB / 467.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.4428, allocations: 145.3 kB / 467.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.4434, allocations: 287.8 kB / 467.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/0.4439, allocations: 147.9 kB / 468 MB, free: 11.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.444, allocations: 0 / 468 MB, free: 11.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00136/0.4453, allocations: 478 kB / 468.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006892/0.4461, allocations: 1.654 MB / 470.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.4461, allocations: 7.938 kB / 470.1 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005609/0.4467, allocations: 88.81 kB / 470.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.4473, allocations: 87.83 kB / 470.3 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.4501, allocations: 1.649 MB / 472 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/0.4509, allocations: 67.7 kB / 472 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.451, allocations: 20 kB / 472 MB, free: 7.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.451, allocations: 4 kB / 472 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001242/0.4522, allocations: 396.5 kB / 472.4 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.4523, allocations: 11.91 kB / 472.4 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004373/0.4527, allocations: 88.75 kB / 472.5 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.4533, allocations: 80.28 kB / 472.6 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.4561, allocations: 1.651 MB / 474.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/0.4568, allocations: 59.72 kB / 474.3 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.4568, allocations: 20 kB / 474.3 MB, free: 4.82 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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002399/0.4571, allocations: 64.78 kB / 474.4 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.4573, allocations: 47.44 kB / 474.4 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.4575, allocations: 52.5 kB / 474.5 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.4575, allocations: 4 kB / 474.5 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4575, allocations: 0 / 474.5 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.4575, allocations: 3.984 kB / 474.5 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.4604, allocations: 1.101 MB / 475.6 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.4604, allocations: 0 / 475.6 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.4609, allocations: 39.92 kB / 475.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.4613, allocations: 88.83 kB / 475.7 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.4614, allocations: 3.984 kB / 475.7 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.464, allocations: 1.632 MB / 477.4 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.464, allocations: 4 kB / 477.4 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001781/0.4658, allocations: 0.68 MB / 478.1 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.4662, allocations: 164.4 kB / 478.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.4664, allocations: 3.984 kB / 478.2 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.467, allocations: 51.88 kB / 478.3 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4672, allocations: 31.89 kB / 478.3 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.4672, allocations: 19.98 kB / 478.3 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0005179/0.4678, allocations: 259.2 kB / 478.6 MB, free: 372 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001251/0.469, allocations: 243.1 kB / 478.8 MB, free: 128 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002731/0.4693, allocations: 122.9 kB / 478.9 MB, free: 0 / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002297/0.4717, allocations: 0.8252 MB / 479.8 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4717, allocations: 1.812 kB / 479.8 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007946/0.4725, allocations: 309.6 kB / 480.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.4733, allocations: 61.67 kB / 480.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.4761, allocations: 0.7674 MB / 480.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008622/0.477, allocations: 0.9483 MB / 481.8 MB, free: 13.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.477, allocations: 0 / 481.8 MB, free: 13.01 MB / 378.7 MB Notification: Performance of Templates: time 0.02011/0.4972, allocations: 9.206 MB / 491 MB, free: 3.824 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_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_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches