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: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009641/0.0009644, allocations: 98.22 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.028e-05, allocations: 4 kB / 350.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 51.48 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3128/0.4381, allocations: 85.89 MB / 487.9 MB, free: 3.609 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4384, allocations: 88.38 kB / 488 MB, free: 3.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05231/0.4908, allocations: 21.66 MB / 0.4977 GB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4908, allocations: 0 / 0.4977 GB, free: 15.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.457e-05/0.4909, allocations: 32.16 kB / 0.4978 GB, free: 15.5 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.002671/0.4936, allocations: 1.386 MB / 0.4991 GB, free: 14.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4936, allocations: 11.97 kB / 0.4991 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007065/0.4943, allocations: 222.1 kB / 0.4993 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.496, allocations: 0.9571 MB / 0.5003 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.986e-05/0.4961, allocations: 78.02 kB / 0.5003 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.4963, allocations: 108 kB / 0.5005 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.4985, allocations: 1.472 MB / 0.5019 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.4986, allocations: 7.922 kB / 0.5019 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.4987, allocations: 44 kB / 0.5019 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/0.4987, allocations: 42.05 kB / 0.502 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.5006, allocations: 1.281 MB / 0.5032 GB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00685/0.5075, allocations: 5.01 MB / 0.5081 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.509, allocations: 1.418 MB / 0.5095 GB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.5101, allocations: 0.696 MB / 0.5102 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.723e-05/0.5101, allocations: 8.562 kB / 0.5102 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008523/0.511, allocations: 0.5751 MB / 0.5108 GB, free: 1.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.766e-06/0.511, allocations: 3.938 kB / 0.5108 GB, free: 1.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.002077/0.5131, allocations: 1.188 MB / 0.5119 GB, free: 500 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.5132, allocations: 85.89 kB / 0.512 GB, free: 392 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.5143, allocations: 0.8402 MB / 0.5128 GB, free: 15.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.5144, allocations: 41.7 kB / 0.5129 GB, free: 15.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.5148, allocations: 0.5191 MB / 0.5134 GB, free: 14.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.515, allocations: 228.7 kB / 0.5136 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.5151, allocations: 12 kB / 0.5136 GB, free: 14.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.5152, allocations: 334 kB / 0.5139 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.5157, allocations: 383 kB / 0.5143 GB, free: 14.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.5163, allocations: 0.5079 MB / 0.5148 GB, free: 13.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.5169, allocations: 415 kB / 0.5152 GB, free: 13.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5169, allocations: 4 kB / 0.5152 GB, free: 13.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001721/0.5186, allocations: 1.214 MB / 0.5164 GB, free: 11.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.5187, allocations: 8 kB / 0.5164 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5187, allocations: 4 kB / 0.5164 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008781/0.5196, allocations: 395.2 kB / 0.5168 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.5201, allocations: 111.9 kB / 0.5169 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004944/0.525, allocations: 4.135 MB / 0.5209 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.5256, allocations: 75.55 kB / 0.521 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.5257, allocations: 28 kB / 0.521 GB, free: 6.945 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.0001826/0.5259, allocations: 150.5 kB / 0.5211 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.526, allocations: 98.86 kB / 0.5212 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.5263, allocations: 116.6 kB / 0.5213 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.5263, allocations: 15.89 kB / 0.5214 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5263, allocations: 0 / 0.5214 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5263, allocations: 7.922 kB / 0.5214 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/0.5299, allocations: 2.541 MB / 0.5239 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.53, allocations: 3.984 kB / 0.5239 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.5304, allocations: 83.89 kB / 0.5239 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007662/0.5311, allocations: 392.7 kB / 0.5243 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.5312, allocations: 20 kB / 0.5243 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004609/0.5358, allocations: 4.083 MB / 0.5283 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5358, allocations: 4 kB / 0.5283 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.5384, allocations: 1.853 MB / 0.5301 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/0.5389, allocations: 291.8 kB / 0.5304 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.5391, allocations: 12 kB / 0.5304 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.5396, allocations: 47.95 kB / 0.5305 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.5398, allocations: 80.66 kB / 0.5305 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.5399, allocations: 19.98 kB / 0.5306 GB, free: 12.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009892/0.5409, allocations: 0.6592 MB / 0.5312 GB, free: 12.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5409, allocations: 0 / 0.5312 GB, free: 12.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001016/0.5419, allocations: 354.9 kB / 0.5315 GB, free: 11.9 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.0002395/0.5421, allocations: 135.2 kB / 0.5317 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.544, allocations: 1.199 MB / 0.5328 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.544, allocations: 0 / 0.5328 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.545, allocations: 0.7725 MB / 0.5336 GB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008961/0.5459, allocations: 232.2 kB / 0.5338 GB, free: 9.535 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.5492, allocations: 1.916 MB / 0.5357 GB, free: 7.598 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009451/0.5502, allocations: 1.407 MB / 0.5371 GB, free: 6.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004684/0.5506, allocations: 171.2 kB / 0.5372 GB, free: 5.988 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.5508, allocations: 59.42 kB / 0.5373 GB, free: 5.93 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5508, allocations: 0 / 0.5373 GB, free: 5.93 MB / 410.7 MB Notification: Performance of Templates: time 0.02527/0.5761, allocations: 16.59 MB / 0.5535 GB, free: 5.586 MB / 426.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