Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 174.7 kB / 13.63 MB, free: 1.684 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.248/1.248, allocations: 221.4 MB / 235.5 MB, free: 2.895 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008655/0.0008653, allocations: 95.81 kB / 286.5 MB, free: 168 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.59e-05, allocations: 4 kB / 343.8 MB, free: 4.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 50.42 MB / 394.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2882/0.3886, allocations: 85.05 MB / 479.3 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.3889, allocations: 87.78 kB / 479.4 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05296/0.4419, allocations: 21.63 MB / 0.4893 GB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4419, allocations: 0 / 0.4893 GB, free: 12.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.867e-05/0.442, allocations: 27.94 kB / 0.4893 GB, free: 12.51 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002357/0.4443, allocations: 1.39 MB / 0.4907 GB, free: 11.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4444, allocations: 8.031 kB / 0.4907 GB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.4446, allocations: 154.2 kB / 0.4908 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.4462, allocations: 0.9455 MB / 0.4918 GB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.4462, allocations: 78.06 kB / 0.4918 GB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.4464, allocations: 104 kB / 0.4919 GB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.4486, allocations: 1.474 MB / 0.4934 GB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.4486, allocations: 3.906 kB / 0.4934 GB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.4487, allocations: 55.94 kB / 0.4934 GB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/0.4488, allocations: 42.03 kB / 0.4935 GB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.4507, allocations: 1.285 MB / 0.4947 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006636/0.4573, allocations: 4.984 MB / 0.4996 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.4588, allocations: 1.419 MB / 0.501 GB, free: 80 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.4598, allocations: 0.7003 MB / 0.5017 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.964e-05/0.4599, allocations: 8.562 kB / 0.5017 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000819/0.4607, allocations: 0.5713 MB / 0.5022 GB, free: 14.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/0.4607, allocations: 0 / 0.5022 GB, free: 14.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=72): time 0.001932/0.4627, allocations: 1.188 MB / 0.5034 GB, free: 13.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.4627, allocations: 89.83 kB / 0.5035 GB, free: 13.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.4638, allocations: 0.8244 MB / 0.5043 GB, free: 12.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.4639, allocations: 41.7 kB / 0.5043 GB, free: 12.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.4643, allocations: 0.5191 MB / 0.5048 GB, free: 12.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.4644, allocations: 232.7 kB / 0.505 GB, free: 11.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.4645, allocations: 16 kB / 0.5051 GB, free: 11.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4646, allocations: 341.9 kB / 0.5054 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/0.4652, allocations: 377.3 kB / 0.5057 GB, free: 11.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.4658, allocations: 0.5066 MB / 0.5062 GB, free: 10.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005472/0.4663, allocations: 411 kB / 0.5066 GB, free: 10.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4663, allocations: 0 / 0.5066 GB, free: 10.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001664/0.468, allocations: 1.21 MB / 0.5078 GB, free: 8.926 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.468, allocations: 11.95 kB / 0.5078 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.468, allocations: 4 kB / 0.5078 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000858/0.4689, allocations: 395.5 kB / 0.5082 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.4694, allocations: 119.8 kB / 0.5083 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004703/0.4741, allocations: 4.124 MB / 0.5123 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.4747, allocations: 87.39 kB / 0.5124 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.4748, allocations: 28 kB / 0.5125 GB, free: 4.031 MB / 394.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: 15 ($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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.475, allocations: 142.6 kB / 0.5126 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4751, allocations: 94.95 kB / 0.5127 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.4754, allocations: 116.5 kB / 0.5128 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4754, allocations: 4 kB / 0.5128 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4755, allocations: 7.938 kB / 0.5128 GB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4755, allocations: 7.984 kB / 0.5128 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.4789, allocations: 2.533 MB / 0.5153 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4789, allocations: 3.984 kB / 0.5153 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.4793, allocations: 95.83 kB / 0.5154 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000737/0.4801, allocations: 384.7 kB / 0.5158 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.4802, allocations: 15.98 kB / 0.5158 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/0.4847, allocations: 4.075 MB / 0.5197 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.4847, allocations: 3.984 kB / 0.5198 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.4872, allocations: 1.853 MB / 0.5216 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/0.4877, allocations: 279.8 kB / 0.5218 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.4878, allocations: 19.98 kB / 0.5218 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004598/0.4883, allocations: 47.95 kB / 0.5219 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.4885, allocations: 88.55 kB / 0.522 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.4885, allocations: 16 kB / 0.522 GB, free: 10.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009021/0.4894, allocations: 0.6592 MB / 0.5226 GB, free: 9.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-07/0.4894, allocations: 0 / 0.5226 GB, free: 9.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000929/0.4904, allocations: 350.8 kB / 0.523 GB, free: 9.02 MB / 410.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002407/0.4906, allocations: 143.7 kB / 0.5231 GB, free: 8.867 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.4924, allocations: 1.195 MB / 0.5243 GB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4924, allocations: 0 / 0.5243 GB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.4935, allocations: 0.7725 MB / 0.525 GB, free: 6.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/0.4944, allocations: 222.3 kB / 0.5252 GB, free: 6.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.4975, allocations: 1.911 MB / 0.5271 GB, free: 4.723 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008878/0.4984, allocations: 1.407 MB / 0.5285 GB, free: 3.285 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.4988, allocations: 171.2 kB / 0.5286 GB, free: 3.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.499, allocations: 55.42 kB / 0.5287 GB, free: 3.059 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.499, allocations: 0 / 0.5287 GB, free: 3.059 MB / 410.7 MB Notification: Performance of Templates: time 0.02421/0.5232, allocations: 16.5 MB / 0.5448 GB, free: 2.777 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches