Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.353/1.353, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0009246/0.0009246, allocations: 97.94 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002468/0.0002468, allocations: 4 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2501, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.3549, allocations: 84.43 MB / 485.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.3552, allocations: 93.47 kB / 486 MB, free: 11.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03554/0.3907, allocations: 13.81 MB / 499.8 MB, free: 14.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3908, allocations: 0 / 499.8 MB, free: 14.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.616e-05/0.3909, allocations: 20.16 kB / 499.9 MB, free: 13.99 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002752/0.3936, allocations: 1.045 MB / 0.4892 GB, free: 12.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3937, allocations: 8.031 kB / 0.4892 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.3941, allocations: 90.97 kB / 0.4893 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.3955, allocations: 0.6147 MB / 0.4899 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.3956, allocations: 53.3 kB / 0.4899 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.3958, allocations: 64 kB / 0.49 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.3977, allocations: 0.9036 MB / 0.4909 GB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.3977, allocations: 4 kB / 0.4909 GB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/0.3978, allocations: 31.94 kB / 0.4909 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.764e-05/0.3979, allocations: 41.23 kB / 0.4909 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.3994, allocations: 0.7585 MB / 0.4917 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005012/0.4044, allocations: 2.838 MB / 0.4944 GB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.4054, allocations: 0.7455 MB / 0.4952 GB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.4055, allocations: 4.328 kB / 0.4952 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006704/0.4062, allocations: 377.1 kB / 0.4955 GB, free: 6.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.356e-06/0.4062, allocations: 0 / 0.4955 GB, free: 6.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002822/0.409, allocations: 1.244 MB / 0.4967 GB, free: 4.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.4091, allocations: 89.06 kB / 0.4968 GB, free: 4.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009271/0.41, allocations: 0.5089 MB / 0.4973 GB, free: 4.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.4101, allocations: 37.7 kB / 0.4974 GB, free: 4.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.4104, allocations: 355.9 kB / 0.4977 GB, free: 3.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.4106, allocations: 134.1 kB / 0.4978 GB, free: 3.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.4106, allocations: 4 kB / 0.4978 GB, free: 3.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4108, allocations: 370.8 kB / 0.4982 GB, free: 3.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.4111, allocations: 229 kB / 0.4984 GB, free: 3.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.4116, allocations: 348 kB / 0.4987 GB, free: 2.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.4121, allocations: 251.8 kB / 0.499 GB, free: 2.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4121, allocations: 0 / 0.499 GB, free: 2.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001262/0.4133, allocations: 0.7553 MB / 0.4997 GB, free: 1.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4134, allocations: 8 kB / 0.4997 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4134, allocations: 4 kB / 0.4997 GB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.4139, allocations: 209.3 kB / 0.4999 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.4143, allocations: 75.89 kB / 0.5 GB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.254/0.6683, allocations: 2.737 MB / 0.5027 GB, free: 95.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007485/0.6691, allocations: 60.06 kB / 0.5027 GB, free: 95.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.6692, allocations: 19.59 kB / 0.5027 GB, free: 95.21 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: 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 () * Number of clocked 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.0008157/0.67, allocations: 325.7 kB / 0.5031 GB, free: 95.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.6702, allocations: 53.72 kB / 0.5031 GB, free: 95.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.6704, allocations: 70.28 kB / 0.5032 GB, free: 95.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6704, allocations: 5.906 kB / 0.5032 GB, free: 95.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6704, allocations: 0 / 0.5032 GB, free: 95.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.6704, allocations: 3.359 kB / 0.5032 GB, free: 95.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.673, allocations: 1.524 MB / 0.5047 GB, free: 94.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6731, allocations: 5.391 kB / 0.5047 GB, free: 94.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.6734, allocations: 55.05 kB / 0.5047 GB, free: 94.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.6738, allocations: 198.4 kB / 0.5049 GB, free: 94.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.6739, allocations: 12.73 kB / 0.5049 GB, free: 94.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.6768, allocations: 2.712 MB / 0.5076 GB, free: 93.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6768, allocations: 0.5312 kB / 0.5076 GB, free: 93.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.6784, allocations: 1.124 MB / 0.5087 GB, free: 93.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.6787, allocations: 201.3 kB / 0.5089 GB, free: 93.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.6787, allocations: 3.875 kB / 0.5089 GB, free: 93.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.679, allocations: 33.42 kB / 0.5089 GB, free: 93.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.6792, allocations: 46.23 kB / 0.509 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.6792, allocations: 14.45 kB / 0.509 GB, free: 93.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004149/0.6796, allocations: 410.7 kB / 0.5094 GB, free: 93.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6796, allocations: 3.125 kB / 0.5094 GB, free: 93.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007219/0.6803, allocations: 200.7 kB / 0.5096 GB, free: 93.04 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: 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) * Number of clocked states: 0 () * 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.0001752/0.6805, allocations: 129.6 kB / 0.5097 GB, free: 92.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.6816, allocations: 0.7346 MB / 0.5104 GB, free: 92.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.6817, allocations: 0 / 0.5104 GB, free: 92.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.6822, allocations: 479.7 kB / 0.5108 GB, free: 92.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.6828, allocations: 133.6 kB / 0.511 GB, free: 92.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.6848, allocations: 1.698 MB / 0.5126 GB, free: 91.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.6853, allocations: 1.08 MB / 0.5137 GB, free: 90.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002614/0.6856, allocations: 98.84 kB / 0.5138 GB, free: 90.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.6857, allocations: 37.19 kB / 0.5138 GB, free: 90.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6857, allocations: 0 / 0.5138 GB, free: 90.71 MB / 378.7 MB Notification: Performance of Templates: time 0.0132/0.6989, allocations: 9.139 MB / 0.5227 GB, free: 88 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches