Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 179.7 kB / 8.133 MB, free: 2.09 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 221.4 MB / 229.9 MB, free: 3.082 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009564/0.0009565, allocations: 93.34 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.592e-06, allocations: 0 / 336.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 50.38 MB / 386.9 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09458/0.3044, allocations: 88.45 MB / 475.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.3047, allocations: 95.88 kB / 475.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.03769/0.3424, allocations: 14.37 MB / 489.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.412e-05/0.3425, allocations: 16 kB / 489.9 MB, free: 15.88 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001526/0.3441, allocations: 0.9123 MB / 490.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3441, allocations: 8.031 kB / 490.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.3443, allocations: 90.97 kB / 490.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.345, allocations: 0.5102 MB / 491.4 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.3451, allocations: 24 kB / 491.4 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.76e-05/0.3452, allocations: 47.98 kB / 491.4 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009109/0.3461, allocations: 491.9 kB / 491.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.3472, allocations: 0.6375 MB / 492.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/0.3472, allocations: 3.906 kB / 492.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.3473, allocations: 7.984 kB / 492.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.3473, allocations: 16 kB / 492.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.3509, allocations: 2.594 MB / 495.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/0.3516, allocations: 473.3 kB / 495.6 MB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/0.3522, allocations: 362.5 kB / 496 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.3523, allocations: 12.42 kB / 496 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004568/0.3527, allocations: 315.8 kB / 496.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 2.575e-06/0.3527, allocations: 0 / 496.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.001095/0.3538, allocations: 0.5287 MB / 496.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.3539, allocations: 149 kB / 497 MB, free: 8.434 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.3544, allocations: 377 kB / 497.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.3544, allocations: 33.7 kB / 497.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.3546, allocations: 268.1 kB / 497.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3547, allocations: 173.5 kB / 497.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.3547, allocations: 0 / 497.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3549, allocations: 366.8 kB / 498.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.3552, allocations: 189.5 kB / 498.4 MB, free: 7.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.3556, allocations: 349.3 kB / 498.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.3559, allocations: 209.3 kB / 498.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3559, allocations: 0 / 498.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009754/0.3569, allocations: 0.6382 MB / 499.6 MB, free: 5.766 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005272/0.3574, allocations: 1.57 MB / 0.4894 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.3575, allocations: 11.94 kB / 0.4894 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004837/0.358, allocations: 153.6 kB / 0.4895 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.3584, allocations: 99.83 kB / 0.4896 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/0.3615, allocations: 3.289 MB / 0.4928 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.362, allocations: 91.67 kB / 0.4929 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.3621, allocations: 24 kB / 0.493 GB, free: 172 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.3621, allocations: 4.094 kB / 0.493 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1098/0.4719, allocations: 0.5426 MB / 0.4935 GB, free: 133.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4719, allocations: 3.5 kB / 0.4935 GB, free: 133.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.4723, allocations: 157.1 kB / 0.4936 GB, free: 133.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.4727, allocations: 93.75 kB / 0.4937 GB, free: 133.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.475, allocations: 3.296 MB / 0.4969 GB, free: 130.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.4754, allocations: 65.36 kB / 0.497 GB, free: 130.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.4755, allocations: 23.25 kB / 0.497 GB, free: 130.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.4756, allocations: 134 kB / 0.4972 GB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.4757, allocations: 56.64 kB / 0.4972 GB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.4758, allocations: 60.67 kB / 0.4973 GB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.4758, allocations: 9.469 kB / 0.4973 GB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.4758, allocations: 2.516 kB / 0.4973 GB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4759, allocations: 3.891 kB / 0.4973 GB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.4774, allocations: 1.285 MB / 0.4985 GB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4774, allocations: 2.297 kB / 0.4985 GB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.4777, allocations: 61.3 kB / 0.4986 GB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003463/0.478, allocations: 149.9 kB / 0.4987 GB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.4781, allocations: 8.656 kB / 0.4988 GB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/0.4803, allocations: 3.27 MB / 0.5019 GB, free: 127.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4804, allocations: 5.406 kB / 0.502 GB, free: 127.9 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001052/0.4814, allocations: 0.8974 MB / 0.5028 GB, free: 127.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.4816, allocations: 189.3 kB / 0.503 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/0.4817, allocations: 3.312 kB / 0.503 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.4821, allocations: 39.34 kB / 0.5031 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4822, allocations: 45.81 kB / 0.5031 GB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.4822, allocations: 24.69 kB / 0.5031 GB, free: 127.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002422/0.4825, allocations: 270.6 kB / 0.5034 GB, free: 127.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008934/0.4834, allocations: 319.7 kB / 0.5037 GB, free: 127.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.4836, allocations: 126.1 kB / 0.5038 GB, free: 127.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.4851, allocations: 1.266 MB / 0.505 GB, free: 126.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4851, allocations: 0 / 0.505 GB, free: 126.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.4856, allocations: 493.2 kB / 0.5055 GB, free: 126.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.486, allocations: 75.48 kB / 0.5056 GB, free: 126.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.4879, allocations: 0.9941 MB / 0.5066 GB, free: 126.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.4883, allocations: 0.9948 MB / 0.5075 GB, free: 125.7 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4883, allocations: 0 / 0.5075 GB, free: 125.7 MB / 378.7 MB Notification: Performance of Templates: time 0.018/0.5063, allocations: 11.77 MB / 0.519 GB, free: 125.4 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches