Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 114.2 kB / 17.06 MB, free: 5.969 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.001148/0.001148, allocations: 198.8 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 47.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2737, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004534/0.2783, allocations: 3.45 MB / 403.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.2799, allocations: 0.8257 MB / 404.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.2801, allocations: 11.94 kB / 404.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.2803, allocations: 67.31 kB / 404.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.2807, allocations: 130.9 kB / 404.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.281, allocations: 135.8 kB / 404.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.2815, allocations: 0.5213 MB / 405.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.2818, allocations: 161.9 kB / 405.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.282, allocations: 203.2 kB / 405.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.2823, allocations: 215 kB / 406 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-05/0.2824, allocations: 48 kB / 406 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.2824, allocations: 44 kB / 406 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-05/0.2825, allocations: 103.7 kB / 406.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.2827, allocations: 234.8 kB / 406.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.2833, allocations: 0.5281 MB / 406.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2833, allocations: 0 / 406.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2833, allocations: 0 / 406.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.2833, allocations: 0 / 406.9 MB, free: 2.145 MB / 318.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.001233/0.2845, allocations: 0.7366 MB / 407.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2846, allocations: 11.89 kB / 407.6 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.344e-05/0.2847, allocations: 82.7 kB / 407.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.2848, allocations: 56.61 kB / 407.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.2852, allocations: 348.5 kB / 408.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.2852, allocations: 33.31 kB / 408.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.2853, allocations: 40.36 kB / 408.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.2859, allocations: 399.7 kB / 408.6 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.2859, allocations: 4 kB / 408.6 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.286, allocations: 19.98 kB / 408.6 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.286, allocations: 8 kB / 408.6 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.2865, allocations: 259.8 kB / 408.9 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.2885, allocations: 1.484 MB / 410.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.2889, allocations: 243.4 kB / 410.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.2892, allocations: 173.1 kB / 410.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.2893, allocations: 4.234 kB / 410.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003734/0.2897, allocations: 230.6 kB / 411 MB, free: 13.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.2897, allocations: 0 / 411 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001448/0.2911, allocations: 0.5928 MB / 411.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.2912, allocations: 114.8 kB / 411.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.2915, allocations: 296.5 kB / 412 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.2916, allocations: 37.7 kB / 412 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.2917, allocations: 212.7 kB / 412.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.2918, allocations: 103.1 kB / 412.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2919, allocations: 74.06 kB / 412.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.292, allocations: 334.8 kB / 412.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.2922, allocations: 92.7 kB / 412.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.2925, allocations: 225.5 kB / 413 MB, free: 11.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.2929, allocations: 330.7 kB / 413.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.293, allocations: 3.938 kB / 413.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006859/0.2936, allocations: 413.9 kB / 413.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.2937, allocations: 8 kB / 413.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.2937, allocations: 4 kB / 413.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.294, allocations: 76.81 kB / 413.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2943, allocations: 64.25 kB / 413.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.2962, allocations: 1.998 MB / 415.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.2964, allocations: 31.78 kB / 416 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.2964, allocations: 23.94 kB / 416 MB, free: 8.469 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.0001815/0.2966, allocations: 165.7 kB / 416.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.2967, allocations: 39.88 kB / 416.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/0.2968, allocations: 43.03 kB / 416.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.2968, allocations: 8.031 kB / 416.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.2968, allocations: 0 / 416.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2968, allocations: 0 / 416.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.2974, allocations: 0.5732 MB / 416.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2974, allocations: 0 / 416.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.2976, allocations: 35.92 kB / 416.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.2978, allocations: 80.83 kB / 416.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.2978, allocations: 8 kB / 416.9 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.2995, allocations: 1.987 MB / 418.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2995, allocations: 0 / 418.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008511/0.3004, allocations: 0.495 MB / 419.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3005, allocations: 140.8 kB / 419.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.3006, allocations: 4 kB / 419.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.3008, allocations: 15.98 kB / 419.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.3009, allocations: 31.95 kB / 419.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.3009, allocations: 12 kB / 419.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.3011, allocations: 203.1 kB / 419.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3011, allocations: 0 / 419.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.3016, allocations: 119.8 kB / 419.9 MB, free: 4.262 MB / 334.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.0012/0.3028, allocations: 1.054 MB / 421 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007591/0.3035, allocations: 426.2 kB / 421.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3036, allocations: 0 / 421.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.304, allocations: 276.5 kB / 421.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3043, allocations: 79.75 kB / 421.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.3085, allocations: 3.41 MB / 425.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.3089, allocations: 0.8106 MB / 426 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.3091, allocations: 30.97 kB / 426 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.3093, allocations: 127.4 kB / 426.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3093, allocations: 0 / 426.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.3399, allocations: 8.261 MB / 434.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12, allocations: 4.422 kB / 434.4 MB, free: 5.824 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches