Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.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_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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009786/0.0009786, allocations: 196.1 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 226.5 MB / 245.4 MB, free: 8.141 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007524/0.0007525, allocations: 108.1 kB / 297.4 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002054/0.0002054, allocations: 8 kB / 357.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2031, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09551/0.2987, allocations: 89.72 MB / 498.4 MB, free: 1.844 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.2989, allocations: 87.94 kB / 498.5 MB, free: 1.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03505/0.334, allocations: 14.58 MB / 0.501 GB, free: 3.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.334, allocations: 4 kB / 0.501 GB, free: 3.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.319e-05/0.3341, allocations: 12 kB / 0.5011 GB, free: 3.082 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001464/0.3355, allocations: 0.9658 MB / 0.502 GB, free: 2.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3356, allocations: 12.03 kB / 0.502 GB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.3358, allocations: 99.89 kB / 0.5021 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.3365, allocations: 0.5105 MB / 0.5026 GB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.3366, allocations: 57.61 kB / 0.5027 GB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-05/0.3367, allocations: 72.38 kB / 0.5027 GB, free: 1.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.3378, allocations: 0.7307 MB / 0.5034 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.3378, allocations: 8.188 kB / 0.5035 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.3379, allocations: 27.94 kB / 0.5035 GB, free: 480 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3379, allocations: 16 kB / 0.5035 GB, free: 464 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1437/0.4817, allocations: 0.5497 MB / 0.504 GB, free: 91.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.4854, allocations: 2.705 MB / 0.5067 GB, free: 90.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/0.4862, allocations: 0.5343 MB / 0.5072 GB, free: 90.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/0.4867, allocations: 336 kB / 0.5075 GB, free: 90.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.4868, allocations: 5.812 kB / 0.5075 GB, free: 90.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.4873, allocations: 364 kB / 0.5079 GB, free: 90.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.414e-06/0.4873, allocations: 0 / 0.5079 GB, free: 90.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002203/0.4895, allocations: 1.036 MB / 0.5089 GB, free: 90.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4896, allocations: 142.9 kB / 0.509 GB, free: 89.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.4902, allocations: 0.5029 MB / 0.5095 GB, free: 89.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.4903, allocations: 45.8 kB / 0.5095 GB, free: 89.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.4905, allocations: 327.8 kB / 0.5099 GB, free: 89.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.4906, allocations: 169.3 kB / 0.51 GB, free: 89.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.4906, allocations: 15.59 kB / 0.51 GB, free: 89.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.4907, allocations: 369.8 kB / 0.5104 GB, free: 89.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.4911, allocations: 211.7 kB / 0.5106 GB, free: 89.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.4916, allocations: 383.1 kB / 0.511 GB, free: 89.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.4923, allocations: 0.5179 MB / 0.5115 GB, free: 88.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4923, allocations: 3.75 kB / 0.5115 GB, free: 88.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009686/0.4932, allocations: 0.716 MB / 0.5122 GB, free: 88.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.4933, allocations: 214.8 kB / 0.5124 GB, free: 88.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4933, allocations: 7.875 kB / 0.5124 GB, free: 88.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.4937, allocations: 154.6 kB / 0.5125 GB, free: 88.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.494, allocations: 97.58 kB / 0.5126 GB, free: 88.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.4961, allocations: 2.353 MB / 0.5149 GB, free: 86.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.4965, allocations: 93.67 kB / 0.515 GB, free: 86.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.4966, allocations: 24.69 kB / 0.515 GB, free: 86.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.531e-06/0.4966, allocations: 2.938 kB / 0.515 GB, free: 86.26 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008233/0.4974, allocations: 0.6202 MB / 0.5156 GB, free: 85.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4974, allocations: 3.969 kB / 0.5156 GB, free: 85.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.4977, allocations: 158.8 kB / 0.5158 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.498, allocations: 80.91 kB / 0.5159 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.4999, allocations: 2.361 MB / 0.5182 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.5003, allocations: 73.47 kB / 0.5182 GB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.5003, allocations: 23.56 kB / 0.5183 GB, free: 84.01 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 () * Number of clocked 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.000322/0.5007, allocations: 320.5 kB / 0.5186 GB, free: 83.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.97e-05/0.5007, allocations: 62.44 kB / 0.5186 GB, free: 83.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.5008, allocations: 74.69 kB / 0.5187 GB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5009, allocations: 7.938 kB / 0.5187 GB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5009, allocations: 3.062 kB / 0.5187 GB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5009, allocations: 3.516 kB / 0.5187 GB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.5025, allocations: 1.418 MB / 0.5201 GB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5025, allocations: 0 / 0.5201 GB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.5027, allocations: 46.91 kB / 0.5201 GB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003287/0.5031, allocations: 143.2 kB / 0.5203 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.5031, allocations: 15.19 kB / 0.5203 GB, free: 82.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.5051, allocations: 2.26 MB / 0.5225 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5051, allocations: 3.75 kB / 0.5225 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.5063, allocations: 0.9384 MB / 0.5234 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.5064, allocations: 190.5 kB / 0.5236 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.5065, allocations: 15.62 kB / 0.5236 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.5068, allocations: 43.06 kB / 0.5237 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.507, allocations: 75.2 kB / 0.5237 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.507, allocations: 23.14 kB / 0.5238 GB, free: 80.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003479/0.5074, allocations: 352.9 kB / 0.5241 GB, free: 80.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5074, allocations: 4 kB / 0.5241 GB, free: 80.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008679/0.5083, allocations: 349.9 kB / 0.5244 GB, free: 80.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * 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.0001485/0.5084, allocations: 136.7 kB / 0.5246 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.51, allocations: 1.236 MB / 0.5258 GB, free: 79.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.51, allocations: 3.688 kB / 0.5258 GB, free: 79.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.5105, allocations: 480 kB / 0.5262 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/0.5111, allocations: 106.9 kB / 0.5263 GB, free: 79.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.513, allocations: 1.533 MB / 0.5278 GB, free: 78.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.5133, allocations: 0.9375 MB / 0.5287 GB, free: 77.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.5134, allocations: 42 kB / 0.5288 GB, free: 77.46 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5134, allocations: 0 / 0.5288 GB, free: 77.46 MB / 378.7 MB Notification: Performance of Templates: time 0.01042/0.5238, allocations: 11.41 MB / 0.5399 GB, free: 68.93 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins1/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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches