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.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,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_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_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") [: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.001084/0.001084, allocations: 183 kB / 8.135 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.187/1.187, allocations: 221.4 MB / 229.9 MB, free: 3.098 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.0008773/0.0008773, allocations: 104.1 kB / 280.8 MB, free: 1.207 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.477e-06/9.568e-06, allocations: 0 / 336.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2037, allocations: 50.4 MB / 386.9 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0907/0.2944, allocations: 88.74 MB / 475.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.2947, allocations: 85.12 kB / 475.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.03799/0.3327, allocations: 14.66 MB / 490.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.761e-05/0.3328, allocations: 16 kB / 490.4 MB, free: 15.14 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001505/0.3343, allocations: 0.9289 MB / 491.4 MB, free: 14.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3343, allocations: 8.031 kB / 491.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.3345, allocations: 98.86 kB / 491.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007944/0.3353, allocations: 0.5103 MB / 492 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.3353, allocations: 31.89 kB / 492 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.3354, allocations: 44 kB / 492 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009007/0.3363, allocations: 0.496 MB / 492.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.3374, allocations: 0.6505 MB / 493.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.3374, allocations: 0 / 493.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.3375, allocations: 4 kB / 493.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.3375, allocations: 20 kB / 493.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003668/0.3412, allocations: 2.639 MB / 495.9 MB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/0.3419, allocations: 481.5 kB / 496.3 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/0.3426, allocations: 391.9 kB / 496.7 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.3426, allocations: 16.42 kB / 496.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004659/0.3431, allocations: 319.9 kB / 497 MB, free: 8.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 1.944e-06/0.3431, allocations: 0 / 497 MB, free: 8.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001009/0.3441, allocations: 0.5484 MB / 497.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.3442, allocations: 137 kB / 497.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.3446, allocations: 377 kB / 498.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.3447, allocations: 37.69 kB / 498.1 MB, free: 7.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.3449, allocations: 272.1 kB / 498.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.345, allocations: 181.5 kB / 498.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.345, allocations: 0 / 498.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3452, allocations: 366.8 kB / 498.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.3455, allocations: 189.5 kB / 499.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.3459, allocations: 357.4 kB / 499.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.3462, allocations: 203.1 kB / 499.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3462, allocations: 4 kB / 499.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001018/0.3472, allocations: 0.6375 MB / 0.4886 GB, free: 4.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004634/0.3477, allocations: 1.571 MB / 0.4901 GB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3477, allocations: 4 kB / 0.4901 GB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000488/0.3482, allocations: 161.6 kB / 0.4903 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.3487, allocations: 107.8 kB / 0.4904 GB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1076/0.4563, allocations: 3.291 MB / 0.4936 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.4568, allocations: 82.69 kB / 0.4937 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.4569, allocations: 23.12 kB / 0.4937 GB, free: 132 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.4569, allocations: 3.906 kB / 0.4937 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007775/0.4577, allocations: 0.5511 MB / 0.4942 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4577, allocations: 3.75 kB / 0.4942 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.4581, allocations: 158.1 kB / 0.4944 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.4584, allocations: 97.41 kB / 0.4945 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.4607, allocations: 3.298 MB / 0.4977 GB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.4611, allocations: 67.28 kB / 0.4978 GB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.4612, allocations: 25.41 kB / 0.4978 GB, free: 129.5 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 (68): * Single equations (assignments): 66 * 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.0001437/0.4613, allocations: 140.7 kB / 0.4979 GB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/0.4614, allocations: 60.5 kB / 0.498 GB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.4615, allocations: 62.08 kB / 0.498 GB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4616, allocations: 7.438 kB / 0.498 GB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4616, allocations: 0 / 0.498 GB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4616, allocations: 0 / 0.498 GB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.4632, allocations: 1.314 MB / 0.4993 GB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4632, allocations: 0 / 0.4993 GB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.4635, allocations: 62.23 kB / 0.4994 GB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003655/0.4639, allocations: 146 kB / 0.4995 GB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.4639, allocations: 9.094 kB / 0.4995 GB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.4662, allocations: 3.275 MB / 0.5027 GB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4663, allocations: 0 / 0.5027 GB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001139/0.4674, allocations: 0.9169 MB / 0.5036 GB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.4676, allocations: 192.9 kB / 0.5038 GB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.196e-05/0.4677, allocations: 3.219 kB / 0.5038 GB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.4681, allocations: 42.03 kB / 0.5039 GB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.4682, allocations: 50.39 kB / 0.5039 GB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.4682, allocations: 21.97 kB / 0.5039 GB, free: 126.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002411/0.4685, allocations: 274.9 kB / 0.5042 GB, free: 126.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009569/0.4694, allocations: 320.2 kB / 0.5045 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 (44): * 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: 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.0001583/0.4696, allocations: 135.5 kB / 0.5046 GB, free: 126.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.4711, allocations: 1.265 MB / 0.5059 GB, free: 125.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4711, allocations: 7.531 kB / 0.5059 GB, free: 125.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005325/0.4716, allocations: 489.6 kB / 0.5063 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.000464/0.4721, allocations: 81 kB / 0.5064 GB, free: 125.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.474, allocations: 1.008 MB / 0.5074 GB, free: 125.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/0.4745, allocations: 1.009 MB / 0.5084 GB, free: 124.5 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4745, allocations: 0 / 0.5084 GB, free: 124.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01815/0.4926, allocations: 11.88 MB / 0.52 GB, free: 124.1 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_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/ThyristorBridge2Pulse_RLV.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches