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.001704/0.001704, allocations: 112.8 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.001852/0.001851, 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.471/1.471, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001478, allocations: 51.92 kB / 350.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 49.42 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.005192/0.2861, allocations: 3.451 MB / 403.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.2878, allocations: 0.8374 MB / 404.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.2879, allocations: 4 kB / 404.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.2882, allocations: 67.3 kB / 404.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.2885, allocations: 126.8 kB / 404.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.2888, allocations: 139.8 kB / 404.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.2894, allocations: 0.5135 MB / 405.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.2897, allocations: 169.8 kB / 405.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.29, allocations: 195.3 kB / 405.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.2903, allocations: 219 kB / 406 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.2904, allocations: 44 kB / 406 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.2905, allocations: 44 kB / 406 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.2906, allocations: 107.6 kB / 406.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.2908, allocations: 242.8 kB / 406.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.2914, allocations: 0.5164 MB / 406.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2914, allocations: 0 / 406.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2914, allocations: 3.984 kB / 406.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.2914, 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.001272/0.2927, allocations: 0.7336 MB / 407.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2927, allocations: 15.89 kB / 407.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.2929, allocations: 74.66 kB / 407.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.357e-05/0.293, allocations: 56.59 kB / 407.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.2934, allocations: 344.5 kB / 408.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.2934, allocations: 33.31 kB / 408.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.2935, allocations: 40.38 kB / 408.2 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006691/0.2942, allocations: 391.8 kB / 408.6 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.2942, allocations: 11.94 kB / 408.6 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.2943, allocations: 12 kB / 408.6 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.2943, allocations: 12 kB / 408.6 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.2948, allocations: 255.9 kB / 408.9 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.297, allocations: 1.492 MB / 410.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.2974, allocations: 243.3 kB / 410.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.2978, allocations: 169.2 kB / 410.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.2978, allocations: 12.22 kB / 410.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/0.2983, allocations: 222.6 kB / 411 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.883e-06/0.2983, allocations: 0 / 411 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001589/0.2999, allocations: 0.5889 MB / 411.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/0.3, allocations: 114.8 kB / 411.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.3003, allocations: 292.5 kB / 412 MB, free: 12.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.3003, allocations: 33.7 kB / 412 MB, free: 12.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.3005, allocations: 220.7 kB / 412.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.416e-05/0.3006, allocations: 103.1 kB / 412.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3007, allocations: 66.08 kB / 412.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3009, allocations: 346.8 kB / 412.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.3011, allocations: 92.7 kB / 412.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.3014, allocations: 229.5 kB / 413 MB, free: 11.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.302, allocations: 326.7 kB / 413.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.302, 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.0007186/0.3027, allocations: 405.9 kB / 413.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3027, allocations: 10.66 kB / 413.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3027, allocations: 4 kB / 413.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003063/0.303, allocations: 89.14 kB / 413.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.3033, allocations: 59.91 kB / 413.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.3054, allocations: 2.002 MB / 415.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.3056, allocations: 43.75 kB / 416 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.3057, allocations: 19.94 kB / 416 MB, free: 8.465 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.0001985/0.3059, allocations: 169.8 kB / 416.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.3059, allocations: 35.8 kB / 416.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.816e-05/0.306, allocations: 39.09 kB / 416.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.306, allocations: 0 / 416.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.306, allocations: 4 kB / 416.2 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.306, allocations: 0 / 416.2 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.3067, allocations: 0.577 MB / 416.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3067, allocations: 0 / 416.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.3069, allocations: 32.02 kB / 416.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.3071, allocations: 80.75 kB / 416.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.3072, allocations: 7.984 kB / 416.9 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.3092, allocations: 1.987 MB / 418.9 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3092, allocations: 0 / 418.9 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.3101, allocations: 0.4951 MB / 419.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.3103, allocations: 136.8 kB / 419.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.3103, allocations: 12 kB / 419.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3105, allocations: 19.98 kB / 419.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.3106, allocations: 24.09 kB / 419.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3106, allocations: 11.98 kB / 419.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.3108, allocations: 211 kB / 419.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3109, allocations: 0 / 419.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.3113, allocations: 111.8 kB / 419.9 MB, free: 4.266 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.001359/0.3127, allocations: 1.057 MB / 421 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.3135, allocations: 430.2 kB / 421.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3136, allocations: 0 / 421.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.314, allocations: 284.5 kB / 421.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3144, allocations: 62.88 kB / 421.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.319, allocations: 3.42 MB / 425.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.3194, allocations: 0.8068 MB / 426 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.3196, allocations: 35.16 kB / 426 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.3198, allocations: 119.4 kB / 426.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3198, allocations: 0 / 426.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.3593, allocations: 8.269 MB / 434.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.22, allocations: 3.891 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