Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000929/0.0009291, allocations: 98.98 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 11.94 kB / 351.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2956, allocations: 50.41 MB / 401.5 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.4104, allocations: 89.01 MB / 490.5 MB, free: 7.402 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.4107, allocations: 83.95 kB / 490.6 MB, free: 7.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02891/0.4396, allocations: 11.41 MB / 0.4903 GB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4397, allocations: 7.938 kB / 0.4903 GB, free: 11.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.521e-05/0.4397, allocations: 12 kB / 0.4903 GB, free: 11.82 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001753/0.4415, allocations: 0.97 MB / 0.4912 GB, free: 10.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4415, allocations: 8.031 kB / 0.4912 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.4417, allocations: 86.97 kB / 0.4913 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.4425, allocations: 497.9 kB / 0.4918 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.738e-05/0.4426, allocations: 53.31 kB / 0.4918 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.75e-05/0.4427, allocations: 68 kB / 0.4919 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.4439, allocations: 0.7185 MB / 0.4926 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.4439, allocations: 15.94 kB / 0.4926 GB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/0.444, allocations: 24 kB / 0.4926 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.444, allocations: 16 kB / 0.4927 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.445, allocations: 0.5555 MB / 0.4932 GB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.449, allocations: 2.666 MB / 0.4958 GB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009355/0.4499, allocations: 0.545 MB / 0.4963 GB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.45, allocations: 8.469 kB / 0.4963 GB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000581/0.4506, allocations: 361.6 kB / 0.4967 GB, free: 4.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.495e-06/0.4506, allocations: 3.938 kB / 0.4967 GB, free: 4.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002413/0.453, allocations: 1.008 MB / 0.4977 GB, free: 3.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/0.4531, allocations: 152.9 kB / 0.4978 GB, free: 3.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/0.4537, allocations: 453 kB / 0.4983 GB, free: 3.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.4538, allocations: 45.7 kB / 0.4983 GB, free: 3.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.454, allocations: 312.3 kB / 0.4986 GB, free: 2.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4541, allocations: 173.6 kB / 0.4988 GB, free: 2.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.4542, allocations: 12 kB / 0.4988 GB, free: 2.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4543, allocations: 366.8 kB / 0.4991 GB, free: 2.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.4547, allocations: 209.2 kB / 0.4993 GB, free: 2.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004801/0.4552, allocations: 369.6 kB / 0.4997 GB, free: 1.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.4556, allocations: 230.1 kB / 0.4999 GB, free: 1.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4556, allocations: 0 / 0.4999 GB, free: 1.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001127/0.4568, allocations: 0.7058 MB / 0.5006 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1824/0.6392, allocations: 1.573 MB / 0.5021 GB, free: 94.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/0.6393, allocations: 3.906 kB / 0.5021 GB, free: 94.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007505/0.6401, allocations: 154.8 kB / 0.5023 GB, free: 94.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.6406, allocations: 91.44 kB / 0.5024 GB, free: 94.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/0.6436, allocations: 2.366 MB / 0.5047 GB, free: 93.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/0.6443, allocations: 93.36 kB / 0.5048 GB, free: 93.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/0.6443, allocations: 30.91 kB / 0.5048 GB, free: 93.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.6444, allocations: 3.844 kB / 0.5048 GB, free: 93.41 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001128/0.6455, allocations: 0.6019 MB / 0.5054 GB, free: 93.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.6455, allocations: 3.844 kB / 0.5054 GB, free: 93.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/0.646, allocations: 150.7 kB / 0.5055 GB, free: 93.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.6463, allocations: 81.23 kB / 0.5056 GB, free: 93.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.6488, allocations: 2.371 MB / 0.5079 GB, free: 92.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.6494, allocations: 71.06 kB / 0.508 GB, free: 92.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.6495, allocations: 22.22 kB / 0.508 GB, free: 92.07 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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.0005772/0.65, allocations: 325.8 kB / 0.5083 GB, free: 91.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.6502, allocations: 60.92 kB / 0.5084 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.6503, allocations: 65.67 kB / 0.5084 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.6503, allocations: 7.078 kB / 0.5084 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6503, allocations: 0 / 0.5084 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6503, allocations: 3.203 kB / 0.5084 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.6523, allocations: 1.407 MB / 0.5098 GB, free: 91.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6523, allocations: 0 / 0.5098 GB, free: 91.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.6525, allocations: 50.22 kB / 0.5099 GB, free: 91.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003373/0.6529, allocations: 148.9 kB / 0.51 GB, free: 91.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.6529, allocations: 14.28 kB / 0.51 GB, free: 91.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.6551, allocations: 2.361 MB / 0.5123 GB, free: 89.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.6552, allocations: 7.172 kB / 0.5123 GB, free: 89.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.6564, allocations: 0.9489 MB / 0.5133 GB, free: 89.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.6566, allocations: 187.4 kB / 0.5134 GB, free: 88.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.6567, allocations: 14.2 kB / 0.5135 GB, free: 88.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.657, allocations: 43.5 kB / 0.5135 GB, free: 88.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.6572, allocations: 56.83 kB / 0.5136 GB, free: 88.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.6572, allocations: 17.23 kB / 0.5136 GB, free: 88.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000407/0.6576, allocations: 355.3 kB / 0.5139 GB, free: 88.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6576, allocations: 0 / 0.5139 GB, free: 88.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001103/0.6587, allocations: 337.5 kB / 0.5142 GB, free: 88.66 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Number of clocked states: 0 () * 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.0001753/0.6589, allocations: 133.3 kB / 0.5144 GB, free: 88.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.6608, allocations: 1.227 MB / 0.5156 GB, free: 87.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.6608, allocations: 3.719 kB / 0.5156 GB, free: 87.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005756/0.6614, allocations: 459.3 kB / 0.516 GB, free: 87.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.6619, allocations: 114 kB / 0.5161 GB, free: 87.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.664, allocations: 1.471 MB / 0.5175 GB, free: 86.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.6644, allocations: 0.9623 MB / 0.5185 GB, free: 86.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003229/0.6647, allocations: 97.56 kB / 0.5186 GB, free: 86.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.6648, allocations: 41.28 kB / 0.5186 GB, free: 86.07 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6648, allocations: 0 / 0.5186 GB, free: 86.07 MB / 378.7 MB Notification: Performance of Templates: time 0.01637/0.6812, allocations: 10.14 MB / 0.5285 GB, free: 81.58 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches