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_RLV_Characteristic.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_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_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_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_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_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 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 180.6 kB / 8.134 MB, free: 2.078 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.207/1.207, allocations: 221.4 MB / 230 MB, free: 3.242 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.0009084/0.000908, allocations: 98.61 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.303e-06/7.403e-06, allocations: 4 kB / 336.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1875, allocations: 50.39 MB / 386.9 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09381/0.2814, allocations: 89.18 MB / 476.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.2817, allocations: 83.94 kB / 476.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.03945/0.3212, allocations: 14.92 MB / 491.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.295e-05/0.3213, allocations: 19.98 kB / 491.1 MB, free: 14.61 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001604/0.3229, allocations: 0.9445 MB / 492.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3229, allocations: 12.03 kB / 492.1 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.3231, allocations: 94.86 kB / 492.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/0.3239, allocations: 0.5141 MB / 492.7 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.3239, allocations: 24 kB / 492.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.324, allocations: 51.92 kB / 492.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009356/0.325, allocations: 0.5038 MB / 493.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.326, allocations: 0.6584 MB / 493.9 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.3261, allocations: 7.891 kB / 493.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/0.3261, allocations: 4 kB / 493.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.3262, allocations: 20 kB / 494 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003733/0.3299, allocations: 2.623 MB / 496.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.331, allocations: 0.593 MB / 497.2 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007008/0.3317, allocations: 406.2 kB / 497.6 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.3318, allocations: 12.48 kB / 497.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005013/0.3323, allocations: 337.9 kB / 497.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.544e-06/0.3323, allocations: 4 kB / 497.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.001101/0.3334, allocations: 0.5595 MB / 498.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.3335, allocations: 145.1 kB / 498.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.3339, allocations: 361 kB / 499 MB, free: 6.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.334, allocations: 33.7 kB / 499 MB, free: 6.414 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.3342, allocations: 276.2 kB / 499.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.3343, allocations: 189.3 kB / 499.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.3344, allocations: 0 / 499.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3345, allocations: 370.8 kB / 499.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.3348, allocations: 189.5 kB / 0.4883 GB, free: 5.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.3352, allocations: 353.5 kB / 0.4886 GB, free: 4.977 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.3356, allocations: 207.1 kB / 0.4888 GB, free: 4.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3356, allocations: 0 / 0.4888 GB, free: 4.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001043/0.3366, allocations: 0.6569 MB / 0.4895 GB, free: 4.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005309/0.3372, allocations: 1.571 MB / 0.491 GB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3372, allocations: 4 kB / 0.491 GB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005066/0.3377, allocations: 157.6 kB / 0.4912 GB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.3382, allocations: 111.8 kB / 0.4913 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1045/0.4427, allocations: 3.297 MB / 0.4945 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.4433, allocations: 80 kB / 0.4946 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.4433, allocations: 25.53 kB / 0.4946 GB, free: 132 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.4434, allocations: 5.219 kB / 0.4946 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007979/0.4442, allocations: 0.5567 MB / 0.4951 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4442, allocations: 5.062 kB / 0.4951 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.4446, allocations: 159.8 kB / 0.4953 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.4449, allocations: 105.6 kB / 0.4954 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.4472, allocations: 3.3 MB / 0.4986 GB, free: 129.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.4476, allocations: 70.64 kB / 0.4987 GB, free: 129.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.4477, allocations: 20.34 kB / 0.4987 GB, free: 129.6 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 (69): * Single equations (assignments): 67 * 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.0001455/0.4478, allocations: 140.3 kB / 0.4988 GB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.4479, allocations: 58.53 kB / 0.4989 GB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.4481, allocations: 68.48 kB / 0.499 GB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4481, allocations: 7.188 kB / 0.499 GB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.4481, allocations: 0 / 0.499 GB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4481, allocations: 6.453 kB / 0.499 GB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.4497, allocations: 1.334 MB / 0.5003 GB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4497, allocations: 2.5 kB / 0.5003 GB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.4501, allocations: 81.55 kB / 0.5004 GB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/0.4505, allocations: 144 kB / 0.5005 GB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.4505, allocations: 2.859 kB / 0.5005 GB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.4527, allocations: 3.274 MB / 0.5037 GB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4528, allocations: 7.562 kB / 0.5037 GB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001107/0.4539, allocations: 0.9444 MB / 0.5046 GB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.4541, allocations: 199.5 kB / 0.5048 GB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.281e-05/0.4542, allocations: 3.938 kB / 0.5048 GB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.4546, allocations: 52.42 kB / 0.5049 GB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.4547, allocations: 46.58 kB / 0.5049 GB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.4547, allocations: 18.41 kB / 0.5049 GB, free: 126.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000244/0.455, allocations: 267.3 kB / 0.5052 GB, free: 126.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009055/0.4559, allocations: 324.8 kB / 0.5055 GB, free: 126.2 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 (47): * Single equations (assignments): 40 * 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.0001676/0.4561, allocations: 129.9 kB / 0.5056 GB, free: 126.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.4576, allocations: 1.294 MB / 0.5069 GB, free: 125.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4577, allocations: 2.344 kB / 0.5069 GB, free: 125.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.4582, allocations: 0.4969 MB / 0.5074 GB, free: 125.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.4587, allocations: 87.7 kB / 0.5074 GB, free: 125.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.4607, allocations: 1.047 MB / 0.5085 GB, free: 125.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/0.4611, allocations: 1.01 MB / 0.5095 GB, free: 124.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4612, allocations: 0 / 0.5095 GB, free: 124.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01961/0.4808, allocations: 12.18 MB / 0.5214 GB, free: 124.1 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV_Characteristic/ThyristorBridge2Pulse_RLV_Characteristic.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches