Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009938/0.0009938, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007563/0.0007564, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.411e-05, allocations: 4 kB / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08812, allocations: 47.58 MB / 370 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3004/0.3886, allocations: 83.23 MB / 453.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.389, allocations: 86.98 kB / 453.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03572/0.4248, allocations: 13.52 MB / 466.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4248, allocations: 0 / 466.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.747e-05/0.4249, allocations: 16 kB / 466.9 MB, free: 13.91 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001553/0.4264, allocations: 0.941 MB / 467.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4265, allocations: 12.03 kB / 467.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.4267, allocations: 94.97 kB / 467.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/0.4276, allocations: 0.607 MB / 468.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.4277, allocations: 45.31 kB / 468.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.4278, allocations: 64 kB / 468.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.4291, allocations: 0.8803 MB / 469.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.4291, allocations: 4 kB / 469.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/0.4292, allocations: 23.94 kB / 469.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/0.4292, allocations: 41.25 kB / 469.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.4303, allocations: 0.7117 MB / 470.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.4343, allocations: 2.819 MB / 473.1 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/0.4351, allocations: 0.726 MB / 473.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.4357, allocations: 325.4 kB / 474.2 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.4357, allocations: 4.328 kB / 474.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005077/0.4362, allocations: 361.9 kB / 474.5 MB, free: 5.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/0.4362, allocations: 0 / 474.5 MB, free: 5.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001065/0.4373, allocations: 0.6377 MB / 475.2 MB, free: 5.293 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.24e-05/0.4374, allocations: 118.8 kB / 475.3 MB, free: 5.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006611/0.4381, allocations: 0.5037 MB / 475.8 MB, free: 4.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.4381, allocations: 33.7 kB / 475.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.4384, allocations: 355.9 kB / 476.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.4385, allocations: 134.1 kB / 476.3 MB, free: 4.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.4386, allocations: 8 kB / 476.3 MB, free: 4.113 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4387, allocations: 366.8 kB / 476.7 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.4391, allocations: 197 kB / 476.9 MB, free: 3.555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.4394, allocations: 329 kB / 477.2 MB, free: 3.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.4398, allocations: 235.5 kB / 477.4 MB, free: 2.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4398, allocations: 4 kB / 477.4 MB, free: 2.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001028/0.4408, allocations: 0.7044 MB / 478.1 MB, free: 2.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4409, allocations: 8 kB / 478.1 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4409, allocations: 4 kB / 478.1 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/0.4414, allocations: 209.3 kB / 478.3 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.4417, allocations: 76.06 kB / 478.4 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00304/0.4447, allocations: 2.779 MB / 481.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.4451, allocations: 59.61 kB / 481.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.4452, allocations: 24 kB / 481.3 MB, free: 14.94 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.4453, allocations: 129.1 kB / 481.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.4454, allocations: 51.44 kB / 481.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.4456, allocations: 73.05 kB / 481.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4456, allocations: 11.95 kB / 481.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4456, allocations: 0 / 481.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.4456, allocations: 3.984 kB / 481.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.4482, allocations: 1.725 MB / 483.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4482, allocations: 0 / 483.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.4484, allocations: 47.91 kB / 483.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/0.4488, allocations: 197.6 kB / 483.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.4489, allocations: 19.94 kB / 483.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/0.4516, allocations: 2.635 MB / 486.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4516, allocations: 0 / 486.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.4531, allocations: 1.088 MB / 487.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.4535, allocations: 192.4 kB / 487.4 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.027e-05/0.4535, allocations: 11.94 kB / 487.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.4538, allocations: 31.98 kB / 487.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.454, allocations: 43.92 kB / 487.5 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.454, allocations: 16 kB / 487.5 MB, free: 8.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005325/0.4545, allocations: 413.5 kB / 487.9 MB, free: 8.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4545, allocations: 3.938 kB / 487.9 MB, free: 8.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007533/0.4553, allocations: 203.3 kB / 488.1 MB, free: 7.816 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002081/0.4555, allocations: 128.8 kB / 488.3 MB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.4566, allocations: 0.6783 MB / 488.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4566, allocations: 0 / 488.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.4572, allocations: 465.7 kB / 489.4 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.4579, allocations: 135 kB / 489.5 MB, free: 6.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.4599, allocations: 1.07 MB / 490.6 MB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.4605, allocations: 1.086 MB / 491.7 MB, free: 4.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.4608, allocations: 100.7 kB / 491.8 MB, free: 4.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.285e-05/0.4609, allocations: 39.42 kB / 491.8 MB, free: 4.035 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4609, allocations: 0 / 491.8 MB, free: 4.035 MB / 362.7 MB Notification: Performance of Templates: time 0.01528/0.4762, allocations: 9.137 MB / 0.4892 GB, free: 10.89 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches