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.0008799/0.0008799, allocations: 179.8 kB / 17.4 MB, free: 4.305 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.241/1.241, allocations: 223.3 MB / 241.4 MB, free: 9.977 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.0007625/0.0007625, allocations: 100.5 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 11.98 kB / 352.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2149, allocations: 50.4 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0956/0.3106, allocations: 85.21 MB / 488 MB, free: 11.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.3109, allocations: 87.95 kB / 488.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05253/0.3634, allocations: 21.55 MB / 0.4977 GB, free: 5.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3634, allocations: 0 / 0.4977 GB, free: 5.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.721e-05/0.3635, allocations: 28 kB / 0.4977 GB, free: 5.242 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.002913/0.3664, allocations: 1.541 MB / 0.4992 GB, free: 3.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3665, allocations: 12.03 kB / 0.4992 GB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.3667, allocations: 151.2 kB / 0.4993 GB, free: 3.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.3682, allocations: 0.9812 MB / 0.5003 GB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.458e-05/0.3683, allocations: 86.36 kB / 0.5004 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.3685, allocations: 104.4 kB / 0.5005 GB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.3707, allocations: 1.541 MB / 0.502 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.3708, allocations: 12.03 kB / 0.502 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.3709, allocations: 47.92 kB / 0.502 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/0.3709, allocations: 42.05 kB / 0.5021 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1683/0.5392, allocations: 1.376 MB / 0.5034 GB, free: 91.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006741/0.546, allocations: 4.985 MB / 0.5083 GB, free: 89.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.5475, allocations: 1.457 MB / 0.5097 GB, free: 89.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.5486, allocations: 0.7346 MB / 0.5104 GB, free: 89.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.5486, allocations: 12.36 kB / 0.5105 GB, free: 89.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/0.5495, allocations: 0.6195 MB / 0.5111 GB, free: 89.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 3.106e-06/0.5495, allocations: 3.844 kB / 0.5111 GB, free: 89.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.005094/0.5546, allocations: 2.52 MB / 0.5135 GB, free: 88.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.5547, allocations: 85.83 kB / 0.5136 GB, free: 88.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5557, allocations: 0.9291 MB / 0.5145 GB, free: 88.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.5557, allocations: 41.48 kB / 0.5146 GB, free: 88.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.556, allocations: 0.5149 MB / 0.5151 GB, free: 87.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.5562, allocations: 233.2 kB / 0.5153 GB, free: 87.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.5562, allocations: 15.53 kB / 0.5153 GB, free: 87.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.063e-05/0.5563, allocations: 335.9 kB / 0.5156 GB, free: 87.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007279/0.557, allocations: 424.4 kB / 0.516 GB, free: 87.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.5577, allocations: 0.548 MB / 0.5166 GB, free: 86.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.5588, allocations: 0.958 MB / 0.5175 GB, free: 86.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5589, allocations: 2.953 kB / 0.5175 GB, free: 86.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001673/0.5605, allocations: 1.297 MB / 0.5188 GB, free: 86.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5606, allocations: 10.94 kB / 0.5188 GB, free: 86.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5606, allocations: 3.594 kB / 0.5188 GB, free: 86.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007339/0.5613, allocations: 394.7 kB / 0.5191 GB, free: 85.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.5618, allocations: 118.6 kB / 0.5193 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00399/0.5658, allocations: 4.136 MB / 0.5233 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.5663, allocations: 79.56 kB / 0.5234 GB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.5664, allocations: 28.97 kB / 0.5234 GB, free: 83.31 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.0006481/0.567, allocations: 498.3 kB / 0.5239 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.5671, allocations: 98.12 kB / 0.524 GB, free: 82.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.5673, allocations: 123.4 kB / 0.5241 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5673, allocations: 7.406 kB / 0.5241 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5673, allocations: 0 / 0.5241 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5673, allocations: 3.844 kB / 0.5241 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.5705, allocations: 2.613 MB / 0.5267 GB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.5705, allocations: 0 / 0.5267 GB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.5709, allocations: 90.75 kB / 0.5267 GB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006527/0.5716, allocations: 387.4 kB / 0.5271 GB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.5716, allocations: 23.72 kB / 0.5271 GB, free: 81.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/0.5754, allocations: 4.095 MB / 0.5311 GB, free: 78.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5754, allocations: 0 / 0.5311 GB, free: 78.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.5778, allocations: 1.977 MB / 0.5331 GB, free: 76.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.5782, allocations: 290.3 kB / 0.5333 GB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.5783, allocations: 22.47 kB / 0.5334 GB, free: 76.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.5787, allocations: 48.64 kB / 0.5334 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.5789, allocations: 78.66 kB / 0.5335 GB, free: 76.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.579, allocations: 19.19 kB / 0.5335 GB, free: 76.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007351/0.5797, allocations: 0.6646 MB / 0.5341 GB, free: 75.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5797, allocations: 4 kB / 0.5342 GB, free: 75.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009176/0.5807, allocations: 343.5 kB / 0.5345 GB, free: 75.37 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.0001651/0.5808, allocations: 134.7 kB / 0.5346 GB, free: 75.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.5826, allocations: 1.297 MB / 0.5359 GB, free: 74.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5826, allocations: 192 / 0.5359 GB, free: 74.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009393/0.5835, allocations: 0.8128 MB / 0.5367 GB, free: 73.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/0.5845, allocations: 246.8 kB / 0.5369 GB, free: 73.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.5878, allocations: 2.83 MB / 0.5397 GB, free: 70.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.5886, allocations: 1.385 MB / 0.541 GB, free: 69.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004269/0.589, allocations: 168.6 kB / 0.5412 GB, free: 69.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.5891, allocations: 51.44 kB / 0.5412 GB, free: 69.29 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5892, allocations: 0 / 0.5412 GB, free: 69.29 MB / 378.7 MB Notification: Performance of Templates: time 0.02072/0.6099, allocations: 16.67 MB / 0.5575 GB, free: 53.05 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/jenkins1/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