Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.2 MB / 245 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009504/0.0009503, allocations: 103.3 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002513, allocations: 4 kB / 357.9 MB, free: 9.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.203, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09384/0.2969, allocations: 85.24 MB / 494.7 MB, free: 5.367 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.2972, allocations: 88.81 kB / 494.8 MB, free: 5.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03472/0.3319, allocations: 13.92 MB / 0.4968 GB, free: 7.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.332, allocations: 0 / 0.4968 GB, free: 7.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.704e-05/0.332, allocations: 16 kB / 0.4968 GB, free: 7.238 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.002091/0.3341, allocations: 1.046 MB / 0.4978 GB, free: 6.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3342, allocations: 12.03 kB / 0.4978 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004778/0.3347, allocations: 134.8 kB / 0.4979 GB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3358, allocations: 0.6264 MB / 0.4985 GB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.3359, allocations: 49.31 kB / 0.4986 GB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.336, allocations: 64 kB / 0.4987 GB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.3374, allocations: 0.9114 MB / 0.4995 GB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.3375, allocations: 0 / 0.4995 GB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/0.3375, allocations: 28 kB / 0.4996 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.3376, allocations: 33.3 kB / 0.4996 GB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.3388, allocations: 0.7624 MB / 0.5003 GB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.3429, allocations: 2.846 MB / 0.5031 GB, free: 492 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1583/0.5012, allocations: 0.7519 MB / 0.5039 GB, free: 91.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.475e-05/0.5013, allocations: 4.266 kB / 0.5039 GB, free: 91.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008924/0.5022, allocations: 384.6 kB / 0.5042 GB, free: 91.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 4.438e-06/0.5022, allocations: 3.656 kB / 0.5042 GB, free: 91.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003014/0.5052, allocations: 1.242 MB / 0.5054 GB, free: 90.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.5053, allocations: 84.5 kB / 0.5055 GB, free: 90.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007635/0.5061, allocations: 0.5151 MB / 0.506 GB, free: 90.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.5061, allocations: 36.5 kB / 0.5061 GB, free: 90.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.5064, allocations: 360 kB / 0.5064 GB, free: 90.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.5065, allocations: 138.8 kB / 0.5065 GB, free: 90.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.5065, allocations: 12.78 kB / 0.5066 GB, free: 90.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.5066, allocations: 366.7 kB / 0.5069 GB, free: 90.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.507, allocations: 224.6 kB / 0.5071 GB, free: 90.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.5074, allocations: 351.4 kB / 0.5075 GB, free: 90.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.5078, allocations: 249.2 kB / 0.5077 GB, free: 90.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5079, allocations: 5.656 kB / 0.5077 GB, free: 90.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00113/0.509, allocations: 0.7555 MB / 0.5084 GB, free: 89.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.509, allocations: 6.344 kB / 0.5084 GB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.509, allocations: 3.844 kB / 0.5084 GB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/0.5095, allocations: 204 kB / 0.5086 GB, free: 89.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.5098, allocations: 80.67 kB / 0.5087 GB, free: 89.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.5128, allocations: 2.735 MB / 0.5114 GB, free: 88.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.5132, allocations: 59.09 kB / 0.5114 GB, free: 88.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.5132, allocations: 17.62 kB / 0.5115 GB, free: 88.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0003841/0.5136, allocations: 329.8 kB / 0.5118 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5137, allocations: 57.47 kB / 0.5118 GB, free: 88.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.5138, allocations: 70.14 kB / 0.5119 GB, free: 88.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5138, allocations: 3.562 kB / 0.5119 GB, free: 88.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5139, allocations: 0 / 0.5119 GB, free: 88.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5139, allocations: 8.531 kB / 0.5119 GB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.5158, allocations: 1.54 MB / 0.5134 GB, free: 87.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5158, allocations: 0 / 0.5134 GB, free: 87.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.5161, allocations: 56.62 kB / 0.5135 GB, free: 87.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003622/0.5164, allocations: 196.3 kB / 0.5137 GB, free: 87.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.5165, allocations: 14.03 kB / 0.5137 GB, free: 87.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.5186, allocations: 2.706 MB / 0.5163 GB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5186, allocations: 3.844 kB / 0.5163 GB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.5199, allocations: 1.124 MB / 0.5174 GB, free: 85.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.5202, allocations: 198.6 kB / 0.5176 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/0.5203, allocations: 8 kB / 0.5176 GB, free: 85.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.5206, allocations: 30.55 kB / 0.5176 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.5207, allocations: 44.84 kB / 0.5177 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.5208, allocations: 11.66 kB / 0.5177 GB, free: 85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004358/0.5212, allocations: 416.3 kB / 0.5181 GB, free: 84.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5212, allocations: 3.656 kB / 0.5181 GB, free: 84.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006315/0.5218, allocations: 211.8 kB / 0.5183 GB, free: 84.78 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: 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.0001414/0.522, allocations: 126.9 kB / 0.5184 GB, free: 84.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009729/0.523, allocations: 0.7322 MB / 0.5191 GB, free: 84.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.523, allocations: 0 / 0.5191 GB, free: 84.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005703/0.5236, allocations: 480.9 kB / 0.5196 GB, free: 84.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.5241, allocations: 140.5 kB / 0.5197 GB, free: 84.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.526, allocations: 1.724 MB / 0.5214 GB, free: 83.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.5265, allocations: 1.088 MB / 0.5225 GB, free: 82.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000236/0.5267, allocations: 95.12 kB / 0.5226 GB, free: 82.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.5268, allocations: 33.81 kB / 0.5226 GB, free: 82.36 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5268, allocations: 0 / 0.5226 GB, free: 82.36 MB / 378.7 MB Notification: Performance of Templates: time 0.01215/0.539, allocations: 9.204 MB / 0.5316 GB, free: 77.21 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches