Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.0014/0.0014, allocations: 195.9 kB / 8.533 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009936/0.000994, allocations: 91.53 kB / 286.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.196e-06, allocations: 4 kB / 343.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.09792, allocations: 51.48 MB / 394.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/0.3746, allocations: 90 MB / 484.6 MB, free: 3.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.3749, allocations: 81.2 kB / 484.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03833/0.4132, allocations: 15.03 MB / 499.8 MB, free: 7.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.131e-05/0.4133, allocations: 20 kB / 499.8 MB, free: 7.051 MB / 362.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.001677/0.415, allocations: 0.9575 MB / 0.489 GB, free: 6.098 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4151, allocations: 8.031 kB / 0.489 GB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.4153, allocations: 110.9 kB / 0.4891 GB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007868/0.4161, allocations: 0.5288 MB / 0.4896 GB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.4162, allocations: 20 kB / 0.4896 GB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.895e-05/0.4163, allocations: 44 kB / 0.4897 GB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008679/0.4172, allocations: 0.5084 MB / 0.4902 GB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/0.4182, allocations: 0.6546 MB / 0.4908 GB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.4182, allocations: 7.734 kB / 0.4908 GB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.489e-05/0.4183, allocations: 1.875 kB / 0.4908 GB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.4183, allocations: 16 kB / 0.4908 GB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/0.4219, allocations: 2.625 MB / 0.4934 GB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.423, allocations: 0.5976 MB / 0.494 GB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/0.4237, allocations: 415.3 kB / 0.4944 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.767e-05/0.4238, allocations: 5.125 kB / 0.4944 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005379/0.4243, allocations: 345.8 kB / 0.4947 GB, free: 1.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.034e-06/0.4243, allocations: 0 / 0.4947 GB, free: 1.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.001111/0.4254, allocations: 0.561 MB / 0.4953 GB, free: 1.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.4255, allocations: 140.7 kB / 0.4954 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.4259, allocations: 373 kB / 0.4958 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.426, allocations: 37.69 kB / 0.4958 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.4262, allocations: 279.8 kB / 0.4961 GB, free: 264 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.4263, allocations: 182.4 kB / 0.4962 GB, free: 104 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.4264, allocations: 0 / 0.4962 GB, free: 104 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4265, allocations: 371.2 kB / 0.4966 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.4268, allocations: 195.5 kB / 0.4968 GB, free: 15.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.4272, allocations: 351.1 kB / 0.4971 GB, free: 15.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.4276, allocations: 216.6 kB / 0.4973 GB, free: 15.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4276, allocations: 0 / 0.4973 GB, free: 15.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009738/0.4286, allocations: 0.6558 MB / 0.498 GB, free: 14.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000521/0.4291, allocations: 1.566 MB / 0.4995 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4291, allocations: 7.906 kB / 0.4995 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004868/0.4296, allocations: 160.9 kB / 0.4997 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.4301, allocations: 110.2 kB / 0.4998 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.4332, allocations: 3.297 MB / 0.503 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.4337, allocations: 79.56 kB / 0.5031 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.4338, allocations: 24 kB / 0.5031 GB, free: 9.551 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.4338, allocations: 10.47 kB / 0.5031 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008989/0.4347, allocations: 0.5627 MB / 0.5036 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.4347, allocations: 4 kB / 0.5036 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/0.4351, allocations: 157.7 kB / 0.5038 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.4355, allocations: 107.8 kB / 0.5039 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/0.4385, allocations: 3.298 MB / 0.5071 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.439, allocations: 67.62 kB / 0.5072 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.4391, allocations: 24 kB / 0.5072 GB, free: 5.09 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.0002074/0.4393, allocations: 138.2 kB / 0.5073 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.4394, allocations: 59.25 kB / 0.5074 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.4396, allocations: 65.47 kB / 0.5075 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.4396, allocations: 8 kB / 0.5075 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4396, allocations: 0 / 0.5075 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4396, allocations: 3.984 kB / 0.5075 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.4416, allocations: 1.329 MB / 0.5088 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4416, allocations: 0 / 0.5088 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.442, allocations: 83.88 kB / 0.5088 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/0.4424, allocations: 149.6 kB / 0.509 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.4425, allocations: 8.656 kB / 0.509 GB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.4454, allocations: 3.265 MB / 0.5122 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4455, allocations: 0 / 0.5122 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001303/0.4468, allocations: 0.9519 MB / 0.5131 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.447, allocations: 192.2 kB / 0.5133 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.336e-05/0.4471, allocations: 8 kB / 0.5133 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.4475, allocations: 47.95 kB / 0.5133 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4477, allocations: 52.52 kB / 0.5134 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.4477, allocations: 23.98 kB / 0.5134 GB, free: 14.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003034/0.448, allocations: 276.2 kB / 0.5137 GB, free: 14.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001123/0.4492, allocations: 322.9 kB / 0.514 GB, free: 13.8 MB / 394.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.0001965/0.4494, allocations: 137.8 kB / 0.5141 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.4512, allocations: 1.292 MB / 0.5154 GB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4512, allocations: 256 / 0.5154 GB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.4518, allocations: 0.494 MB / 0.5159 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.4523, allocations: 92.08 kB / 0.516 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.4546, allocations: 1.054 MB / 0.517 GB, free: 10.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/0.4552, allocations: 1.006 MB / 0.518 GB, free: 9.617 MB / 394.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4552, allocations: 0 / 0.518 GB, free: 9.617 MB / 394.7 MB Notification: Performance of Templates: time 0.01991/0.4751, allocations: 12.3 MB / 0.53 GB, free: 13.55 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches