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/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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 112 kB / 17.06 MB, free: 5.973 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.001947/0.001947, allocations: 200 kB / 18.01 MB, free: 5.047 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.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001186, allocations: 51.94 kB / 350.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.296, allocations: 49.42 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005261/0.3013, allocations: 3.668 MB / 403.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3033, allocations: 1.005 MB / 404.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.3036, allocations: 19.88 kB / 404.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.3039, allocations: 107.1 kB / 405 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007409/0.3046, allocations: 230.7 kB / 405.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.3049, allocations: 147.7 kB / 405.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009828/0.3059, allocations: 0.9496 MB / 406.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007343/0.3067, allocations: 0.5887 MB / 407 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004576/0.3072, allocations: 414.5 kB / 407.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.3078, allocations: 498.1 kB / 407.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.3079, allocations: 100 kB / 407.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3081, allocations: 100 kB / 408 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.3083, allocations: 279.2 kB / 408.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004281/0.3088, allocations: 473.8 kB / 408.8 MB, free: 244 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.3099, allocations: 1.291 MB / 410.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3099, allocations: 0 / 410.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3099, allocations: 8 kB / 410.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.31, allocations: 0 / 410.1 MB, free: 14.94 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002129/0.3121, allocations: 1.184 MB / 411.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3122, allocations: 11.89 kB / 411.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.3123, allocations: 114.7 kB / 411.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.3125, allocations: 96.38 kB / 411.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/0.3134, allocations: 0.6471 MB / 412.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.3134, allocations: 53.25 kB / 412.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3136, allocations: 64 kB / 412.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.315, allocations: 0.9267 MB / 413.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.315, allocations: 0 / 413.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.959e-05/0.3151, allocations: 28 kB / 413.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.3151, allocations: 37.3 kB / 413.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3164, allocations: 0.7858 MB / 414 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.3202, allocations: 2.777 MB / 416.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.3211, allocations: 0.7524 MB / 417.5 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/0.3217, allocations: 344.8 kB / 417.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.3218, allocations: 8.312 kB / 417.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005994/0.3224, allocations: 385.8 kB / 418.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/0.3224, allocations: 0 / 418.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002738/0.3251, allocations: 1.236 MB / 419.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.3252, allocations: 106.8 kB / 419.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.3259, allocations: 0.5722 MB / 420.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.3259, allocations: 29.7 kB / 420.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.3262, allocations: 368.6 kB / 420.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.3263, allocations: 142.8 kB / 420.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3265, allocations: 90.25 kB / 420.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3266, allocations: 362.8 kB / 421.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.327, allocations: 221 kB / 421.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.3274, allocations: 361.7 kB / 421.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/0.3283, allocations: 0.5653 MB / 422.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3283, allocations: 0 / 422.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00121/0.3295, allocations: 0.7511 MB / 423 MB, free: 1.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3295, allocations: 11.98 kB / 423 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3295, allocations: 4.5 kB / 423.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005132/0.3301, allocations: 212.1 kB / 423.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.3304, allocations: 71.83 kB / 423.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/0.3338, allocations: 3.037 MB / 426.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.3342, allocations: 59.83 kB / 426.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.3342, allocations: 20 kB / 426.4 MB, free: 13.89 MB / 350.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: 12 (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.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].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 (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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004698/0.3347, allocations: 321.6 kB / 426.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-05/0.3348, allocations: 55.67 kB / 426.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.3349, allocations: 73.27 kB / 426.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3349, allocations: 4 kB / 426.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.3349, allocations: 7.938 kB / 426.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.335, allocations: 0 / 426.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.3375, allocations: 1.748 MB / 428.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3375, allocations: 0 / 428.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.3377, allocations: 47.97 kB / 428.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.3382, allocations: 192.7 kB / 428.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.3382, allocations: 11.98 kB / 428.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003045/0.3413, allocations: 2.918 MB / 431.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3413, allocations: 3.938 kB / 431.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.3431, allocations: 1.152 MB / 433 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.3434, allocations: 192.7 kB / 433.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.3435, allocations: 8 kB / 433.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.3438, allocations: 27.97 kB / 433.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.3439, allocations: 47.92 kB / 433.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.344, allocations: 12 kB / 433.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005421/0.3445, allocations: 414.8 kB / 433.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3445, allocations: 4 kB / 433.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007491/0.3453, allocations: 207.5 kB / 433.9 MB, free: 6.227 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: 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 (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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002079/0.3474, allocations: 1.706 MB / 435.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.3487, allocations: 0.741 MB / 436.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3487, allocations: 0 / 436.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006881/0.3494, allocations: 482.1 kB / 436.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.3502, allocations: 145.8 kB / 436.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00901/0.3592, allocations: 6.552 MB / 443.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.36, allocations: 1.078 MB / 444.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.3603, allocations: 96.72 kB / 444.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.3607, allocations: 239.4 kB / 444.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3607, allocations: 0 / 444.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/0.4055, allocations: 16.4 MB / 461.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.24, allocations: 8.453 kB / 461.3 MB, free: 10.86 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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