Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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 trunk/package.mo", uses=false) 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) 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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2836, allocations: 50.54 MB / 409.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004935/0.2886, allocations: 3.487 MB / 412.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.291, allocations: 0.923 MB / 413.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004803/0.2915, allocations: 11.94 kB / 413.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.2918, allocations: 67.3 kB / 413.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000555/0.2924, allocations: 130.8 kB / 413.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.293, allocations: 163.7 kB / 414 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007644/0.2938, allocations: 0.5175 MB / 414.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.2941, allocations: 177.8 kB / 414.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.2946, allocations: 203.2 kB / 414.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.295, allocations: 222.9 kB / 415.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.2951, allocations: 48 kB / 415.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.2952, allocations: 48 kB / 415.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.2954, allocations: 99.67 kB / 415.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.2956, allocations: 242.7 kB / 415.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006764/0.2963, allocations: 0.5446 MB / 416.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2963, allocations: 0 / 416.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2964, allocations: 0 / 416.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.2964, allocations: 4 kB / 416.1 MB, free: 10.84 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001605/0.298, allocations: 0.7452 MB / 416.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.2981, allocations: 16.02 kB / 416.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.2984, allocations: 68.64 kB / 417 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.299, allocations: 368.4 kB / 417.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.299, allocations: 29.38 kB / 417.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.2991, allocations: 40.38 kB / 417.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007229/0.2998, allocations: 396 kB / 417.8 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.2998, allocations: 4 kB / 417.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.2999, allocations: 16 kB / 417.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.2999, allocations: 8 kB / 417.8 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.3005, allocations: 263.8 kB / 418 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.3026, allocations: 1.488 MB / 419.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.3031, allocations: 249.6 kB / 419.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.3035, allocations: 177.2 kB / 420 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3035, allocations: 4.234 kB / 420 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003987/0.3039, allocations: 226 kB / 420.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 4.388e-06/0.304, allocations: 0 / 420.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001523/0.3055, allocations: 0.5889 MB / 420.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.3056, allocations: 122.7 kB / 420.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.3059, allocations: 308.5 kB / 421.2 MB, free: 5.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.306, allocations: 33.7 kB / 421.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3061, allocations: 224.7 kB / 421.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.383e-05/0.3062, allocations: 99.17 kB / 421.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.3063, allocations: 74.06 kB / 421.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3064, allocations: 346.8 kB / 422 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3066, allocations: 92.7 kB / 422 MB, free: 4.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.3069, allocations: 217.8 kB / 422.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.3074, allocations: 327.1 kB / 422.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3074, allocations: 0 / 422.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007437/0.3082, allocations: 419 kB / 423 MB, free: 3.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3082, allocations: 8 kB / 423 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3082, allocations: 4.5 kB / 423 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.3086, allocations: 88.8 kB / 423.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.3088, allocations: 55.91 kB / 423.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.3108, allocations: 1.991 MB / 425.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.311, allocations: 47.72 kB / 425.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.3111, allocations: 20 kB / 425.2 MB, free: 1.184 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (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.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002588/0.3113, allocations: 169.6 kB / 425.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.3114, allocations: 39.8 kB / 425.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.345e-05/0.3115, allocations: 39.95 kB / 425.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3115, allocations: 4 kB / 425.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3115, allocations: 3.984 kB / 425.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3115, allocations: 4 kB / 425.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/0.3122, allocations: 0.5849 MB / 426 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3122, allocations: 3.938 kB / 426 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.3124, allocations: 35.92 kB / 426.1 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/0.3127, allocations: 72.81 kB / 426.1 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.3127, allocations: 11.98 kB / 426.2 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.3146, allocations: 1.987 MB / 428.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3146, allocations: 96 / 428.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009096/0.3155, allocations: 0.4949 MB / 428.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.3157, allocations: 140.9 kB / 428.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.3157, allocations: 8 kB / 428.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3159, allocations: 15.98 kB / 428.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.316, allocations: 19.97 kB / 428.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.316, allocations: 15.98 kB / 428.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002392/0.3163, allocations: 219.1 kB / 429 MB, free: 13.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3163, allocations: 192 / 429 MB, free: 13.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005011/0.3168, allocations: 115.8 kB / 429.2 MB, free: 12.96 MB / 350.1 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.317, allocations: 133.2 kB / 429.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008288/0.3178, allocations: 411.5 kB / 429.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3178, allocations: 4.062 kB / 429.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.3183, allocations: 278.5 kB / 430 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3187, allocations: 71.72 kB / 430 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.32, allocations: 0.7309 MB / 430.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.3204, allocations: 0.823 MB / 431.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3205, allocations: 30.97 kB / 431.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.3206, allocations: 27.44 kB / 431.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3206, allocations: 7.938 kB / 431.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Templates: time 0.009936/0.3306, allocations: 4.915 MB / 436.6 MB, free: 5.555 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches