Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 176.9 kB / 17.4 MB, free: 4.289 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.442/1.442, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.0007812/0.0007811, allocations: 101.7 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005072, allocations: 11.94 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2248, allocations: 50.4 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.3277, allocations: 84.49 MB / 487.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.328, allocations: 87.94 kB / 487.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0353/0.3633, allocations: 13.79 MB / 0.4894 GB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3634, allocations: 0 / 0.4894 GB, free: 13.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.567e-05/0.3634, allocations: 19.94 kB / 0.4894 GB, free: 13.84 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002106/0.3655, allocations: 1.038 MB / 0.4904 GB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3656, allocations: 8.031 kB / 0.4904 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/0.3659, allocations: 91.91 kB / 0.4905 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.367, allocations: 0.6313 MB / 0.4911 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.3671, allocations: 53.67 kB / 0.4912 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.3672, allocations: 68.28 kB / 0.4912 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.3688, allocations: 0.912 MB / 0.4921 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.3689, allocations: 3.938 kB / 0.4921 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.957e-05/0.3689, allocations: 28 kB / 0.4922 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/0.369, allocations: 33.3 kB / 0.4922 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.3704, allocations: 0.7624 MB / 0.4929 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004401/0.3748, allocations: 2.842 MB / 0.4957 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009113/0.3757, allocations: 0.7449 MB / 0.4964 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/0.3763, allocations: 349.9 kB / 0.4968 GB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.3764, allocations: 4.328 kB / 0.4968 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005995/0.377, allocations: 389.8 kB / 0.4972 GB, free: 5.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.484e-06/0.377, allocations: 0 / 0.4972 GB, free: 5.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002722/0.3797, allocations: 1.217 MB / 0.4983 GB, free: 4.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.3798, allocations: 114.8 kB / 0.4985 GB, free: 4.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/0.3806, allocations: 0.5605 MB / 0.499 GB, free: 3.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.3806, allocations: 37.7 kB / 0.499 GB, free: 3.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.3809, allocations: 363.9 kB / 0.4994 GB, free: 3.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.3811, allocations: 130.1 kB / 0.4995 GB, free: 3.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.3811, allocations: 12 kB / 0.4995 GB, free: 3.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3812, allocations: 370.7 kB / 0.4999 GB, free: 2.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.3816, allocations: 213 kB / 0.5001 GB, free: 2.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.3821, allocations: 364.8 kB / 0.5004 GB, free: 2.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.3829, allocations: 0.5531 MB / 0.501 GB, free: 1.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3829, allocations: 0 / 0.501 GB, free: 1.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001212/0.3842, allocations: 0.7562 MB / 0.5017 GB, free: 0.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3842, allocations: 11.94 kB / 0.5017 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3842, allocations: 4 kB / 0.5017 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/0.3847, allocations: 204.7 kB / 0.5019 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.385, allocations: 79.91 kB / 0.502 GB, free: 420 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1812/0.5663, allocations: 2.66 MB / 0.5046 GB, free: 94.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.5667, allocations: 61.64 kB / 0.5046 GB, free: 94.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.5668, allocations: 17.94 kB / 0.5047 GB, free: 94.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004578/0.5673, allocations: 322.8 kB / 0.505 GB, free: 94.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.5673, allocations: 56.06 kB / 0.505 GB, free: 94.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.5675, allocations: 69.69 kB / 0.5051 GB, free: 94.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5675, allocations: 5.5 kB / 0.5051 GB, free: 94.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5675, allocations: 3.938 kB / 0.5051 GB, free: 94.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.5675, allocations: 6.938 kB / 0.5051 GB, free: 94.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.5697, allocations: 1.639 MB / 0.5067 GB, free: 94.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5697, allocations: 0 / 0.5067 GB, free: 94.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.5699, allocations: 53.23 kB / 0.5068 GB, free: 94.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00037/0.5703, allocations: 197 kB / 0.5069 GB, free: 94.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.5704, allocations: 10.34 kB / 0.507 GB, free: 94.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.5727, allocations: 2.649 MB / 0.5095 GB, free: 92.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5727, allocations: 2 kB / 0.5095 GB, free: 92.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.574, allocations: 1.112 MB / 0.5106 GB, free: 92.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.5742, allocations: 190 kB / 0.5108 GB, free: 92.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-05/0.5743, allocations: 11.5 kB / 0.5108 GB, free: 92.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.5745, allocations: 26.47 kB / 0.5108 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5747, allocations: 46.34 kB / 0.5109 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.5747, allocations: 14.12 kB / 0.5109 GB, free: 92.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003735/0.5751, allocations: 417.6 kB / 0.5113 GB, free: 92.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5751, allocations: 3.188 kB / 0.5113 GB, free: 92.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006304/0.5757, allocations: 208.6 kB / 0.5115 GB, free: 92.27 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.5759, allocations: 123 kB / 0.5116 GB, free: 92.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009618/0.5769, allocations: 0.7273 MB / 0.5123 GB, free: 91.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5769, allocations: 2.906 kB / 0.5123 GB, free: 91.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.5774, allocations: 472.1 kB / 0.5128 GB, free: 91.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/0.578, allocations: 146.4 kB / 0.5129 GB, free: 91.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.58, allocations: 1.713 MB / 0.5146 GB, free: 90.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.5804, allocations: 1.071 MB / 0.5156 GB, free: 89.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.5807, allocations: 90.22 kB / 0.5157 GB, free: 89.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.5808, allocations: 41.23 kB / 0.5158 GB, free: 89.9 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5808, allocations: 0 / 0.5158 GB, free: 89.9 MB / 378.7 MB Notification: Performance of Templates: time 0.01481/0.5956, allocations: 9.213 MB / 0.5248 GB, free: 86.79 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches