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_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_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_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.001377/0.001377, allocations: 179.1 kB / 8.48 MB, free: 1.871 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.216/1.216, allocations: 205.2 MB / 214.1 MB, free: 5.082 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.000916/0.0009161, allocations: 97.91 kB / 262.1 MB, free: 5.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.231e-06/6.261e-06, allocations: 0 / 315 MB, free: 41.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08014, allocations: 47.58 MB / 362.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2333/0.3135, allocations: 86.35 MB / 448.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.3137, allocations: 80.52 kB / 449 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02946/0.3432, allocations: 12.27 MB / 461.3 MB, free: 5.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.8e-05/0.3433, allocations: 12.38 kB / 461.3 MB, free: 5.402 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001505/0.3448, allocations: 0.827 MB / 462.1 MB, free: 4.781 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3449, allocations: 13.31 kB / 462.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.3451, allocations: 77.56 kB / 462.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.3459, allocations: 470.7 kB / 462.6 MB, free: 4.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.346, allocations: 22.62 kB / 462.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.3461, allocations: 34.38 kB / 462.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007519/0.3468, allocations: 389.5 kB / 463.1 MB, free: 4.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008274/0.3477, allocations: 0.5178 MB / 463.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3477, allocations: 0 / 463.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.3477, allocations: 3.375 kB / 463.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.3478, allocations: 13.81 kB / 463.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.3508, allocations: 2.089 MB / 465.7 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.3513, allocations: 336.4 kB / 466 MB, free: 2.945 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004118/0.3517, allocations: 229 kB / 466.3 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.3518, allocations: 3.703 kB / 466.3 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/0.3521, allocations: 256.1 kB / 466.5 MB, free: 2.793 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 2.755e-06/0.3522, allocations: 3.984 kB / 466.5 MB, free: 2.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006955/0.3529, allocations: 377.1 kB / 466.9 MB, free: 2.688 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.3529, allocations: 146.5 kB / 467 MB, free: 2.523 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.3533, allocations: 354.2 kB / 467.4 MB, free: 2.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.3534, allocations: 29.7 kB / 467.4 MB, free: 2.355 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3535, allocations: 250.2 kB / 467.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/0.3536, allocations: 128.4 kB / 467.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.3536, allocations: 0 / 467.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.3537, allocations: 354.5 kB / 468.1 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.354, allocations: 142.5 kB / 468.3 MB, free: 1.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.3543, allocations: 289.2 kB / 468.5 MB, free: 1.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.3545, allocations: 153.2 kB / 468.7 MB, free: 1.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3545, allocations: 1.188 kB / 468.7 MB, free: 1.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007636/0.3553, allocations: 499.8 kB / 469.2 MB, free: 1.387 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003794/0.3557, allocations: 1.655 MB / 470.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3557, allocations: 4.375 kB / 470.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/0.356, allocations: 87.86 kB / 470.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.3564, allocations: 90.61 kB / 471 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.3582, allocations: 1.648 MB / 472.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.3588, allocations: 77.52 kB / 472.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.3588, allocations: 24 kB / 472.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/0.3588, allocations: 4.656 kB / 472.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006724/0.3595, allocations: 403.7 kB / 473.2 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3595, allocations: 7.375 kB / 473.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/0.3598, allocations: 91.08 kB / 473.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.3601, allocations: 79.64 kB / 473.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.3617, allocations: 1.666 MB / 475 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.3622, allocations: 58.25 kB / 475.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.3622, allocations: 21.03 kB / 475.1 MB, free: 12.81 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 (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.0001912/0.3624, allocations: 142.9 kB / 475.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.3625, allocations: 47.53 kB / 475.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.3627, allocations: 50.41 kB / 475.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.3627, allocations: 4.031 kB / 475.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3627, allocations: 1.344 kB / 475.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3627, allocations: 7.922 kB / 475.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.3643, allocations: 1.095 MB / 476.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3643, allocations: 1.031 kB / 476.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.3645, allocations: 50.52 kB / 476.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002358/0.3648, allocations: 72.52 kB / 476.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.3648, allocations: 10.58 kB / 476.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.3666, allocations: 1.634 MB / 478.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3666, allocations: 0 / 478.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009496/0.3675, allocations: 0.6821 MB / 478.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.3678, allocations: 162.9 kB / 479 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.293e-05/0.3679, allocations: 8.75 kB / 479 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.3682, allocations: 39.28 kB / 479.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3683, allocations: 39.16 kB / 479.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.3684, allocations: 11.75 kB / 479.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003187/0.3687, allocations: 262 kB / 479.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009216/0.3696, allocations: 247.1 kB / 479.6 MB, free: 9.855 MB / 330.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.0001825/0.3698, allocations: 124.8 kB / 479.7 MB, free: 9.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3711, allocations: 0.8389 MB / 480.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3711, allocations: 0 / 480.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.3716, allocations: 307 kB / 480.9 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.372, allocations: 66.75 kB / 480.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.3738, allocations: 0.7505 MB / 481.7 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/0.3743, allocations: 0.9475 MB / 482.6 MB, free: 7.125 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3743, allocations: 0 / 482.6 MB, free: 7.125 MB / 330.7 MB Notification: Performance of Templates: time 0.01713/0.3915, allocations: 8.648 MB / 491.3 MB, free: 14.51 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_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_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches