Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 180 kB / 17.01 MB, free: 5.121 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.693/1.693, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009052/0.0009054, allocations: 96.09 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003155, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2936, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.4021, allocations: 84.03 MB / 459.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.4024, allocations: 91.94 kB / 459.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05332/0.4558, allocations: 21.1 MB / 481 MB, free: 7.258 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4558, allocations: 0 / 481 MB, free: 7.258 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.602e-05/0.4559, allocations: 28 kB / 481.1 MB, free: 7.23 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002793/0.4587, allocations: 1.54 MB / 482.6 MB, free: 5.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4587, allocations: 8.031 kB / 482.6 MB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.459, allocations: 154.2 kB / 482.8 MB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.4606, allocations: 0.957 MB / 483.7 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.4607, allocations: 78.03 kB / 483.8 MB, free: 4.391 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.4608, allocations: 107.9 kB / 483.9 MB, free: 4.285 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.4632, allocations: 1.524 MB / 485.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.4632, allocations: 0 / 485.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.4633, allocations: 48 kB / 485.5 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-05/0.4634, allocations: 46.02 kB / 485.5 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.4656, allocations: 1.378 MB / 486.9 MB, free: 1.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006913/0.4725, allocations: 4.977 MB / 491.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.4742, allocations: 1.466 MB / 493.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.43e-05/0.4743, allocations: 8.562 kB / 493.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009827/0.4753, allocations: 0.6189 MB / 494 MB, free: 9.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 3.526e-06/0.4753, allocations: 7.938 kB / 494 MB, free: 9.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.005726/0.481, allocations: 2.455 MB / 496.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.4811, allocations: 93.77 kB / 496.5 MB, free: 7.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.4824, allocations: 0.8398 MB / 497.4 MB, free: 6.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/0.4824, allocations: 41.7 kB / 497.4 MB, free: 6.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/0.4829, allocations: 0.5076 MB / 497.9 MB, free: 5.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.4831, allocations: 236.6 kB / 498.1 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.4832, allocations: 16 kB / 498.2 MB, free: 5.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4833, allocations: 333.9 kB / 498.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006866/0.484, allocations: 421.7 kB / 498.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008006/0.4848, allocations: 0.5515 MB / 499.5 MB, free: 4.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007523/0.4856, allocations: 449.9 kB / 499.9 MB, free: 3.762 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4856, allocations: 0 / 499.9 MB, free: 3.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00216/0.4878, allocations: 1.288 MB / 0.4894 GB, free: 2.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.4878, allocations: 15.89 kB / 0.4894 GB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4878, allocations: 4 kB / 0.4895 GB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00092/0.4888, allocations: 395.1 kB / 0.4898 GB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.4893, allocations: 107.9 kB / 0.4899 GB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2321/0.7214, allocations: 4.259 MB / 0.4941 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.7225, allocations: 83.08 kB / 0.4942 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/0.7225, allocations: 32.58 kB / 0.4942 GB, free: 101.3 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: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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 () * Number of clocked 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.001159/0.7237, allocations: 498.2 kB / 0.4947 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.7239, allocations: 92.12 kB / 0.4948 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.7242, allocations: 116.3 kB / 0.4949 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.7242, allocations: 6.938 kB / 0.4949 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7242, allocations: 4.672 kB / 0.4949 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.7242, allocations: 7.422 kB / 0.4949 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004381/0.7286, allocations: 2.577 MB / 0.4974 GB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.7286, allocations: 4.953 kB / 0.4974 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.7291, allocations: 90.06 kB / 0.4975 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008605/0.73, allocations: 389.1 kB / 0.4979 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.73, allocations: 12.81 kB / 0.4979 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005065/0.7351, allocations: 4.216 MB / 0.502 GB, free: 99.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7351, allocations: 0 / 0.502 GB, free: 99.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.738, allocations: 1.981 MB / 0.5039 GB, free: 98.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006063/0.7386, allocations: 289.5 kB / 0.5042 GB, free: 98.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.7387, allocations: 13.38 kB / 0.5042 GB, free: 98.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.7392, allocations: 54.17 kB / 0.5043 GB, free: 98.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.7394, allocations: 74.88 kB / 0.5043 GB, free: 98.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.7394, allocations: 22.91 kB / 0.5044 GB, free: 98.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008504/0.7403, allocations: 0.6649 MB / 0.505 GB, free: 98.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7403, allocations: 3.75 kB / 0.505 GB, free: 98.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001094/0.7414, allocations: 348.9 kB / 0.5054 GB, free: 98.01 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: 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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 (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.0001767/0.7416, allocations: 124.9 kB / 0.5055 GB, free: 97.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.7437, allocations: 1.289 MB / 0.5067 GB, free: 97.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7437, allocations: 0 / 0.5067 GB, free: 97.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.7448, allocations: 0.8173 MB / 0.5075 GB, free: 97.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008408/0.7456, allocations: 234.9 kB / 0.5078 GB, free: 96.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.7499, allocations: 3.047 MB / 0.5107 GB, free: 95.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007173/0.7506, allocations: 1.41 MB / 0.5121 GB, free: 94.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004732/0.7511, allocations: 168.8 kB / 0.5123 GB, free: 94.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.7513, allocations: 62.94 kB / 0.5123 GB, free: 94.65 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.7513, allocations: 0 / 0.5123 GB, free: 94.65 MB / 378.7 MB Notification: Performance of Templates: time 0.0231/0.7744, allocations: 16.44 MB / 0.5284 GB, free: 85.54 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches