Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008311/0.000831, allocations: 101.5 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.672e-05/1.675e-05, allocations: 4 kB / 343.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09757, allocations: 51.48 MB / 395.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3128/0.4105, allocations: 85.22 MB / 480.4 MB, free: 7.984 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.4107, allocations: 87.44 kB / 480.5 MB, free: 7.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05074/0.4615, allocations: 21.42 MB / 0.4902 GB, free: 6.254 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4615, allocations: 0 / 0.4902 GB, free: 6.254 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.558e-05/0.4616, allocations: 36.16 kB / 0.4902 GB, free: 6.219 MB / 362.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.002693/0.4643, allocations: 1.388 MB / 0.4915 GB, free: 4.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4643, allocations: 12.03 kB / 0.4916 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/0.4651, allocations: 234 kB / 0.4918 GB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.4667, allocations: 0.9461 MB / 0.4927 GB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.4667, allocations: 43.88 kB / 0.4927 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.4669, allocations: 62.75 kB / 0.4928 GB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001821/0.4687, allocations: 1.211 MB / 0.494 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.4707, allocations: 1.325 MB / 0.4953 GB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.4707, allocations: 0 / 0.4953 GB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.576e-05/0.4708, allocations: 4 kB / 0.4953 GB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.4709, allocations: 41.86 kB / 0.4953 GB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006939/0.4778, allocations: 4.808 MB / 0.5 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.4793, allocations: 1.384 MB / 0.5014 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009963/0.4803, allocations: 0.6649 MB / 0.502 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/0.4804, allocations: 16.52 kB / 0.502 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008139/0.4812, allocations: 0.5463 MB / 0.5026 GB, free: 10.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 3.727e-06/0.4812, allocations: 0 / 0.5026 GB, free: 10.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001926/0.4831, allocations: 1.129 MB / 0.5037 GB, free: 9.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.4832, allocations: 85.89 kB / 0.5038 GB, free: 9.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4844, allocations: 0.7657 MB / 0.5045 GB, free: 8.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.4845, allocations: 37.69 kB / 0.5045 GB, free: 8.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/0.4849, allocations: 0.5191 MB / 0.505 GB, free: 7.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.4851, allocations: 228.7 kB / 0.5053 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.4852, allocations: 4 kB / 0.5053 GB, free: 7.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4853, allocations: 326 kB / 0.5056 GB, free: 7.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.4858, allocations: 369.3 kB / 0.5059 GB, free: 7.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.4864, allocations: 497.2 kB / 0.5064 GB, free: 6.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.4869, allocations: 401.9 kB / 0.5068 GB, free: 6.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4869, allocations: 0 / 0.5068 GB, free: 6.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001714/0.4887, allocations: 1.144 MB / 0.5079 GB, free: 4.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4887, allocations: 4 kB / 0.5079 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4887, allocations: 4 kB / 0.5079 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008244/0.4895, allocations: 395.4 kB / 0.5083 GB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.49, allocations: 115.8 kB / 0.5084 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004801/0.4948, allocations: 4.008 MB / 0.5123 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.4955, allocations: 71.44 kB / 0.5124 GB, free: 248 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.4956, allocations: 28.06 kB / 0.5124 GB, free: 220 kB / 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 () * 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.0001924/0.4958, allocations: 122.6 kB / 0.5125 GB, free: 92 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.496, allocations: 90.88 kB / 0.5126 GB, free: 0 / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.4963, allocations: 108.7 kB / 0.5127 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.4963, allocations: 8 kB / 0.5127 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4964, allocations: 0 / 0.5127 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4964, allocations: 7.922 kB / 0.5127 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/0.4999, allocations: 2.343 MB / 0.515 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4999, allocations: 7.891 kB / 0.515 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.5004, allocations: 83.88 kB / 0.5151 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007967/0.5012, allocations: 376.6 kB / 0.5155 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/0.5013, allocations: 11.98 kB / 0.5155 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004796/0.5061, allocations: 3.958 MB / 0.5193 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5061, allocations: 0 / 0.5193 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.5085, allocations: 1.787 MB / 0.5211 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.5091, allocations: 295.7 kB / 0.5214 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.5092, allocations: 96 / 0.5214 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.5097, allocations: 39.95 kB / 0.5214 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.5099, allocations: 84.59 kB / 0.5215 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.5099, allocations: 23.98 kB / 0.5215 GB, free: 6.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008349/0.5108, allocations: 0.6006 MB / 0.5221 GB, free: 6.074 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5108, allocations: 0 / 0.5221 GB, free: 6.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001054/0.5119, allocations: 314.9 kB / 0.5224 GB, free: 5.766 MB / 394.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.0002001/0.5121, allocations: 129.3 kB / 0.5225 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.5139, allocations: 1.143 MB / 0.5236 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5139, allocations: 0 / 0.5236 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009976/0.5149, allocations: 0.731 MB / 0.5243 GB, free: 3.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/0.5158, allocations: 210.8 kB / 0.5246 GB, free: 3.535 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.5194, allocations: 1.881 MB / 0.5264 GB, free: 1.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.5204, allocations: 1.411 MB / 0.5278 GB, free: 192 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004659/0.5209, allocations: 167 kB / 0.5279 GB, free: 20 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.5211, allocations: 59.47 kB / 0.528 GB, free: 15.96 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5211, allocations: 0 / 0.528 GB, free: 15.96 MB / 410.7 MB Notification: Performance of Templates: time 0.02262/0.5437, allocations: 14.51 MB / 0.5422 GB, free: 1.684 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches