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_RLV_Characteristic.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_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_RLV_Characteristic") [: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.0009968/0.0009969, allocations: 180.6 kB / 8.479 MB, free: 1.879 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.15/1.15, allocations: 205.2 MB / 214.1 MB, free: 1.895 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.0008403/0.0008401, allocations: 79.39 kB / 262.1 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.303e-06/7.434e-06, allocations: 4 kB / 315 MB, free: 23.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07414/0.07417, allocations: 47.58 MB / 362.6 MB, free: 7.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.3018, allocations: 87.39 MB / 450 MB, free: 8.191 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.302, allocations: 80.52 kB / 450 MB, free: 8.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03588/0.3379, allocations: 13.01 MB / 463 MB, free: 13.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.592e-05/0.338, allocations: 16 kB / 463.1 MB, free: 13.33 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00221/0.3403, allocations: 0.8868 MB / 463.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3403, allocations: 12.03 kB / 464 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.3405, allocations: 79.06 kB / 464 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.3416, allocations: 488.7 kB / 464.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.3417, allocations: 23.56 kB / 464.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.3418, allocations: 43.97 kB / 464.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001235/0.3431, allocations: 410.2 kB / 465 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.3445, allocations: 0.5522 MB / 465.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.3446, allocations: 7.906 kB / 465.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/0.3447, allocations: 0 / 465.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.3447, allocations: 16 kB / 465.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004871/0.3496, allocations: 2.203 MB / 467.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008722/0.3505, allocations: 471.9 kB / 468.2 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/0.3509, allocations: 263.5 kB / 468.5 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.351, allocations: 4.375 kB / 468.5 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00043/0.3514, allocations: 283 kB / 468.8 MB, free: 8.516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 2.044e-06/0.3514, allocations: 0 / 468.8 MB, free: 8.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.001104/0.3525, allocations: 409.7 kB / 469.2 MB, free: 8.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.3527, allocations: 148.2 kB / 469.3 MB, free: 8.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005749/0.3533, allocations: 339.4 kB / 469.6 MB, free: 7.777 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/0.3534, allocations: 33.69 kB / 469.7 MB, free: 7.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.3536, allocations: 261.2 kB / 469.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.3538, allocations: 141.2 kB / 470.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.3539, allocations: 0 / 470.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3541, allocations: 361.1 kB / 470.4 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.3544, allocations: 147.6 kB / 470.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.3549, allocations: 301.2 kB / 470.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.3553, allocations: 162.3 kB / 471 MB, free: 6.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3554, allocations: 4 kB / 471 MB, free: 6.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001276/0.3566, allocations: 0.4988 MB / 471.5 MB, free: 6.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007631/0.3574, allocations: 1.667 MB / 473.2 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3575, allocations: 4 kB / 473.2 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.3579, allocations: 80.3 kB / 473.3 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.3586, allocations: 107.8 kB / 473.4 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.3609, allocations: 1.56 MB / 474.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.3614, allocations: 67.62 kB / 475 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.3615, allocations: 23.75 kB / 475 MB, free: 2.656 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3615, allocations: 4 kB / 475 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001098/0.3626, allocations: 432 kB / 475.4 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.3626, allocations: 4.625 kB / 475.4 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/0.3629, allocations: 88.11 kB / 475.5 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.3635, allocations: 99.58 kB / 475.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.3654, allocations: 1.55 MB / 477.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006043/0.3661, allocations: 67.61 kB / 477.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.3661, allocations: 27.75 kB / 477.3 MB, free: 0.5859 MB / 346.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 (63): * Single equations (assignments): 62 * 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.0002397/0.3664, allocations: 123.7 kB / 477.4 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.3665, allocations: 55.28 kB / 477.4 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.3667, allocations: 56.02 kB / 477.5 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.3667, allocations: 11.98 kB / 477.5 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3668, allocations: 0 / 477.5 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.3668, allocations: 4 kB / 477.5 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.3692, allocations: 1.165 MB / 478.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3692, allocations: 0 / 478.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.3698, allocations: 75.92 kB / 478.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003033/0.3701, allocations: 71.25 kB / 478.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.3701, allocations: 4 kB / 478.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.3721, allocations: 1.532 MB / 480.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3721, allocations: 0 / 480.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001477/0.3736, allocations: 0.7388 MB / 481.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.3739, allocations: 170 kB / 481.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.374, allocations: 11.75 kB / 481.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.3746, allocations: 47.95 kB / 481.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3748, allocations: 35.5 kB / 481.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.3748, allocations: 15.56 kB / 481.4 MB, free: 13 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003844/0.3752, allocations: 251.5 kB / 481.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001358/0.3766, allocations: 270.9 kB / 481.9 MB, free: 12.54 MB / 362.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 (43): * Single equations (assignments): 37 * 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.000238/0.3768, allocations: 124.8 kB / 482 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.3786, allocations: 0.8611 MB / 482.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3786, allocations: 0 / 482.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.3792, allocations: 323.4 kB / 483.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.3798, allocations: 62.62 kB / 483.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.3825, allocations: 0.8799 MB / 484.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008759/0.3834, allocations: 0.9736 MB / 485.1 MB, free: 9.641 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3834, allocations: 0 / 485.1 MB, free: 9.641 MB / 362.7 MB Notification: Performance of Templates: time 0.02502/0.4084, allocations: 8.921 MB / 494 MB, free: 0.7227 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_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_RLV_Characteristic/ThyristorCenterTap2Pulse_RLV_Characteristic.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches