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_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") [: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.00164/0.001641, allocations: 184.2 kB / 8.136 MB, free: 2.207 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.195/1.195, allocations: 221.4 MB / 229.9 MB, free: 3.023 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.0009234/0.0009235, allocations: 114.6 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.914e-06/7.935e-06, allocations: 4 kB / 336.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2, allocations: 50.39 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09168/0.2917, allocations: 88.12 MB / 475 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.2919, allocations: 83.94 kB / 475.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.04525/0.3372, allocations: 14.03 MB / 489.2 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.282e-05/0.3373, allocations: 16 kB / 489.2 MB, free: 0.5078 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001915/0.3392, allocations: 0.8918 MB / 490.1 MB, free: 15.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3393, allocations: 8.031 kB / 490.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.3394, allocations: 90.91 kB / 490.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008537/0.3403, allocations: 0.4978 MB / 490.7 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.3403, allocations: 23.98 kB / 490.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.052e-05/0.3404, allocations: 44 kB / 490.7 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009075/0.3414, allocations: 482.5 kB / 491.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.3424, allocations: 0.6223 MB / 491.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.3425, allocations: 3.906 kB / 491.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/0.3426, allocations: 7.984 kB / 491.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.3426, allocations: 16 kB / 491.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003891/0.3465, allocations: 2.539 MB / 494.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.3473, allocations: 479.5 kB / 494.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.3477, allocations: 255.3 kB / 495.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.3477, allocations: 8.422 kB / 495.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004694/0.3482, allocations: 308.4 kB / 495.4 MB, free: 9.996 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/0.3482, allocations: 0 / 495.4 MB, free: 9.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.0008787/0.3491, allocations: 492.8 kB / 495.9 MB, free: 9.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.3492, allocations: 137 kB / 496 MB, free: 9.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.3496, allocations: 373 kB / 496.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.3497, allocations: 33.69 kB / 496.4 MB, free: 8.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.3499, allocations: 272.1 kB / 496.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.3501, allocations: 161.6 kB / 496.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.3501, allocations: 3.938 kB / 496.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3503, allocations: 362.8 kB / 497.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.3506, allocations: 181.3 kB / 497.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.351, allocations: 344.2 kB / 497.7 MB, free: 7.562 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.3513, allocations: 193.4 kB / 497.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3513, allocations: 0 / 497.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009741/0.3523, allocations: 0.6103 MB / 498.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005865/0.3529, allocations: 1.562 MB / 0.4884 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3529, allocations: 4 kB / 0.4884 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005236/0.3534, allocations: 152.7 kB / 0.4885 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.3538, allocations: 91.83 kB / 0.4886 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.3565, allocations: 2.09 MB / 0.4906 GB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.357, allocations: 87.64 kB / 0.4907 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.3571, allocations: 24 kB / 0.4908 GB, free: 2.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.68e-06/0.3571, allocations: 0 / 0.4908 GB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009544/0.3581, allocations: 0.5194 MB / 0.4913 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3581, allocations: 4 kB / 0.4913 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/0.3585, allocations: 152.6 kB / 0.4914 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.3589, allocations: 79.91 kB / 0.4915 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1993/0.5582, allocations: 2.075 MB / 0.4935 GB, free: 75.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/0.5588, allocations: 65.33 kB / 0.4936 GB, free: 75.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.5589, allocations: 27.59 kB / 0.4936 GB, free: 75.51 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 (63): * Single equations (assignments): 62 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.559, allocations: 138.9 kB / 0.4937 GB, free: 75.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.5591, allocations: 55.94 kB / 0.4938 GB, free: 75.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.5593, allocations: 56.02 kB / 0.4938 GB, free: 75.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5593, allocations: 3.812 kB / 0.4938 GB, free: 75.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5593, allocations: 9.922 kB / 0.4939 GB, free: 75.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5593, allocations: 0 / 0.4939 GB, free: 75.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.5609, allocations: 1.229 MB / 0.4951 GB, free: 75.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5609, allocations: 3.5 kB / 0.4951 GB, free: 75.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.5611, allocations: 52.42 kB / 0.4951 GB, free: 75.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/0.5615, allocations: 136.4 kB / 0.4952 GB, free: 75.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.5615, allocations: 6.438 kB / 0.4952 GB, free: 75.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.5635, allocations: 2.047 MB / 0.4972 GB, free: 73.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5635, allocations: 0 / 0.4972 GB, free: 73.94 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001034/0.5645, allocations: 0.8537 MB / 0.4981 GB, free: 73.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.5647, allocations: 187.6 kB / 0.4983 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.5648, allocations: 5.5 kB / 0.4983 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.5652, allocations: 39.72 kB / 0.4983 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5653, allocations: 45.48 kB / 0.4983 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.5653, allocations: 23.17 kB / 0.4984 GB, free: 73.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002661/0.5656, allocations: 271.8 kB / 0.4986 GB, free: 73.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008058/0.5664, allocations: 298.8 kB / 0.4989 GB, free: 73.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001699/0.5666, allocations: 134.7 kB / 0.499 GB, free: 73.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.568, allocations: 1.059 MB / 0.5001 GB, free: 73.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.568, allocations: 0 / 0.5001 GB, free: 73.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.5684, allocations: 376.2 kB / 0.5004 GB, free: 73.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.5689, allocations: 91.11 kB / 0.5005 GB, free: 73.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.5707, allocations: 0.9139 MB / 0.5014 GB, free: 72.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/0.5712, allocations: 0.9853 MB / 0.5024 GB, free: 72.17 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5712, allocations: 0 / 0.5024 GB, free: 72.17 MB / 378.7 MB Notification: Performance of Templates: time 0.01753/0.5887, allocations: 11.5 MB / 0.5136 GB, free: 70.82 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches