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.001012/0.001012, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.251/1.251, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0007338/0.0007337, allocations: 97.98 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002702/0.0002701, allocations: 11.92 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2055, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.308, allocations: 85.14 MB / 486.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.3083, allocations: 89.47 kB / 486.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05504/0.3634, allocations: 21.58 MB / 0.4964 GB, free: 5.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3634, allocations: 0 / 0.4964 GB, free: 5.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.554e-05/0.3635, allocations: 28 kB / 0.4964 GB, free: 5.43 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.002789/0.3663, allocations: 1.56 MB / 0.498 GB, free: 3.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3663, allocations: 12.03 kB / 0.498 GB, free: 3.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.3666, allocations: 154.2 kB / 0.4981 GB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.3682, allocations: 0.9532 MB / 0.499 GB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/0.3683, allocations: 78.06 kB / 0.4991 GB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.3685, allocations: 100 kB / 0.4992 GB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.3709, allocations: 1.536 MB / 0.5007 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.3709, allocations: 0 / 0.5007 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.3711, allocations: 55.94 kB / 0.5008 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/0.3711, allocations: 50.03 kB / 0.5008 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1987/0.5698, allocations: 1.37 MB / 0.5021 GB, free: 90.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007197/0.577, allocations: 4.982 MB / 0.507 GB, free: 89.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.5786, allocations: 1.457 MB / 0.5084 GB, free: 88.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.138e-05/0.5786, allocations: 8.859 kB / 0.5084 GB, free: 88.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008184/0.5795, allocations: 0.6083 MB / 0.509 GB, free: 88.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.886e-06/0.5795, allocations: 0 / 0.509 GB, free: 88.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.005202/0.5847, allocations: 2.483 MB / 0.5115 GB, free: 88.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.5848, allocations: 88.42 kB / 0.5115 GB, free: 88.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.5859, allocations: 0.8391 MB / 0.5124 GB, free: 88.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/0.586, allocations: 44.25 kB / 0.5124 GB, free: 88.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.5864, allocations: 0.5139 MB / 0.5129 GB, free: 87.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.5865, allocations: 230.7 kB / 0.5131 GB, free: 87.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.5866, allocations: 14.97 kB / 0.5131 GB, free: 87.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.5866, allocations: 336 kB / 0.5135 GB, free: 87.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.5873, allocations: 424.6 kB / 0.5139 GB, free: 87.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.5879, allocations: 0.5462 MB / 0.5144 GB, free: 86.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000633/0.5885, allocations: 445.3 kB / 0.5148 GB, free: 86.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5885, allocations: 3.625 kB / 0.5148 GB, free: 86.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001798/0.5903, allocations: 1.297 MB / 0.5161 GB, free: 86.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.5904, allocations: 6.969 kB / 0.5161 GB, free: 86.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5904, allocations: 8.547 kB / 0.5161 GB, free: 86.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007864/0.5912, allocations: 397.5 kB / 0.5165 GB, free: 86.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.5916, allocations: 113.8 kB / 0.5166 GB, free: 86.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/0.5958, allocations: 4.266 MB / 0.5208 GB, free: 83.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.5965, allocations: 86.16 kB / 0.5209 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.5966, allocations: 23 kB / 0.5209 GB, free: 83.61 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: 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 () * Number of clocked 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.0007282/0.5973, allocations: 496.1 kB / 0.5213 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5974, allocations: 94.16 kB / 0.5214 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.5977, allocations: 118.4 kB / 0.5215 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.5977, allocations: 8.531 kB / 0.5216 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5977, allocations: 4 kB / 0.5216 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5977, allocations: 3.938 kB / 0.5216 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.601, allocations: 2.586 MB / 0.5241 GB, free: 82.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.601, allocations: 0 / 0.5241 GB, free: 82.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.6014, allocations: 86.42 kB / 0.5242 GB, free: 82.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006832/0.6021, allocations: 389.3 kB / 0.5245 GB, free: 81.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.6021, allocations: 13.7 kB / 0.5246 GB, free: 81.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/0.606, allocations: 4.227 MB / 0.5287 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6061, allocations: 4 kB / 0.5287 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.6084, allocations: 1.965 MB / 0.5306 GB, free: 77.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.6088, allocations: 292.9 kB / 0.5309 GB, free: 77.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.6089, allocations: 12 kB / 0.5309 GB, free: 77.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.6094, allocations: 50.62 kB / 0.5309 GB, free: 77.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.6096, allocations: 82.83 kB / 0.531 GB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.6096, allocations: 22.8 kB / 0.531 GB, free: 77.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006547/0.6103, allocations: 0.6629 MB / 0.5317 GB, free: 76.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6103, allocations: 0 / 0.5317 GB, free: 76.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008487/0.6111, allocations: 350.2 kB / 0.532 GB, free: 76.38 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: 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) * Number of clocked states: 0 () * 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.0001614/0.6113, allocations: 134.3 kB / 0.5322 GB, free: 76.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.613, allocations: 1.293 MB / 0.5334 GB, free: 75.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.613, allocations: 3.75 kB / 0.5334 GB, free: 75.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009618/0.614, allocations: 0.8168 MB / 0.5342 GB, free: 74.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007813/0.6148, allocations: 234.2 kB / 0.5344 GB, free: 74.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.618, allocations: 2.807 MB / 0.5372 GB, free: 71.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/0.6186, allocations: 1.406 MB / 0.5386 GB, free: 70.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004097/0.619, allocations: 172.7 kB / 0.5387 GB, free: 70.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.6192, allocations: 59.09 kB / 0.5388 GB, free: 70.34 MB / 378.7 MB Notification: Performance of SimCode: time 4.4e-07/0.6192, allocations: 0 / 0.5388 GB, free: 70.34 MB / 378.7 MB Notification: Performance of Templates: time 0.02018/0.6394, allocations: 16.41 MB / 0.5548 GB, free: 54.55 MB / 378.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