Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 115.8 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 185.5 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.255, allocations: 49.42 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005497/0.2606, allocations: 4.568 MB / 406 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.2627, allocations: 1.207 MB / 407.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004209/0.2632, allocations: 19.94 kB / 407.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.2636, allocations: 166.6 kB / 407.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.2647, allocations: 350 kB / 407.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.2651, allocations: 191.7 kB / 407.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.2668, allocations: 1.611 MB / 409.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.268, allocations: 1.096 MB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007463/0.2687, allocations: 0.6891 MB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.2697, allocations: 0.8523 MB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.27, allocations: 176 kB / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.2702, allocations: 179.9 kB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003503/0.2706, allocations: 478.7 kB / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006788/0.2713, allocations: 0.7894 MB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.273, allocations: 2.251 MB / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.273, allocations: 0 / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.273, allocations: 0 / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.273, allocations: 4 kB / 416 MB, free: 10.2 MB / 334.1 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.002818/0.2758, allocations: 1.763 MB / 417.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2759, allocations: 12.03 kB / 417.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.2761, allocations: 151.2 kB / 417.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.2774, allocations: 0.9774 MB / 418.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.2775, allocations: 82.44 kB / 419 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.2776, allocations: 108.1 kB / 419.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.2799, allocations: 1.557 MB / 420.7 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.28, allocations: 7.938 kB / 420.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.2801, allocations: 47.97 kB / 420.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/0.2801, allocations: 42.05 kB / 420.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.2824, allocations: 1.437 MB / 422.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006239/0.2886, allocations: 4.89 MB / 427.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.2902, allocations: 1.446 MB / 428.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.2913, allocations: 0.735 MB / 429.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.2914, allocations: 12.55 kB / 429.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009043/0.2923, allocations: 0.6084 MB / 429.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.124e-06/0.2923, allocations: 0 / 429.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.005628/0.298, allocations: 2.431 MB / 432.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.298, allocations: 93.75 kB / 432.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.2992, allocations: 0.9305 MB / 433.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.2993, allocations: 41.7 kB / 433.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.2997, allocations: 0.5269 MB / 433.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.2999, allocations: 236.7 kB / 434.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.3001, allocations: 130.6 kB / 434.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3003, allocations: 334 kB / 434.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.301, allocations: 413.6 kB / 435 MB, free: 6.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000769/0.3017, allocations: 0.5485 MB / 435.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.3032, allocations: 0.9543 MB / 436.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.3032, allocations: 3.938 kB / 436.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002179/0.3054, allocations: 1.288 MB / 437.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3054, allocations: 15.86 kB / 437.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3054, allocations: 4 kB / 437.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009044/0.3064, allocations: 404.1 kB / 438.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.3069, allocations: 115.8 kB / 438.3 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/0.3123, allocations: 4.503 MB / 442.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.313, allocations: 83.48 kB / 442.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/0.3131, allocations: 23.98 kB / 442.9 MB, free: 14.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0007435/0.3138, allocations: 493.5 kB / 443.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.3141, allocations: 98.81 kB / 443.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.3144, allocations: 120.5 kB / 443.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3144, allocations: 7.984 kB / 443.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.3144, allocations: 7.984 kB / 443.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3144, allocations: 0 / 443.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003928/0.3183, allocations: 2.587 MB / 446.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3184, allocations: 0 / 446.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.3188, allocations: 87.88 kB / 446.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007894/0.3196, allocations: 393.1 kB / 446.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.355e-05/0.3197, allocations: 19.88 kB / 446.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00508/0.3248, allocations: 4.464 MB / 451.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.3248, allocations: 7.984 kB / 451.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.3277, allocations: 1.955 MB / 453.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.3281, allocations: 279.9 kB / 453.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.3283, allocations: 12 kB / 453.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.3288, allocations: 47.94 kB / 453.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.329, allocations: 76.55 kB / 453.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.3291, allocations: 19.98 kB / 453.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009277/0.33, allocations: 0.6785 MB / 454.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.33, allocations: 0 / 454.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001022/0.3311, allocations: 350.8 kB / 454.6 MB, free: 2.535 MB / 366.1 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) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001861/0.3313, allocations: 135.1 kB / 454.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.3334, allocations: 1.279 MB / 456 MB, free: 1.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.3334, allocations: 4.875 kB / 456 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.3346, allocations: 0.8099 MB / 456.8 MB, free: 276 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.3358, allocations: 251 kB / 457 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.3405, allocations: 2.611 MB / 459.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.3415, allocations: 1.362 MB / 461 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.3418, allocations: 59.42 kB / 461.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3418, allocations: 0 / 461.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02728/0.3691, allocations: 22.06 MB / 483.1 MB, free: 5.938 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches