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_RLV.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,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_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,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_RLV") [: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.002733/0.002732, allocations: 180.7 kB / 8.155 MB, free: 2.199 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.667/1.667, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001215/0.001215, allocations: 95.33 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.427e-06/9.608e-06, allocations: 4 kB / 314.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2343, allocations: 47.56 MB / 361.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.3667, allocations: 86.89 MB / 448.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.3671, allocations: 80.45 kB / 448.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05565/0.4228, allocations: 12.88 MB / 461.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.161e-05/0.4229, allocations: 15.98 kB / 461.7 MB, free: 2.188 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002401/0.4253, allocations: 0.8611 MB / 462.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4254, allocations: 8.031 kB / 462.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.4257, allocations: 87.06 kB / 462.7 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.4269, allocations: 485.9 kB / 463.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.427, allocations: 23.91 kB / 463.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.4272, allocations: 40 kB / 463.2 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001371/0.4286, allocations: 407.9 kB / 463.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.4302, allocations: 0.5457 MB / 464.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.4302, allocations: 0 / 464.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.4303, allocations: 3.984 kB / 464.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.4303, allocations: 16 kB / 464.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005843/0.4362, allocations: 2.215 MB / 466.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009607/0.4372, allocations: 347.6 kB / 466.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007531/0.438, allocations: 236.8 kB / 467 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.4381, allocations: 4 kB / 467 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006277/0.4387, allocations: 267.4 kB / 467.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 3.327e-06/0.4387, allocations: 0 / 467.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001201/0.4399, allocations: 388.6 kB / 467.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.44, allocations: 140.5 kB / 467.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.4408, allocations: 362.3 kB / 468.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-05/0.4409, allocations: 37.69 kB / 468.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.4411, allocations: 298.6 kB / 468.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.4413, allocations: 142 kB / 468.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.4413, allocations: 0 / 468.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4415, allocations: 330.8 kB / 468.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.442, allocations: 145.3 kB / 469 MB, free: 10.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.4425, allocations: 292.2 kB / 469.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.443, allocations: 160.7 kB / 469.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.4431, allocations: 4 kB / 469.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001363/0.4444, allocations: 483.4 kB / 469.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007246/0.4452, allocations: 1.657 MB / 471.6 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.4452, allocations: 7.984 kB / 471.6 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004823/0.4457, allocations: 78.14 kB / 471.7 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/0.4465, allocations: 95.83 kB / 471.8 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.4489, allocations: 1.549 MB / 473.3 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.4496, allocations: 63.72 kB / 473.4 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.4497, allocations: 24 kB / 473.4 MB, free: 5.855 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.4497, allocations: 4 kB / 473.4 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/0.4509, allocations: 422.5 kB / 473.8 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.451, allocations: 16.06 kB / 473.9 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.4513, allocations: 68.83 kB / 473.9 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.452, allocations: 95.77 kB / 474 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.4541, allocations: 1.543 MB / 475.6 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.4548, allocations: 59.72 kB / 475.6 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/0.4549, allocations: 23.98 kB / 475.6 MB, free: 3.516 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 (62): * Single equations (assignments): 61 * 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.0002321/0.4551, allocations: 60.64 kB / 475.7 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.4553, allocations: 51.34 kB / 475.7 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.4556, allocations: 56.64 kB / 475.8 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4556, allocations: 4 kB / 475.8 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4556, allocations: 4 kB / 475.8 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4556, allocations: 0 / 475.8 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.4584, allocations: 1.124 MB / 476.9 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4584, allocations: 0 / 476.9 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.459, allocations: 59.94 kB / 477 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003588/0.4593, allocations: 68.81 kB / 477.1 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.4594, allocations: 5.594 kB / 477.1 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.4616, allocations: 1.537 MB / 478.6 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.4616, allocations: 0 / 478.6 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001814/0.4635, allocations: 0.7105 MB / 479.3 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.4639, allocations: 168.3 kB / 479.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.464, allocations: 8 kB / 479.5 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.4646, allocations: 35.97 kB / 479.5 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.4648, allocations: 39.69 kB / 479.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.4648, allocations: 12 kB / 479.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005085/0.4654, allocations: 271.2 kB / 479.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001195/0.4666, allocations: 259 kB / 480.1 MB, free: 14.84 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 (40): * Single equations (assignments): 34 * 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.0002568/0.4668, allocations: 126 kB / 480.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002099/0.469, allocations: 0.8237 MB / 481 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.469, allocations: 4.25 kB / 481 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007165/0.4697, allocations: 305.5 kB / 481.3 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/0.4705, allocations: 69.7 kB / 481.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.4735, allocations: 0.8699 MB / 482.3 MB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009265/0.4745, allocations: 0.9607 MB / 483.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4745, allocations: 0 / 483.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of Templates: time 0.02087/0.4954, allocations: 9.634 MB / 492.9 MB, free: 1.965 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_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_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches