Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 181 kB / 16.38 MB, free: 5.766 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.474/1.474, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.0009408/0.0009407, allocations: 102.4 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002653, allocations: 8 kB / 351.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2371, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3433, allocations: 88.93 MB / 490.4 MB, free: 7.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.3436, allocations: 91.94 kB / 490.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03641/0.38, allocations: 14.41 MB / 0.4931 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.38, allocations: 0 / 0.4931 GB, free: 8.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.483e-05/0.3801, allocations: 16 kB / 0.4931 GB, free: 8.918 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.001632/0.3817, allocations: 0.9724 MB / 0.4941 GB, free: 7.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3818, allocations: 8.031 kB / 0.4941 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.3819, allocations: 86.97 kB / 0.4942 GB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.3827, allocations: 0.4901 MB / 0.4946 GB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/0.3828, allocations: 57.3 kB / 0.4947 GB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.4e-05/0.3829, allocations: 72 kB / 0.4948 GB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.3841, allocations: 0.7341 MB / 0.4955 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.3841, allocations: 0 / 0.4955 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.3842, allocations: 28 kB / 0.4955 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.3842, allocations: 16 kB / 0.4955 GB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009793/0.3852, allocations: 0.5594 MB / 0.4961 GB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.3891, allocations: 2.678 MB / 0.4987 GB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/0.3901, allocations: 0.5411 MB / 0.4992 GB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.3901, allocations: 8.422 kB / 0.4992 GB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00061/0.3907, allocations: 374 kB / 0.4996 GB, free: 2.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.525e-06/0.3907, allocations: 0 / 0.4996 GB, free: 2.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002397/0.3931, allocations: 1.008 MB / 0.5006 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.3933, allocations: 149.1 kB / 0.5007 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.3939, allocations: 445 kB / 0.5011 GB, free: 388 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/0.3939, allocations: 49.69 kB / 0.5012 GB, free: 332 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.3942, allocations: 316.3 kB / 0.5015 GB, free: 8 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2025/0.5967, allocations: 166.1 kB / 0.5016 GB, free: 95.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.5968, allocations: 12.72 kB / 0.5017 GB, free: 95.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.597, allocations: 367.3 kB / 0.502 GB, free: 95.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.5976, allocations: 214.2 kB / 0.5022 GB, free: 95.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/0.5982, allocations: 377.8 kB / 0.5026 GB, free: 95.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.5987, allocations: 235.7 kB / 0.5028 GB, free: 95.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.5987, allocations: 1.344 kB / 0.5028 GB, free: 95.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001379/0.6001, allocations: 0.7204 MB / 0.5035 GB, free: 94.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002754/0.6004, allocations: 1.581 MB / 0.505 GB, free: 93.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6004, allocations: 4.828 kB / 0.505 GB, free: 93.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004988/0.6009, allocations: 153.3 kB / 0.5052 GB, free: 93.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.6013, allocations: 92.41 kB / 0.5053 GB, free: 93.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/0.604, allocations: 2.393 MB / 0.5076 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.6045, allocations: 92.41 kB / 0.5077 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.6046, allocations: 22.75 kB / 0.5077 GB, free: 91.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.6046, allocations: 4.594 kB / 0.5077 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00111/0.6057, allocations: 0.6129 MB / 0.5083 GB, free: 91.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.6057, allocations: 12.33 kB / 0.5083 GB, free: 91.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00046/0.6062, allocations: 162.5 kB / 0.5085 GB, free: 91.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.6066, allocations: 87.53 kB / 0.5086 GB, free: 91.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.6087, allocations: 2.391 MB / 0.5109 GB, free: 90.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.6092, allocations: 84.22 kB / 0.511 GB, free: 90.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.6093, allocations: 24.81 kB / 0.511 GB, free: 90.45 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.0004219/0.6097, allocations: 318.8 kB / 0.5113 GB, free: 90.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.005e-05/0.6098, allocations: 61.75 kB / 0.5114 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.6099, allocations: 72.98 kB / 0.5114 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6099, allocations: 3.438 kB / 0.5115 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6099, allocations: 0 / 0.5115 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.6099, allocations: 7.828 kB / 0.5115 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.6117, allocations: 1.398 MB / 0.5128 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6117, allocations: 0 / 0.5128 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.612, allocations: 50.52 kB / 0.5129 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000356/0.6123, allocations: 143.6 kB / 0.513 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.6124, allocations: 14.97 kB / 0.513 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.6145, allocations: 2.313 MB / 0.5153 GB, free: 87.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6145, allocations: 2.156 kB / 0.5153 GB, free: 87.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.6158, allocations: 0.933 MB / 0.5162 GB, free: 87.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.616, allocations: 195.8 kB / 0.5164 GB, free: 86.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.6161, allocations: 15.11 kB / 0.5164 GB, free: 86.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.6164, allocations: 42.7 kB / 0.5164 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.6166, allocations: 76.48 kB / 0.5165 GB, free: 86.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.6166, allocations: 18.42 kB / 0.5165 GB, free: 86.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003564/0.617, allocations: 346.5 kB / 0.5169 GB, free: 86.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.617, allocations: 3.062 kB / 0.5169 GB, free: 86.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001004/0.618, allocations: 344.9 kB / 0.5172 GB, free: 86.6 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.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.0001766/0.6182, allocations: 149.3 kB / 0.5173 GB, free: 86.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.6199, allocations: 1.239 MB / 0.5185 GB, free: 85.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6199, allocations: 0 / 0.5185 GB, free: 85.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.6204, allocations: 460.2 kB / 0.519 GB, free: 85.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.621, allocations: 111.5 kB / 0.5191 GB, free: 85.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.6231, allocations: 1.483 MB / 0.5205 GB, free: 84.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.6236, allocations: 0.9537 MB / 0.5215 GB, free: 84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003577/0.6239, allocations: 101.8 kB / 0.5216 GB, free: 83.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.624, allocations: 38.34 kB / 0.5216 GB, free: 83.98 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6241, allocations: 0 / 0.5216 GB, free: 83.98 MB / 378.7 MB Notification: Performance of Templates: time 0.01516/0.6392, allocations: 10.35 MB / 0.5317 GB, free: 79.05 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins/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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches