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_R.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_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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009309/0.0009309, allocations: 183.8 kB / 18.04 MB, free: 3.777 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.363/1.363, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007876/0.0007876, allocations: 92.14 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.000319, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2147, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09657/0.3113, allocations: 87.74 MB / 464.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.3116, allocations: 91.94 kB / 464.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03481/0.3464, allocations: 13.64 MB / 478.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3465, allocations: 0 / 478.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.708e-05/0.3465, allocations: 16 kB / 478.5 MB, free: 10.98 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001552/0.3481, allocations: 0.9302 MB / 479.5 MB, free: 9.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3481, allocations: 8.031 kB / 479.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.3483, allocations: 91.84 kB / 479.6 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007144/0.349, allocations: 0.5028 MB / 480.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.3491, allocations: 53.69 kB / 480.1 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.3492, allocations: 60.38 kB / 480.2 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.3503, allocations: 0.7026 MB / 480.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.3504, allocations: 4.188 kB / 480.9 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.3505, allocations: 31.88 kB / 480.9 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.3505, allocations: 16 kB / 480.9 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.3514, allocations: 0.5243 MB / 481.4 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.3549, allocations: 2.604 MB / 484.1 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.356, allocations: 0.5803 MB / 484.6 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/0.3566, allocations: 326 kB / 485 MB, free: 4.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.3566, allocations: 12.42 kB / 485 MB, free: 4.273 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005479/0.3572, allocations: 345.7 kB / 485.3 MB, free: 3.918 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 4.047e-06/0.3572, allocations: 0 / 485.3 MB, free: 3.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.002382/0.3596, allocations: 0.996 MB / 486.3 MB, free: 2.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.3597, allocations: 115.8 kB / 486.4 MB, free: 2.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/0.3603, allocations: 497.8 kB / 486.9 MB, free: 2.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.3603, allocations: 49.69 kB / 486.9 MB, free: 2.207 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.3606, allocations: 316.3 kB / 487.3 MB, free: 1.891 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.3607, allocations: 161.8 kB / 487.4 MB, free: 1.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.3607, allocations: 12 kB / 487.4 MB, free: 1.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3609, allocations: 370.7 kB / 487.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.3613, allocations: 201.2 kB / 488 MB, free: 1.148 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.3617, allocations: 360.2 kB / 488.3 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/0.3624, allocations: 497.9 kB / 488.8 MB, free: 204 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3624, allocations: 4 kB / 488.8 MB, free: 200 kB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001129/0.3636, allocations: 0.6946 MB / 489.5 MB, free: 15.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.3637, allocations: 209.8 kB / 489.7 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3637, allocations: 4 kB / 489.7 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/0.3642, allocations: 156.8 kB / 489.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.3645, allocations: 91.84 kB / 490 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.3671, allocations: 2.347 MB / 492.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.3676, allocations: 87.48 kB / 492.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.3676, allocations: 24 kB / 492.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.3676, allocations: 4 kB / 492.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009576/0.3686, allocations: 0.5876 MB / 493 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3686, allocations: 7.938 kB / 493 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003682/0.369, allocations: 167 kB / 493.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.3693, allocations: 79.84 kB / 493.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.3717, allocations: 2.349 MB / 495.6 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.3721, allocations: 79.55 kB / 495.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/0.3722, allocations: 24 kB / 495.7 MB, free: 8.953 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 (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.0003957/0.3726, allocations: 309 kB / 496 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.3727, allocations: 63.25 kB / 496.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.3729, allocations: 69.5 kB / 496.1 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3729, allocations: 15.88 kB / 496.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3729, allocations: 0 / 496.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3729, allocations: 3.984 kB / 496.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.3748, allocations: 1.36 MB / 497.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3749, allocations: 0 / 497.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.3751, allocations: 39.92 kB / 497.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003566/0.3754, allocations: 148.8 kB / 497.7 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.3755, allocations: 16.03 kB / 497.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.3779, allocations: 2.26 MB / 500 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3779, allocations: 0 / 500 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3793, allocations: 0.9022 MB / 0.4892 GB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.3795, allocations: 184.2 kB / 0.4893 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.3796, allocations: 15.98 kB / 0.4893 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.3799, allocations: 43.97 kB / 0.4894 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.3801, allocations: 76.33 kB / 0.4895 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.3801, allocations: 15.98 kB / 0.4895 GB, free: 3.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00043/0.3806, allocations: 346.9 kB / 0.4898 GB, free: 2.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3806, allocations: 0 / 0.4898 GB, free: 2.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009221/0.3815, allocations: 327.2 kB / 0.4901 GB, free: 2.547 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,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_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 (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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001736/0.3817, allocations: 137.5 kB / 0.4902 GB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.3835, allocations: 1.199 MB / 0.4914 GB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.3835, allocations: 3.984 kB / 0.4914 GB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.3842, allocations: 465.7 kB / 0.4919 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.3848, allocations: 114.4 kB / 0.492 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1516/0.5364, allocations: 1.425 MB / 0.4934 GB, free: 105.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.5369, allocations: 0.9316 MB / 0.4943 GB, free: 104.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.5373, allocations: 77.8 kB / 0.4943 GB, free: 104.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.5375, allocations: 44.72 kB / 0.4944 GB, free: 104.6 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5375, allocations: 0.625 kB / 0.4944 GB, free: 104.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01628/0.5537, allocations: 10.21 MB / 0.5044 GB, free: 104.1 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches