Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009837/0.0009837, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000915/0.000915, allocations: 97.41 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.293, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4144, allocations: 87.47 MB / 463.3 MB, free: 9.188 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.4148, allocations: 91.94 kB / 463.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03493/0.4497, allocations: 12.99 MB / 476.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.4498, allocations: 0 / 476.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.338e-05/0.4499, allocations: 16 kB / 476.4 MB, free: 12.04 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001816/0.4517, allocations: 0.8993 MB / 477.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.4518, allocations: 8.031 kB / 477.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.4519, allocations: 83.02 kB / 477.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007878/0.4527, allocations: 478 kB / 477.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.4528, allocations: 53.25 kB / 477.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-05/0.4529, allocations: 60 kB / 478 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.4541, allocations: 0.634 MB / 478.6 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.4541, allocations: 3.906 kB / 478.6 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.4542, allocations: 31.98 kB / 478.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.4542, allocations: 16 kB / 478.6 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.4552, allocations: 488.9 kB / 479.1 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.4588, allocations: 2.291 MB / 481.4 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/0.4598, allocations: 480.5 kB / 481.9 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.4599, allocations: 7.984 kB / 481.9 MB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005437/0.4604, allocations: 316.1 kB / 482.2 MB, free: 5.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.645e-06/0.4604, allocations: 3.938 kB / 482.2 MB, free: 5.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001684/0.4621, allocations: 0.7364 MB / 482.9 MB, free: 5.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.4623, allocations: 106.8 kB / 483 MB, free: 5.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.4628, allocations: 432.9 kB / 483.5 MB, free: 4.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.4629, allocations: 41.69 kB / 483.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.4631, allocations: 308.4 kB / 483.8 MB, free: 4.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.4633, allocations: 146.1 kB / 483.9 MB, free: 4.137 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.4633, allocations: 8 kB / 484 MB, free: 4.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.4635, allocations: 362.7 kB / 484.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.4639, allocations: 181 kB / 484.5 MB, free: 3.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.4644, allocations: 331.8 kB / 484.8 MB, free: 3.203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.4648, allocations: 196.7 kB / 485 MB, free: 3.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4648, allocations: 0 / 485 MB, free: 3.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001014/0.4658, allocations: 0.6017 MB / 485.6 MB, free: 2.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007969/0.4666, allocations: 1.57 MB / 487.2 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.4666, allocations: 4 kB / 487.2 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003294/0.467, allocations: 84.75 kB / 487.3 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.4673, allocations: 87.83 kB / 487.3 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.4693, allocations: 1.796 MB / 489.1 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.4698, allocations: 79.56 kB / 489.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.4699, allocations: 23.98 kB / 489.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4699, allocations: 8.062 kB / 489.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008675/0.4708, allocations: 0.4993 MB / 489.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.4708, allocations: 4 kB / 489.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.471, allocations: 73.08 kB / 489.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.4713, allocations: 87.83 kB / 489.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.4731, allocations: 1.805 MB / 491.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.4736, allocations: 67.66 kB / 491.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.4736, allocations: 31.94 kB / 491.8 MB, free: 11.79 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: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (60): * Single equations (assignments): 59 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005278/0.4741, allocations: 301 kB / 492.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.4743, allocations: 51.39 kB / 492.2 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.4744, allocations: 61.09 kB / 492.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4744, allocations: 11.94 kB / 492.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4744, allocations: 0 / 492.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4744, allocations: 0 / 492.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.4762, allocations: 1.167 MB / 493.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4762, allocations: 0 / 493.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.4764, allocations: 48.16 kB / 493.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/0.4767, allocations: 72.83 kB / 493.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.4767, allocations: 11.98 kB / 493.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.4785, allocations: 1.803 MB / 495.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4785, allocations: 0 / 495.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.4797, allocations: 0.751 MB / 496.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.48, allocations: 168.4 kB / 496.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.818e-05/0.48, allocations: 15.95 kB / 496.3 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.4804, allocations: 51.89 kB / 496.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4805, allocations: 47.92 kB / 496.4 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.4806, allocations: 16 kB / 496.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004315/0.481, allocations: 327.1 kB / 496.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.481, allocations: 0 / 496.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001058/0.4821, allocations: 283.1 kB / 497 MB, free: 6.391 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: 18 (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_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,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_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002789/0.4824, allocations: 133.5 kB / 497.1 MB, free: 6.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.4841, allocations: 0.9756 MB / 498.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4842, allocations: 0 / 498.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.4847, allocations: 375.1 kB / 498.4 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.4852, allocations: 89.22 kB / 498.5 MB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.4874, allocations: 1.368 MB / 499.9 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.488, allocations: 0.9222 MB / 0.4891 GB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003249/0.4883, allocations: 96.42 kB / 0.4892 GB, free: 2.348 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.4884, allocations: 35.44 kB / 0.4892 GB, free: 2.312 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4884, allocations: 0 / 0.4892 GB, free: 2.312 MB / 378.7 MB Notification: Performance of Templates: time 0.2405/0.7289, allocations: 7.241 MB / 0.4963 GB, free: 105.2 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches