Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 197 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.376/1.376, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000855/0.0008547, allocations: 92.03 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.608e-05, allocations: 4 kB / 350.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.0979, allocations: 51.48 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.392, allocations: 85.18 MB / 487.2 MB, free: 4.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.3923, allocations: 88 kB / 487.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.034/0.4263, allocations: 13.91 MB / 0.4895 GB, free: 8.016 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4264, allocations: 0 / 0.4895 GB, free: 8.016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.52e-05/0.4264, allocations: 24.16 kB / 0.4895 GB, free: 7.992 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001582/0.428, allocations: 0.9534 MB / 0.4904 GB, free: 6.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4281, allocations: 8.031 kB / 0.4904 GB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003931/0.4285, allocations: 142.5 kB / 0.4906 GB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.4294, allocations: 0.6148 MB / 0.4912 GB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.4294, allocations: 49.31 kB / 0.4912 GB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.4296, allocations: 64 kB / 0.4913 GB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.4309, allocations: 0.8887 MB / 0.4921 GB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4309, allocations: 0 / 0.4921 GB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.431, allocations: 24 kB / 0.4922 GB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.4311, allocations: 33.3 kB / 0.4922 GB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.4322, allocations: 0.7196 MB / 0.4929 GB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004019/0.4362, allocations: 2.841 MB / 0.4957 GB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008116/0.4371, allocations: 0.723 MB / 0.4964 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.4375, allocations: 329.3 kB / 0.4967 GB, free: 336 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.4376, allocations: 4.328 kB / 0.4967 GB, free: 332 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005037/0.4381, allocations: 358.6 kB / 0.497 GB, free: 15.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.225e-06/0.4381, allocations: 0 / 0.497 GB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.00118/0.4393, allocations: 0.6565 MB / 0.4977 GB, free: 15.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.4394, allocations: 114.8 kB / 0.4978 GB, free: 15.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.44, allocations: 0.5116 MB / 0.4983 GB, free: 14.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.44, allocations: 37.7 kB / 0.4983 GB, free: 14.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.4403, allocations: 352 kB / 0.4987 GB, free: 14.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.4404, allocations: 146 kB / 0.4988 GB, free: 14.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.4404, allocations: 12 kB / 0.4988 GB, free: 14.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4406, allocations: 362.7 kB / 0.4992 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.4408, allocations: 201 kB / 0.4994 GB, free: 13.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.4412, allocations: 340.9 kB / 0.4997 GB, free: 13.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.4415, allocations: 223.7 kB / 0.4999 GB, free: 12.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4415, allocations: 4 kB / 0.4999 GB, free: 12.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000968/0.4425, allocations: 0.698 MB / 0.5006 GB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4425, allocations: 8.469 kB / 0.5006 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.4425, allocations: 8 kB / 0.5006 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/0.4431, allocations: 202 kB / 0.5008 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.4434, allocations: 77.98 kB / 0.5009 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.4461, allocations: 2.669 MB / 0.5035 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.4465, allocations: 51.7 kB / 0.5035 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.4465, allocations: 20 kB / 0.5035 GB, free: 9.047 MB / 378.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_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.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 (43): * Single equations (assignments): 42 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.4466, allocations: 136.9 kB / 0.5037 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.4467, allocations: 63.28 kB / 0.5037 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.4469, allocations: 73.27 kB / 0.5038 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.4469, allocations: 7.984 kB / 0.5038 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.4469, allocations: 0 / 0.5038 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.4469, allocations: 3.984 kB / 0.5038 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.449, allocations: 1.6 MB / 0.5054 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4491, allocations: 0 / 0.5054 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.4493, allocations: 43.97 kB / 0.5054 GB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004061/0.4497, allocations: 192.7 kB / 0.5056 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.4498, allocations: 20.02 kB / 0.5056 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.4524, allocations: 2.641 MB / 0.5082 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4524, allocations: 0 / 0.5082 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.4538, allocations: 1.049 MB / 0.5092 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.454, allocations: 200.2 kB / 0.5094 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.4541, allocations: 4 kB / 0.5094 GB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.4544, allocations: 27.97 kB / 0.5094 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.4546, allocations: 47.94 kB / 0.5095 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.4546, allocations: 19.98 kB / 0.5095 GB, free: 2.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004849/0.4551, allocations: 419.4 kB / 0.5099 GB, free: 2.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4551, allocations: 0 / 0.5099 GB, free: 2.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006716/0.4558, allocations: 211.2 kB / 0.5101 GB, free: 2.051 MB / 378.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_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 (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.0001957/0.456, allocations: 127.5 kB / 0.5102 GB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.457, allocations: 0.6811 MB / 0.5109 GB, free: 1.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4571, allocations: 0 / 0.5109 GB, free: 1.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.4576, allocations: 455.1 kB / 0.5113 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.4582, allocations: 143.1 kB / 0.5115 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.4601, allocations: 1.085 MB / 0.5125 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.4608, allocations: 1.094 MB / 0.5136 GB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.4611, allocations: 96.72 kB / 0.5137 GB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.4612, allocations: 35.44 kB / 0.5137 GB, free: 14.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.824e-06/0.4612, allocations: 4 kB / 0.5137 GB, free: 14.27 MB / 394.7 MB Notification: Performance of Templates: time 0.01485/0.4761, allocations: 9.18 MB / 0.5227 GB, free: 5.281 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches