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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2741, allocations: 50.54 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005351/0.2795, allocations: 3.49 MB / 412.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.2815, allocations: 0.9308 MB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.2819, allocations: 7.938 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.2823, allocations: 71.3 kB / 413.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005183/0.2828, allocations: 130.8 kB / 413.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.2833, allocations: 159.8 kB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007513/0.2841, allocations: 0.5214 MB / 414.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.2844, allocations: 173.8 kB / 414.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004083/0.2849, allocations: 203.2 kB / 414.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003684/0.2852, allocations: 219 kB / 414.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.914e-05/0.2853, allocations: 48 kB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2855, allocations: 51.98 kB / 414.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.2856, allocations: 103.6 kB / 414.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.2859, allocations: 238.8 kB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.2865, allocations: 0.5398 MB / 415.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2865, allocations: 0 / 415.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2865, allocations: 0 / 415.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.2866, allocations: 4 kB / 415.6 MB, free: 10.62 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.001427/0.288, allocations: 0.7529 MB / 416.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2881, allocations: 12.03 kB / 416.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.165e-05/0.2882, allocations: 82.66 kB / 416.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.2885, allocations: 68.62 kB / 416.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.289, allocations: 360.4 kB / 416.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.289, allocations: 25.38 kB / 416.9 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.2891, allocations: 40.38 kB / 417 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/0.2898, allocations: 391.8 kB / 417.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.2898, allocations: 11.92 kB / 417.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.2899, allocations: 16 kB / 417.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2899, allocations: 11.94 kB / 417.4 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.2904, allocations: 259.8 kB / 417.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.2927, allocations: 1.488 MB / 419.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.2932, allocations: 247.3 kB / 419.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.2935, allocations: 173.2 kB / 419.5 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.2936, allocations: 8.219 kB / 419.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004128/0.294, allocations: 226 kB / 419.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.294, allocations: 0 / 419.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001535/0.2956, allocations: 0.5889 MB / 420.4 MB, free: 5.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.2957, allocations: 106.8 kB / 420.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.296, allocations: 316.4 kB / 420.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.296, allocations: 37.7 kB / 420.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.2962, allocations: 216.7 kB / 421 MB, free: 4.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.2963, allocations: 107.1 kB / 421.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.2964, allocations: 74.09 kB / 421.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2965, allocations: 346.8 kB / 421.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.2968, allocations: 92.64 kB / 421.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.297, allocations: 217.8 kB / 421.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.2975, allocations: 327.1 kB / 422.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.2975, allocations: 3.938 kB / 422.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007648/0.2983, allocations: 419.1 kB / 422.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.2983, allocations: 8.5 kB / 422.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.2984, allocations: 8 kB / 422.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.2987, allocations: 80.75 kB / 422.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.2989, allocations: 59.91 kB / 422.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.3009, allocations: 2.006 MB / 424.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.3012, allocations: 43.83 kB / 424.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.3012, allocations: 20 kB / 424.8 MB, free: 0.8711 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.0001944/0.3014, allocations: 169.6 kB / 425 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.3015, allocations: 35.81 kB / 425 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/0.3016, allocations: 39.95 kB / 425 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.3016, allocations: 4 kB / 425 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3016, allocations: 3.938 kB / 425 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3016, allocations: 3.984 kB / 425 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.3023, allocations: 0.5849 MB / 425.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3023, allocations: 0 / 425.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.3025, allocations: 27.98 kB / 425.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.3027, allocations: 76.69 kB / 425.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.3028, allocations: 11.98 kB / 425.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.3046, allocations: 1.991 MB / 427.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3046, allocations: 0 / 427.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/0.3055, allocations: 0.4989 MB / 428.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3056, allocations: 144.8 kB / 428.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.3057, allocations: 8 kB / 428.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.3059, allocations: 15.98 kB / 428.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.306, allocations: 23.91 kB / 428.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.306, allocations: 11.98 kB / 428.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.3062, allocations: 219.1 kB / 428.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3062, allocations: 0 / 428.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004966/0.3067, allocations: 115.8 kB / 428.8 MB, free: 12.65 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.001193/0.3079, allocations: 1.057 MB / 429.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008259/0.3088, allocations: 411 kB / 430.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3088, allocations: 256 / 430.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.3092, allocations: 286.5 kB / 430.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3096, allocations: 59.67 kB / 430.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.3143, allocations: 3.504 MB / 434.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.3147, allocations: 0.8114 MB / 434.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.3149, allocations: 39.14 kB / 434.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.3151, allocations: 127.4 kB / 435 MB, free: 6.086 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3151, allocations: 0 / 435 MB, free: 6.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.3464, allocations: 8.49 MB / 443.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.84, allocations: 11.12 kB / 443.5 MB, free: 13.86 MB / 366.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_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_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/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