Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001637/0.001636, allocations: 180.6 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.646/1.646, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.001003/0.001003, allocations: 96.2 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3744, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.5183, allocations: 87.93 MB / 463.8 MB, free: 8.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003723/0.5187, allocations: 87.95 kB / 463.8 MB, free: 8.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03924/0.558, allocations: 13.96 MB / 477.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5581, allocations: 0 / 477.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.007e-05/0.5581, allocations: 20 kB / 477.8 MB, free: 10.59 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001942/0.5601, allocations: 0.954 MB / 478.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.5601, allocations: 12.03 kB / 478.8 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.5603, allocations: 82.97 kB / 478.9 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009877/0.5613, allocations: 0.5057 MB / 479.4 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.5614, allocations: 53.31 kB / 479.4 MB, free: 8.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.5616, allocations: 64 kB / 479.5 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.563, allocations: 0.7176 MB / 480.2 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.5631, allocations: 4 kB / 480.2 MB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.5631, allocations: 24 kB / 480.2 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.5632, allocations: 16 kB / 480.2 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.5643, allocations: 0.5399 MB / 480.8 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004453/0.5688, allocations: 2.659 MB / 483.4 MB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.57, allocations: 0.5851 MB / 484 MB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.5701, allocations: 12.38 kB / 484 MB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006221/0.5707, allocations: 353.6 kB / 484.4 MB, free: 3.738 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.296e-06/0.5707, allocations: 0 / 484.4 MB, free: 3.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.002176/0.5729, allocations: 0.9913 MB / 485.4 MB, free: 2.699 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/0.573, allocations: 111.8 kB / 485.5 MB, free: 2.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.5737, allocations: 449 kB / 485.9 MB, free: 2.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.5738, allocations: 41.7 kB / 486 MB, free: 2.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.5741, allocations: 324.3 kB / 486.3 MB, free: 1.754 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.5742, allocations: 173.6 kB / 486.5 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.5743, allocations: 12 kB / 486.5 MB, free: 1.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.5745, allocations: 370.9 kB / 486.8 MB, free: 1.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.5749, allocations: 209.2 kB / 487 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.5754, allocations: 376 kB / 487.4 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.5758, allocations: 222.1 kB / 487.6 MB, free: 356 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.5758, allocations: 4 kB / 487.6 MB, free: 352 kB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001214/0.577, allocations: 0.7074 MB / 488.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006715/0.5777, allocations: 1.57 MB / 489.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5777, allocations: 8 kB / 489.9 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/0.5782, allocations: 141.6 kB / 490 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.5786, allocations: 99.83 kB / 490.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.5821, allocations: 3.478 MB / 493.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.5827, allocations: 87.61 kB / 493.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.5827, allocations: 31.97 kB / 493.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.5827, allocations: 4 kB / 493.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001027/0.5838, allocations: 0.6044 MB / 494.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5838, allocations: 4 kB / 494.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003499/0.5841, allocations: 141.6 kB / 494.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.5845, allocations: 91.83 kB / 494.6 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.5876, allocations: 3.492 MB / 498.1 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.5881, allocations: 83.52 kB / 498.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.5881, allocations: 24 kB / 498.2 MB, free: 5.102 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,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_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 (67): * Single equations (assignments): 65 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006007/0.5887, allocations: 311.4 kB / 498.5 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.5888, allocations: 59.34 kB / 498.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.589, allocations: 65.59 kB / 498.6 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.589, allocations: 4 kB / 498.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.589, allocations: 3.984 kB / 498.6 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.589, allocations: 7.891 kB / 498.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.5911, allocations: 1.394 MB / 0.4883 GB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.5911, allocations: 4 kB / 0.4883 GB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.5914, allocations: 47.98 kB / 0.4883 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003461/0.5917, allocations: 141.5 kB / 0.4885 GB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.5918, allocations: 12 kB / 0.4885 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2733/0.8652, allocations: 3.301 MB / 0.4917 GB, free: 104.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8652, allocations: 3.812 kB / 0.4917 GB, free: 104.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.8674, allocations: 0.9261 MB / 0.4926 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.8677, allocations: 187.4 kB / 0.4928 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/0.8678, allocations: 15.67 kB / 0.4928 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.8682, allocations: 42.72 kB / 0.4929 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/0.8684, allocations: 79.42 kB / 0.4929 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.8685, allocations: 14.59 kB / 0.4929 GB, free: 104.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006062/0.8691, allocations: 347.5 kB / 0.4933 GB, free: 104 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8691, allocations: 3.562 kB / 0.4933 GB, free: 104 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001485/0.8706, allocations: 339 kB / 0.4936 GB, free: 104 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,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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002398/0.8709, allocations: 133.7 kB / 0.4937 GB, free: 103.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.8731, allocations: 1.378 MB / 0.4951 GB, free: 103.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.8731, allocations: 2.562 kB / 0.4951 GB, free: 103.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000711/0.8738, allocations: 0.5329 MB / 0.4956 GB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.8744, allocations: 104.3 kB / 0.4957 GB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.8769, allocations: 1.549 MB / 0.4972 GB, free: 102.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.8774, allocations: 0.9455 MB / 0.4981 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003325/0.8777, allocations: 90.86 kB / 0.4982 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.8778, allocations: 43.39 kB / 0.4983 GB, free: 101.8 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.8779, allocations: 0 / 0.4983 GB, free: 101.8 MB / 378.7 MB Notification: Performance of Templates: time 0.01785/0.8957, allocations: 10.02 MB / 0.508 GB, free: 101.2 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches