Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 205.2 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.4 MB / 250 MB, free: 8.969 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.83 kB / 367.4 MB, free: 6.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2508, allocations: 53.3 MB / 420.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005889/0.2567, allocations: 4.616 MB / 425.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.2592, allocations: 1.312 MB / 426.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.2595, allocations: 23.88 kB / 426.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.2599, allocations: 174.6 kB / 426.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009008/0.2608, allocations: 362 kB / 427.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.2612, allocations: 207.7 kB / 427.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.2628, allocations: 1.623 MB / 429 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009916/0.2638, allocations: 0.8017 MB / 429.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008159/0.2646, allocations: 0.6969 MB / 430.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.2656, allocations: 0.8756 MB / 431.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002355/0.2659, allocations: 176 kB / 431.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.2661, allocations: 184 kB / 431.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.2665, allocations: 478.6 kB / 432.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007693/0.2673, allocations: 0.7971 MB / 433 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.2695, allocations: 2.285 MB / 435.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2695, allocations: 4 kB / 435.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2695, allocations: 0 / 435.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.2695, allocations: 0 / 435.3 MB, free: 9.789 MB / 350.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.003091/0.2726, allocations: 1.836 MB / 437.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2727, allocations: 8.031 kB / 437.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007139/0.2734, allocations: 215.8 kB / 437.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.2749, allocations: 1.04 MB / 438.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/0.2749, allocations: 78.44 kB / 438.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.2751, allocations: 116 kB / 438.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.2776, allocations: 1.549 MB / 440.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.2776, allocations: 3.938 kB / 440.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.2777, allocations: 44 kB / 440.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.2778, allocations: 46.03 kB / 440.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.2801, allocations: 1.425 MB / 441.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006644/0.2868, allocations: 4.915 MB / 446.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.2884, allocations: 1.388 MB / 447.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.2897, allocations: 0.6804 MB / 448.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.2897, allocations: 8.547 kB / 448.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009812/0.2907, allocations: 0.6161 MB / 449.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.354e-06/0.2907, allocations: 0 / 449.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.005747/0.2964, allocations: 2.435 MB / 451.6 MB, free: 8.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.2965, allocations: 89.75 kB / 451.7 MB, free: 8.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.2978, allocations: 0.9581 MB / 452.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.2978, allocations: 41.7 kB / 452.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000457/0.2983, allocations: 0.5474 MB / 453.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.2985, allocations: 246 kB / 453.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.2987, allocations: 130.6 kB / 453.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2989, allocations: 341.9 kB / 454 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/0.2996, allocations: 409.7 kB / 454.4 MB, free: 6.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008162/0.3004, allocations: 0.5485 MB / 454.9 MB, free: 5.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.3019, allocations: 0.9503 MB / 455.9 MB, free: 4.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3019, allocations: 3.938 kB / 455.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00214/0.304, allocations: 1.281 MB / 457.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.304, allocations: 8 kB / 457.2 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.304, allocations: 4 kB / 457.2 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009274/0.305, allocations: 407.1 kB / 457.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.3055, allocations: 111.8 kB / 457.7 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/0.3112, allocations: 4.505 MB / 462.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.3118, allocations: 83.64 kB / 462.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.3118, allocations: 27.98 kB / 462.3 MB, free: 13.92 MB / 382.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.0007404/0.3125, allocations: 499.1 kB / 462.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3127, allocations: 103.3 kB / 462.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.3129, allocations: 124.7 kB / 463 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3129, allocations: 8 kB / 463 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3129, allocations: 0 / 463 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.3129, allocations: 7.984 kB / 463 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.3169, allocations: 2.583 MB / 465.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3169, allocations: 0 / 465.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.3173, allocations: 80 kB / 465.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000852/0.3182, allocations: 396.5 kB / 466.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.3182, allocations: 23.92 kB / 466.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005862/0.3241, allocations: 4.475 MB / 470.6 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3241, allocations: 0 / 470.6 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.3271, allocations: 1.952 MB / 472.5 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.3275, allocations: 292.3 kB / 472.8 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.3277, allocations: 12 kB / 472.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.3281, allocations: 43.95 kB / 472.9 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.3283, allocations: 76.53 kB / 472.9 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.3283, allocations: 24 kB / 473 MB, free: 2.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009592/0.3293, allocations: 0.6941 MB / 473.7 MB, free: 2.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3293, allocations: 0 / 473.7 MB, free: 2.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001002/0.3303, allocations: 351.2 kB / 474 MB, free: 1.961 MB / 382.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.0002126/0.3305, allocations: 139.2 kB / 474.1 MB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.3328, allocations: 1.248 MB / 475.4 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3328, allocations: 0 / 475.4 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.3343, allocations: 0.7914 MB / 476.2 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3354, allocations: 250.7 kB / 476.4 MB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/0.341, allocations: 2.675 MB / 479.1 MB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.3424, allocations: 1.392 MB / 480.5 MB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005428/0.343, allocations: 175.4 kB / 480.7 MB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.3432, allocations: 63.42 kB / 480.7 MB, free: 11.14 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3432, allocations: 0 / 480.7 MB, free: 11.14 MB / 398.1 MB Notification: Performance of Templates: time 0.03417/0.3773, allocations: 18.72 MB / 499.4 MB, free: 8.652 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches